Changes in libcfa/configure [107b01a:e523b07]
- File:
-
- 1 edited
-
libcfa/configure (modified) (41 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
r107b01a re523b07 198 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 199 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" 210 201 if (eval "$as_required") 2>/dev/null; then : 211 202 as_have_required=yes … … 565 556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 557 567 SHELL=${CONFIG_SHELL-/bin/sh}568 569 558 570 559 test -n "$DJDIR" || exec 7<&0 </dev/null … … 596 585 PACKAGE_URL='' 597 586 598 # Factoring default headers for most tests.599 ac_includes_default="\600 #include <stdio.h>601 #ifdef HAVE_SYS_TYPES_H602 # include <sys/types.h>603 #endif604 #ifdef HAVE_SYS_STAT_H605 # include <sys/stat.h>606 #endif607 #ifdef STDC_HEADERS608 # include <stdlib.h>609 # include <stddef.h>610 #else611 # ifdef HAVE_STDLIB_H612 # include <stdlib.h>613 # endif614 #endif615 #ifdef HAVE_STRING_H616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H617 # include <memory.h>618 # endif619 # include <string.h>620 #endif621 #ifdef HAVE_STRINGS_H622 # include <strings.h>623 #endif624 #ifdef HAVE_INTTYPES_H625 # include <inttypes.h>626 #endif627 #ifdef HAVE_STDINT_H628 # include <stdint.h>629 #endif630 #ifdef HAVE_UNISTD_H631 # include <unistd.h>632 #endif"633 634 587 ac_subst_vars='am__EXEEXT_FALSE 635 588 am__EXEEXT_TRUE 636 589 LTLIBOBJS 637 590 LIBOBJS 591 RANLIB 638 592 am__fastdepCCAS_FALSE 639 593 am__fastdepCCAS_TRUE … … 641 595 CCASFLAGS 642 596 CCAS 643 CXXCPP 597 am__fastdepCC_FALSE 598 am__fastdepCC_TRUE 599 CCDEPMODE 600 ac_ct_CC 601 CFLAGS 602 CC 644 603 am__fastdepCXX_FALSE 645 604 am__fastdepCXX_TRUE 646 605 CXXDEPMODE 647 ac_ct_CXX648 CXXFLAGS649 CXX650 CPP651 LT_SYS_LIBRARY_PATH652 OTOOL64653 OTOOL654 LIPO655 NMEDIT656 DSYMUTIL657 MANIFEST_TOOL658 RANLIB659 ac_ct_AR660 AR661 DLLTOOL662 OBJDUMP663 LN_S664 NM665 ac_ct_DUMPBIN666 DUMPBIN667 LD668 FGREP669 EGREP670 GREP671 SED672 am__fastdepCC_FALSE673 am__fastdepCC_TRUE674 CCDEPMODE675 606 am__nodep 676 607 AMDEPBACKSLASH … … 682 613 OBJEXT 683 614 EXEEXT 684 ac_ct_C C615 ac_ct_CXX 685 616 CPPFLAGS 686 617 LDFLAGS 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 618 CXXFLAGS 619 CXX 698 620 CFA_LIBDIR 699 621 CFA_BINDIR … … 709 631 CFACPP 710 632 CFACC 711 CFA_VERSION712 633 DRIVER_DIR 713 634 CONFIGURATION … … 784 705 enable_silent_rules 785 706 with_cfa_name 786 enable_shared787 enable_static788 with_pic789 enable_fast_install790 with_aix_soname791 707 enable_dependency_tracking 792 with_gnu_ld793 with_sysroot794 enable_libtool_lock795 708 ' 796 709 ac_precious_vars='build_alias … … 800 713 CONFIGURATION 801 714 DRIVER_DIR 802 CFA_VERSION 803 CC 804 CFLAGS 715 CXX 716 CXXFLAGS 805 717 LDFLAGS 806 718 LIBS 807 719 CPPFLAGS 808 LT_SYS_LIBRARY_PATH809 CPP810 CXX811 CXXFLAGS812 720 CCC 813 CXXCPP 721 CC 722 CFLAGS 814 723 CCAS 815 724 CCASFLAGS' … … 1426 1335 --program-suffix=SUFFIX append SUFFIX to installed program names 1427 1336 --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]1432 1337 _ACEOF 1433 1338 fi … … 1445 1350 --enable-silent-rules less verbose build output (undo: "make V=1") 1446 1351 --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]1451 1352 --enable-dependency-tracking 1452 1353 do not reject slow dependency extractors 1453 1354 --disable-dependency-tracking 1454 1355 speeds up one-time build 1455 --disable-libtool-lock avoid locking (might break parallel builds)1456 1356 1457 1357 Optional Packages: … … 1459 1359 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1460 1360 --with-cfa-name=NAME NAME too which cfa will be installed 1461 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use1462 both]1463 --with-aix-soname=aix|svr4|both1464 shared library versioning (aka "SONAME") variant to1465 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 the1468 compiler's sysroot if not specified).1469 1361 1470 1362 Some influential environment variables: … … 1475 1367 deubg, nodebug, nolib (prelude-only) 1476 1368 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 1480 1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1481 1372 nonstandard directory <lib dir> … … 1483 1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1484 1375 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 1491 1378 CCAS assembler compiler command (defaults to CC) 1492 1379 CCASFLAGS assembler compiler flags (defaults to CFLAGS) … … 1571 1458 ## Autoconf initialization. ## 1572 1459 ## ------------------------ ## 1460 1461 # ac_fn_cxx_try_compile LINENO 1462 # ---------------------------- 1463 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1464 ac_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" 1469 case "(($ac_try" in 1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1471 *) ac_try_echo=$ac_try;; 1472 esac 1473 eval 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 1488 else 1489 $as_echo "$as_me: failed program was:" >&5 1490 sed 's/^/| /' conftest.$ac_ext >&5 1491 1492 ac_retval=1 1493 fi 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 1573 1498 1574 1499 # ac_fn_c_try_compile LINENO … … 1609 1534 1610 1535 } # ac_fn_c_try_compile 1611 1612 # ac_fn_c_try_link LINENO1613 # -----------------------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_stack1618 rm -f conftest.$ac_objext conftest$ac_exeext1619 if { { ac_try="$ac_link"1620 case "(($ac_try" in1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1622 *) ac_try_echo=$ac_try;;1623 esac1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1625 $as_echo "$ac_try_echo"; } >&51626 (eval "$ac_link") 2>conftest.err1627 ac_status=$?1628 if test -s conftest.err; then1629 grep -v '^ *+' conftest.err >conftest.er11630 cat conftest.er1 >&51631 mv -f conftest.er1 conftest.err1632 fi1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51634 test $ac_status = 0; } && {1635 test -z "$ac_c_werror_flag" ||1636 test ! -s conftest.err1637 } && test -s conftest$ac_exeext && {1638 test "$cross_compiling" = yes ||1639 test -x conftest$ac_exeext1640 }; then :1641 ac_retval=01642 else1643 $as_echo "$as_me: failed program was:" >&51644 sed 's/^/| /' conftest.$ac_ext >&51645 1646 ac_retval=11647 fi1648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1650 # interfere with the next link command; also delete a directory that is1651 # left behind by Apple's compiler. We do this before executing the actions.1652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1654 as_fn_set_status $ac_retval1655 1656 } # ac_fn_c_try_link1657 1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1659 # -------------------------------------------------------1660 # Tests whether HEADER exists and can be compiled using the include files in1661 # 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_stack1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51666 $as_echo_n "checking for $2... " >&6; }1667 if eval \${$3+:} false; then :1668 $as_echo_n "(cached) " >&61669 else1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1671 /* end confdefs.h. */1672 $41673 #include <$2>1674 _ACEOF1675 if ac_fn_c_try_compile "$LINENO"; then :1676 eval "$3=yes"1677 else1678 eval "$3=no"1679 fi1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1681 fi1682 eval ac_res=\$$31683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51684 $as_echo "$ac_res" >&6; }1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1686 1687 } # ac_fn_c_check_header_compile1688 1689 # ac_fn_c_try_cpp LINENO1690 # ----------------------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_stack1695 if { { ac_try="$ac_cpp conftest.$ac_ext"1696 case "(($ac_try" in1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1698 *) ac_try_echo=$ac_try;;1699 esac1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1701 $as_echo "$ac_try_echo"; } >&51702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1703 ac_status=$?1704 if test -s conftest.err; then1705 grep -v '^ *+' conftest.err >conftest.er11706 cat conftest.er1 >&51707 mv -f conftest.er1 conftest.err1708 fi1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51710 test $ac_status = 0; } > conftest.i && {1711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1712 test ! -s conftest.err1713 }; then :1714 ac_retval=01715 else1716 $as_echo "$as_me: failed program was:" >&51717 sed 's/^/| /' conftest.$ac_ext >&51718 1719 ac_retval=11720 fi1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1722 as_fn_set_status $ac_retval1723 1724 } # ac_fn_c_try_cpp1725 1726 # ac_fn_c_try_run LINENO1727 # ----------------------1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1729 # 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_stack1733 if { { ac_try="$ac_link"1734 case "(($ac_try" in1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1736 *) ac_try_echo=$ac_try;;1737 esac1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1739 $as_echo "$ac_try_echo"; } >&51740 (eval "$ac_link") 2>&51741 ac_status=$?1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51743 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1744 { { case "(($ac_try" in1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1746 *) ac_try_echo=$ac_try;;1747 esac1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1749 $as_echo "$ac_try_echo"; } >&51750 (eval "$ac_try") 2>&51751 ac_status=$?1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51753 test $ac_status = 0; }; }; then :1754 ac_retval=01755 else1756 $as_echo "$as_me: program exited with status $ac_status" >&51757 $as_echo "$as_me: failed program was:" >&51758 sed 's/^/| /' conftest.$ac_ext >&51759 1760 ac_retval=$ac_status1761 fi1762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1764 as_fn_set_status $ac_retval1765 1766 } # ac_fn_c_try_run1767 1768 # ac_fn_c_check_func LINENO FUNC VAR1769 # ----------------------------------1770 # Tests whether FUNC exists, setting the cache variable VAR accordingly1771 ac_fn_c_check_func ()1772 {1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51775 $as_echo_n "checking for $2... " >&6; }1776 if eval \${$3+:} false; then :1777 $as_echo_n "(cached) " >&61778 else1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1780 /* 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_$21784 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, since1788 <limits.h> exists even on freestanding compilers. */1789 1790 #ifdef __STDC__1791 # include <limits.h>1792 #else1793 # include <assert.h>1794 #endif1795 1796 #undef $21797 1798 /* Override any GCC internal prototype to avoid an error.1799 Use char because int might match the return type of a GCC1800 builtin and then its argument prototype would still apply. */1801 #ifdef __cplusplus1802 extern "C"1803 #endif1804 char $2 ();1805 /* The GNU C library defines this for functions which it implements1806 to always fail with ENOSYS. Some functions are actually named1807 something starting with __ and the normal name is an alias. */1808 #if defined __stub_$2 || defined __stub___$21809 choke me1810 #endif1811 1812 int1813 main ()1814 {1815 return $2 ();1816 ;1817 return 0;1818 }1819 _ACEOF1820 if ac_fn_c_try_link "$LINENO"; then :1821 eval "$3=yes"1822 else1823 eval "$3=no"1824 fi1825 rm -f core conftest.err conftest.$ac_objext \1826 conftest$ac_exeext conftest.$ac_ext1827 fi1828 eval ac_res=\$$31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51830 $as_echo "$ac_res" >&6; }1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1832 1833 } # ac_fn_c_check_func1834 1835 # ac_fn_cxx_try_compile LINENO1836 # ----------------------------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_stack1841 rm -f conftest.$ac_objext1842 if { { ac_try="$ac_compile"1843 case "(($ac_try" in1844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1845 *) ac_try_echo=$ac_try;;1846 esac1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1848 $as_echo "$ac_try_echo"; } >&51849 (eval "$ac_compile") 2>conftest.err1850 ac_status=$?1851 if test -s conftest.err; then1852 grep -v '^ *+' conftest.err >conftest.er11853 cat conftest.er1 >&51854 mv -f conftest.er1 conftest.err1855 fi1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51857 test $ac_status = 0; } && {1858 test -z "$ac_cxx_werror_flag" ||1859 test ! -s conftest.err1860 } && test -s conftest.$ac_objext; then :1861 ac_retval=01862 else1863 $as_echo "$as_me: failed program was:" >&51864 sed 's/^/| /' conftest.$ac_ext >&51865 1866 ac_retval=11867 fi1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1869 as_fn_set_status $ac_retval1870 1871 } # ac_fn_cxx_try_compile1872 1873 # ac_fn_cxx_try_cpp LINENO1874 # ------------------------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_stack1879 if { { ac_try="$ac_cpp conftest.$ac_ext"1880 case "(($ac_try" in1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1882 *) ac_try_echo=$ac_try;;1883 esac1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1885 $as_echo "$ac_try_echo"; } >&51886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1887 ac_status=$?1888 if test -s conftest.err; then1889 grep -v '^ *+' conftest.err >conftest.er11890 cat conftest.er1 >&51891 mv -f conftest.er1 conftest.err1892 fi1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51894 test $ac_status = 0; } > conftest.i && {1895 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||1896 test ! -s conftest.err1897 }; then :1898 ac_retval=01899 else1900 $as_echo "$as_me: failed program was:" >&51901 sed 's/^/| /' conftest.$ac_ext >&51902 1903 ac_retval=11904 fi1905 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1906 as_fn_set_status $ac_retval1907 1908 } # ac_fn_cxx_try_cpp1909 1910 # ac_fn_cxx_try_link LINENO1911 # -------------------------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_stack1916 rm -f conftest.$ac_objext conftest$ac_exeext1917 if { { ac_try="$ac_link"1918 case "(($ac_try" in1919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1920 *) ac_try_echo=$ac_try;;1921 esac1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1923 $as_echo "$ac_try_echo"; } >&51924 (eval "$ac_link") 2>conftest.err1925 ac_status=$?1926 if test -s conftest.err; then1927 grep -v '^ *+' conftest.err >conftest.er11928 cat conftest.er1 >&51929 mv -f conftest.er1 conftest.err1930 fi1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51932 test $ac_status = 0; } && {1933 test -z "$ac_cxx_werror_flag" ||1934 test ! -s conftest.err1935 } && test -s conftest$ac_exeext && {1936 test "$cross_compiling" = yes ||1937 test -x conftest$ac_exeext1938 }; then :1939 ac_retval=01940 else1941 $as_echo "$as_me: failed program was:" >&51942 sed 's/^/| /' conftest.$ac_ext >&51943 1944 ac_retval=11945 fi1946 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1947 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1948 # interfere with the next link command; also delete a directory that is1949 # left behind by Apple's compiler. We do this before executing the actions.1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno1952 as_fn_set_status $ac_retval1953 1954 } # ac_fn_cxx_try_link1955 1536 cat >config.log <<_ACEOF 1956 1537 This file contains any messages produced by compilers while … … 2306 1887 2307 1888 ac_aux_dir= 2308 for ac_dir in automake "$srcdir"/automake; do1889 for ac_dir in ./automake "$srcdir"/./automake; do 2309 1890 if test -f "$ac_dir/install-sh"; then 2310 1891 ac_aux_dir=$ac_dir … … 2322 1903 done 2323 1904 if test -z "$ac_aux_dir"; then 2324 as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 51905 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5 2325 1906 fi 2326 1907 … … 2332 1913 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2333 1914 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2334 2335 1915 2336 1916 … … 2927 2507 : ${CFLAGS=""} 2928 2508 2929 # define this to override2930 AR_FLAGS="cr"2931 2932 2509 # Allow program name tansformation 2933 2510 # will fill program_transform_name with appropriate sed regex … … 2938 2515 2939 2516 2940 2941 2517 CFACC=${DRIVER_DIR}cfa 2942 2518 CFACPP=${DRIVER_DIR}cfa-cpp 2943 2944 2519 2945 2520 … … 2971 2546 CONFIG_BUILDLIB="no" 2972 2547 ;; 2973 *)2974 as_fn_error $? "'Invalid value $CONFIGURATION for \$CONFIGURATION'" "$LINENO" 52975 ;;2976 2548 esac 2977 2549 … … 3076 2648 3077 2649 # Checks for programs. 3078 case `pwd` in 3079 *\ * | *\ *) 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3081 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3082 esac 3083 3084 3085 3086 macro_version='2.4.6' 3087 macro_revision='2.4.6' 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 ltmain=$ac_aux_dir/ltmain.sh 3102 3103 # Make sure we can run config.sub. 3104 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3105 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3106 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3108 $as_echo_n "checking build system type... " >&6; } 3109 if ${ac_cv_build+:} false; then : 3110 $as_echo_n "(cached) " >&6 3111 else 3112 ac_build_alias=$build_alias 3113 test "x$ac_build_alias" = x && 3114 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3115 test "x$ac_build_alias" = x && 3116 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3117 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3118 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3119 3120 fi 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3122 $as_echo "$ac_cv_build" >&6; } 3123 case $ac_cv_build in 3124 *-*-*) ;; 3125 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3126 esac 3127 build=$ac_cv_build 3128 ac_save_IFS=$IFS; IFS='-' 3129 set x $ac_cv_build 3130 shift 3131 build_cpu=$1 3132 build_vendor=$2 3133 shift; shift 3134 # Remember, the first character of IFS is used to create $*, 3135 # except with old shells: 3136 build_os=$* 3137 IFS=$ac_save_IFS 3138 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3139 3140 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3142 $as_echo_n "checking host system type... " >&6; } 3143 if ${ac_cv_host+:} false; then : 3144 $as_echo_n "(cached) " >&6 3145 else 3146 if test "x$host_alias" = x; then 3147 ac_cv_host=$ac_cv_build 3148 else 3149 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3150 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3151 fi 3152 3153 fi 3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3155 $as_echo "$ac_cv_host" >&6; } 3156 case $ac_cv_host in 3157 *-*-*) ;; 3158 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3159 esac 3160 host=$ac_cv_host 3161 ac_save_IFS=$IFS; IFS='-' 3162 set x $ac_cv_host 3163 shift 3164 host_cpu=$1 3165 host_vendor=$2 3166 shift; shift 3167 # Remember, the first character of IFS is used to create $*, 3168 # except with old shells: 3169 host_os=$* 3170 IFS=$ac_save_IFS 3171 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3172 3173 3174 # Backslashify metacharacters that are still active within 3175 # double-quoted strings. 3176 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3177 3178 # Same as above, but do not quote variable references. 3179 double_quote_subst='s/\(["`\\]\)/\\\1/g' 3180 3181 # Sed substitution to delay expansion of an escaped shell variable in a 3182 # double_quote_subst'ed string. 3183 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3184 3185 # Sed substitution to delay expansion of an escaped single quote. 3186 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3187 3188 # Sed substitution to avoid accidental globbing in evaled expressions 3189 no_glob_subst='s/\*/\\\*/g' 3190 3191 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3193 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3194 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3196 $as_echo_n "checking how to print strings... " >&6; } 3197 # Test print first, because it will be a builtin if present. 3198 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3199 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3200 ECHO='print -r --' 3201 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3202 ECHO='printf %s\n' 3203 else 3204 # Use this function as a fallback that always works. 3205 func_fallback_echo () 3206 { 3207 eval 'cat <<_LTECHO_EOF 3208 $1 3209 _LTECHO_EOF' 3210 } 3211 ECHO='func_fallback_echo' 3212 fi 3213 3214 # func_echo_all arg... 3215 # Invoke $ECHO with all args, space-separated. 3216 func_echo_all () 3217 { 3218 $ECHO "" 3219 } 3220 3221 case $ECHO in 3222 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3223 $as_echo "printf" >&6; } ;; 3224 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3225 $as_echo "print -r" >&6; } ;; 3226 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3227 $as_echo "cat" >&6; } ;; 3228 esac 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 DEPDIR="${am__leading_dot}deps" 3244 3245 ac_config_commands="$ac_config_commands depfiles" 3246 3247 3248 am_make=${MAKE-make} 3249 cat > confinc << 'END' 3250 am__doit: 3251 @echo this is the am__doit target 3252 .PHONY: am__doit 3253 END 3254 # If we don't find an include directive, just comment out the code. 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3256 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3257 am__include="#" 3258 am__quote= 3259 _am_result=none 3260 # First try GNU make style include. 3261 echo "include confinc" > confmf 3262 # Ignore all kinds of additional output from 'make'. 3263 case `$am_make -s -f confmf 2> /dev/null` in #( 3264 *the\ am__doit\ target*) 3265 am__include=include 3266 am__quote= 3267 _am_result=GNU 3268 ;; 3269 esac 3270 # Now try BSD make style include. 3271 if test "$am__include" = "#"; then 3272 echo '.include "confinc"' > confmf 3273 case `$am_make -s -f confmf 2> /dev/null` in #( 3274 *the\ am__doit\ target*) 3275 am__include=.include 3276 am__quote="\"" 3277 _am_result=BSD 3278 ;; 3279 esac 3280 fi 3281 3282 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3284 $as_echo "$_am_result" >&6; } 3285 rm -f confinc confmf 3286 3287 # Check whether --enable-dependency-tracking was given. 3288 if test "${enable_dependency_tracking+set}" = set; then : 3289 enableval=$enable_dependency_tracking; 3290 fi 3291 3292 if test "x$enable_dependency_tracking" != xno; then 3293 am_depcomp="$ac_aux_dir/depcomp" 3294 AMDEPBACKSLASH='\' 3295 am__nodep='_no' 3296 fi 3297 if test "x$enable_dependency_tracking" != xno; then 3298 AMDEP_TRUE= 3299 AMDEP_FALSE='#' 3300 else 3301 AMDEP_TRUE='#' 3302 AMDEP_FALSE= 3303 fi 3304 3305 3306 ac_ext=c 3307 ac_cpp='$CPP $CPPFLAGS' 3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3311 if test -n "$ac_tool_prefix"; then 3312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3313 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2650 ac_ext=cpp 2651 ac_cpp='$CXXCPP $CPPFLAGS' 2652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2655 if 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. 2663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3314 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3315 2665 $as_echo_n "checking for $ac_word... " >&6; } 3316 if ${ac_cv_prog_C C+:} false; then :2666 if ${ac_cv_prog_CXX+:} false; then : 3317 2667 $as_echo_n "(cached) " >&6 3318 2668 else 3319 if test -n "$C C"; then3320 ac_cv_prog_C C="$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. 3321 2671 else 3322 2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3327 2677 for ac_exec_ext in '' $ac_executable_extensions; do 3328 2678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3329 ac_cv_prog_C C="${ac_tool_prefix}gcc"2679 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3330 2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3331 2681 break 2 … … 3337 2687 fi 3338 2688 fi 3339 C C=$ac_cv_prog_CC3340 if test -n "$C C"; then3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $C C" >&53342 $as_echo "$C C" >&6; }2689 CXX=$ac_cv_prog_CXX 2690 if test -n "$CXX"; then 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2692 $as_echo "$CXX" >&6; } 3343 2693 else 3344 2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 3347 2697 3348 2698 3349 fi 3350 if test -z "$ac_cv_prog_CC"; then 3351 ac_ct_CC=$CC 3352 # Extract the first word of "gcc", so it can be a program name with args. 3353 set dummy gcc; ac_word=$2 2699 test -n "$CXX" && break 2700 done 2701 fi 2702 if 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 2705 do 2706 # Extract the first word of "$ac_prog", so it can be a program name with args. 2707 set dummy $ac_prog; ac_word=$2 3354 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3355 2709 $as_echo_n "checking for $ac_word... " >&6; } 3356 if ${ac_cv_prog_ac_ct_C C+:} false; then :2710 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3357 2711 $as_echo_n "(cached) " >&6 3358 2712 else 3359 if test -n "$ac_ct_C C"; then3360 ac_cv_prog_ac_ct_C C="$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. 3361 2715 else 3362 2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3367 2721 for ac_exec_ext in '' $ac_executable_extensions; do 3368 2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3369 ac_cv_prog_ac_ct_C C="gcc"2723 ac_cv_prog_ac_ct_CXX="$ac_prog" 3370 2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3371 2725 break 2 … … 3377 2731 fi 3378 2732 fi 3379 ac_ct_C C=$ac_cv_prog_ac_ct_CC3380 if test -n "$ac_ct_C C"; then3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_C C" >&53382 $as_echo "$ac_ct_C C" >&6; }2733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2734 if 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; } 3383 2737 else 3384 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 3386 2740 fi 3387 2741 3388 if test "x$ac_ct_CC" = x; then 3389 CC="" 2742 2743 test -n "$ac_ct_CXX" && break 2744 done 2745 2746 if test "x$ac_ct_CXX" = x; then 2747 CXX="g++" 3390 2748 else 3391 2749 case $cross_compiling:$ac_tool_warned in … … 3395 2753 ac_tool_warned=yes ;; 3396 2754 esac 3397 C C=$ac_ct_CC2755 CXX=$ac_ct_CXX 3398 2756 fi 3399 else 3400 CC="$ac_cv_prog_CC" 3401 fi 3402 3403 if test -z "$CC"; then 3404 if test -n "$ac_tool_prefix"; then 3405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3406 set dummy ${ac_tool_prefix}cc; ac_word=$2 3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3408 $as_echo_n "checking for $ac_word... " >&6; } 3409 if ${ac_cv_prog_CC+:} false; then : 3410 $as_echo_n "(cached) " >&6 3411 else 3412 if test -n "$CC"; then 3413 ac_cv_prog_CC="$CC" # Let the user override the test. 3414 else 3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3416 for as_dir in $PATH 3417 do 3418 IFS=$as_save_IFS 3419 test -z "$as_dir" && as_dir=. 3420 for ac_exec_ext in '' $ac_executable_extensions; do 3421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3422 ac_cv_prog_CC="${ac_tool_prefix}cc" 3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3424 break 2 2757 fi 2758 3425 2759 fi 3426 done 3427 done 3428 IFS=$as_save_IFS 3429 3430 fi 3431 fi 3432 CC=$ac_cv_prog_CC 3433 if test -n "$CC"; then 3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3435 $as_echo "$CC" >&6; } 3436 else 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3438 $as_echo "no" >&6; } 3439 fi 3440 3441 3442 fi 3443 fi 3444 if test -z "$CC"; then 3445 # Extract the first word of "cc", so it can be a program name with args. 3446 set dummy cc; ac_word=$2 3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3448 $as_echo_n "checking for $ac_word... " >&6; } 3449 if ${ac_cv_prog_CC+:} false; then : 3450 $as_echo_n "(cached) " >&6 3451 else 3452 if test -n "$CC"; then 3453 ac_cv_prog_CC="$CC" # Let the user override the test. 3454 else 3455 ac_prog_rejected=no 3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3457 for as_dir in $PATH 3458 do 3459 IFS=$as_save_IFS 3460 test -z "$as_dir" && as_dir=. 3461 for ac_exec_ext in '' $ac_executable_extensions; do 3462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3464 ac_prog_rejected=yes 3465 continue 3466 fi 3467 ac_cv_prog_CC="cc" 3468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3469 break 2 3470 fi 3471 done 3472 done 3473 IFS=$as_save_IFS 3474 3475 if test $ac_prog_rejected = yes; then 3476 # We found a bogon in the path, so make sure we never use it. 3477 set dummy $ac_cv_prog_CC 3478 shift 3479 if test $# != 0; then 3480 # We chose a different compiler from the bogus one. 3481 # However, it has the same basename, so the bogon will be chosen 3482 # first if we set CC to just the basename; use the full file name. 3483 shift 3484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3485 fi 3486 fi 3487 fi 3488 fi 3489 CC=$ac_cv_prog_CC 3490 if test -n "$CC"; then 3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3492 $as_echo "$CC" >&6; } 3493 else 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3495 $as_echo "no" >&6; } 3496 fi 3497 3498 3499 fi 3500 if test -z "$CC"; then 3501 if test -n "$ac_tool_prefix"; then 3502 for ac_prog in cl.exe 3503 do 3504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3507 $as_echo_n "checking for $ac_word... " >&6; } 3508 if ${ac_cv_prog_CC+:} false; then : 3509 $as_echo_n "(cached) " >&6 3510 else 3511 if test -n "$CC"; then 3512 ac_cv_prog_CC="$CC" # Let the user override the test. 3513 else 3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3515 for as_dir in $PATH 3516 do 3517 IFS=$as_save_IFS 3518 test -z "$as_dir" && as_dir=. 3519 for ac_exec_ext in '' $ac_executable_extensions; do 3520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3523 break 2 3524 fi 3525 done 3526 done 3527 IFS=$as_save_IFS 3528 3529 fi 3530 fi 3531 CC=$ac_cv_prog_CC 3532 if test -n "$CC"; then 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3534 $as_echo "$CC" >&6; } 3535 else 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3537 $as_echo "no" >&6; } 3538 fi 3539 3540 3541 test -n "$CC" && break 3542 done 3543 fi 3544 if test -z "$CC"; then 3545 ac_ct_CC=$CC 3546 for ac_prog in cl.exe 3547 do 3548 # Extract the first word of "$ac_prog", so it can be a program name with args. 3549 set dummy $ac_prog; ac_word=$2 3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3551 $as_echo_n "checking for $ac_word... " >&6; } 3552 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3553 $as_echo_n "(cached) " >&6 3554 else 3555 if test -n "$ac_ct_CC"; then 3556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3557 else 3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3559 for as_dir in $PATH 3560 do 3561 IFS=$as_save_IFS 3562 test -z "$as_dir" && as_dir=. 3563 for ac_exec_ext in '' $ac_executable_extensions; do 3564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3565 ac_cv_prog_ac_ct_CC="$ac_prog" 3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3567 break 2 3568 fi 3569 done 3570 done 3571 IFS=$as_save_IFS 3572 3573 fi 3574 fi 3575 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3576 if test -n "$ac_ct_CC"; then 3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3578 $as_echo "$ac_ct_CC" >&6; } 3579 else 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3581 $as_echo "no" >&6; } 3582 fi 3583 3584 3585 test -n "$ac_ct_CC" && break 3586 done 3587 3588 if test "x$ac_ct_CC" = x; then 3589 CC="" 3590 else 3591 case $cross_compiling:$ac_tool_warned in 3592 yes:) 3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3595 ac_tool_warned=yes ;; 3596 esac 3597 CC=$ac_ct_CC 3598 fi 3599 fi 3600 3601 fi 3602 3603 3604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3606 as_fn_error $? "no acceptable C compiler found in \$PATH 3607 See \`config.log' for more details" "$LINENO" 5; } 3608 2760 fi 3609 2761 # Provide some information about the compiler. 3610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&52762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3611 2763 set X $ac_compile 3612 2764 ac_compiler=$2 … … 3648 2800 # It will help us diagnose broken compilers, and finding out an intuition 3649 2801 # of exeext. 3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&53651 $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; } 3652 2804 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3653 2805 … … 3719 2871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3720 2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3721 as_fn_error 77 "C compiler cannot create executables2873 as_fn_error 77 "C++ compiler cannot create executables 3722 2874 See \`config.log' for more details" "$LINENO" 5; } 3723 2875 else … … 3725 2877 $as_echo "yes" >&6; } 3726 2878 fi 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&53728 $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; } 3729 2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3730 2882 $as_echo "$ac_file" >&6; } … … 3820 2972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3821 2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3822 as_fn_error $? "cannot run C compiled programs.2974 as_fn_error $? "cannot run C++ compiled programs. 3823 2975 If you meant to cross compile, use \`--host'. 3824 2976 See \`config.log' for more details" "$LINENO" 5; } … … 3882 3034 OBJEXT=$ac_cv_objext 3883 3035 ac_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; } 3038 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3039 $as_echo_n "(cached) " >&6 3040 else 3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3042 /* end confdefs.h. */ 3043 3044 int 3045 main () 3046 { 3047 #ifndef __GNUC__ 3048 choke me 3049 #endif 3050 3051 ; 3052 return 0; 3053 } 3054 _ACEOF 3055 if ac_fn_cxx_try_compile "$LINENO"; then : 3056 ac_compiler_gnu=yes 3057 else 3058 ac_compiler_gnu=no 3059 fi 3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3062 3063 fi 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3065 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3066 if test $ac_compiler_gnu = yes; then 3067 GXX=yes 3068 else 3069 GXX= 3070 fi 3071 ac_test_CXXFLAGS=${CXXFLAGS+set} 3072 ac_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; } 3075 if ${ac_cv_prog_cxx_g+:} false; then : 3076 $as_echo_n "(cached) " >&6 3077 else 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 3085 int 3086 main () 3087 { 3088 3089 ; 3090 return 0; 3091 } 3092 _ACEOF 3093 if ac_fn_cxx_try_compile "$LINENO"; then : 3094 ac_cv_prog_cxx_g=yes 3095 else 3096 CXXFLAGS="" 3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3098 /* end confdefs.h. */ 3099 3100 int 3101 main () 3102 { 3103 3104 ; 3105 return 0; 3106 } 3107 _ACEOF 3108 if ac_fn_cxx_try_compile "$LINENO"; then : 3109 3110 else 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 3116 int 3117 main () 3118 { 3119 3120 ; 3121 return 0; 3122 } 3123 _ACEOF 3124 if ac_fn_cxx_try_compile "$LINENO"; then : 3125 ac_cv_prog_cxx_g=yes 3126 fi 3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3128 fi 3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3130 fi 3131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3132 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3133 fi 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3135 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3136 if test "$ac_test_CXXFLAGS" = set; then 3137 CXXFLAGS=$ac_save_CXXFLAGS 3138 elif 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 3144 else 3145 if test "$GXX" = yes; then 3146 CXXFLAGS="-O2" 3147 else 3148 CXXFLAGS= 3149 fi 3150 fi 3151 ac_ext=c 3152 ac_cpp='$CPP $CPPFLAGS' 3153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3155 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3156 DEPDIR="${am__leading_dot}deps" 3157 3158 ac_config_commands="$ac_config_commands depfiles" 3159 3160 3161 am_make=${MAKE-make} 3162 cat > confinc << 'END' 3163 am__doit: 3164 @echo this is the am__doit target 3165 .PHONY: am__doit 3166 END 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; } 3170 am__include="#" 3171 am__quote= 3172 _am_result=none 3173 # First try GNU make style include. 3174 echo "include confinc" > confmf 3175 # Ignore all kinds of additional output from 'make'. 3176 case `$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 ;; 3182 esac 3183 # Now try BSD make style include. 3184 if 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 3193 fi 3194 3195 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3197 $as_echo "$_am_result" >&6; } 3198 rm -f confinc confmf 3199 3200 # Check whether --enable-dependency-tracking was given. 3201 if test "${enable_dependency_tracking+set}" = set; then : 3202 enableval=$enable_dependency_tracking; 3203 fi 3204 3205 if test "x$enable_dependency_tracking" != xno; then 3206 am_depcomp="$ac_aux_dir/depcomp" 3207 AMDEPBACKSLASH='\' 3208 am__nodep='_no' 3209 fi 3210 if test "x$enable_dependency_tracking" != xno; then 3211 AMDEP_TRUE= 3212 AMDEP_FALSE='#' 3213 else 3214 AMDEP_TRUE='#' 3215 AMDEP_FALSE= 3216 fi 3217 3218 3219 3220 depcc="$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; } 3224 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3225 $as_echo_n "(cached) " >&6 3226 else 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 3328 else 3329 am_cv_CXX_dependencies_compiler_type=none 3330 fi 3331 3332 fi 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; } 3335 CXXDEPMODE=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='#' 3342 else 3343 am__fastdepCXX_TRUE='#' 3344 am__fastdepCXX_FALSE= 3345 fi 3346 3347 3348 ac_ext=c 3349 ac_cpp='$CPP $CPPFLAGS' 3350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3352 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3353 if 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. 3355 set 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; } 3358 if ${ac_cv_prog_CC+:} false; then : 3359 $as_echo_n "(cached) " >&6 3360 else 3361 if test -n "$CC"; then 3362 ac_cv_prog_CC="$CC" # Let the user override the test. 3363 else 3364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3365 for as_dir in $PATH 3366 do 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 3375 done 3376 done 3377 IFS=$as_save_IFS 3378 3379 fi 3380 fi 3381 CC=$ac_cv_prog_CC 3382 if test -n "$CC"; then 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3384 $as_echo "$CC" >&6; } 3385 else 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3387 $as_echo "no" >&6; } 3388 fi 3389 3390 3391 fi 3392 if 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. 3395 set 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; } 3398 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3399 $as_echo_n "(cached) " >&6 3400 else 3401 if test -n "$ac_ct_CC"; then 3402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3403 else 3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3405 for as_dir in $PATH 3406 do 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 3415 done 3416 done 3417 IFS=$as_save_IFS 3418 3419 fi 3420 fi 3421 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3422 if 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; } 3425 else 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3427 $as_echo "no" >&6; } 3428 fi 3429 3430 if test "x$ac_ct_CC" = x; then 3431 CC="" 3432 else 3433 case $cross_compiling:$ac_tool_warned in 3434 yes:) 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;} 3437 ac_tool_warned=yes ;; 3438 esac 3439 CC=$ac_ct_CC 3440 fi 3441 else 3442 CC="$ac_cv_prog_CC" 3443 fi 3444 3445 if 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. 3448 set 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; } 3451 if ${ac_cv_prog_CC+:} false; then : 3452 $as_echo_n "(cached) " >&6 3453 else 3454 if test -n "$CC"; then 3455 ac_cv_prog_CC="$CC" # Let the user override the test. 3456 else 3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3458 for as_dir in $PATH 3459 do 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 3468 done 3469 done 3470 IFS=$as_save_IFS 3471 3472 fi 3473 fi 3474 CC=$ac_cv_prog_CC 3475 if test -n "$CC"; then 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3477 $as_echo "$CC" >&6; } 3478 else 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3480 $as_echo "no" >&6; } 3481 fi 3482 3483 3484 fi 3485 fi 3486 if test -z "$CC"; then 3487 # Extract the first word of "cc", so it can be a program name with args. 3488 set 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; } 3491 if ${ac_cv_prog_CC+:} false; then : 3492 $as_echo_n "(cached) " >&6 3493 else 3494 if test -n "$CC"; then 3495 ac_cv_prog_CC="$CC" # Let the user override the test. 3496 else 3497 ac_prog_rejected=no 3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3499 for as_dir in $PATH 3500 do 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 3513 done 3514 done 3515 IFS=$as_save_IFS 3516 3517 if 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 3528 fi 3529 fi 3530 fi 3531 CC=$ac_cv_prog_CC 3532 if test -n "$CC"; then 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3534 $as_echo "$CC" >&6; } 3535 else 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3537 $as_echo "no" >&6; } 3538 fi 3539 3540 3541 fi 3542 if 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. 3547 set 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; } 3550 if ${ac_cv_prog_CC+:} false; then : 3551 $as_echo_n "(cached) " >&6 3552 else 3553 if test -n "$CC"; then 3554 ac_cv_prog_CC="$CC" # Let the user override the test. 3555 else 3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3557 for as_dir in $PATH 3558 do 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 3567 done 3568 done 3569 IFS=$as_save_IFS 3570 3571 fi 3572 fi 3573 CC=$ac_cv_prog_CC 3574 if test -n "$CC"; then 3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3576 $as_echo "$CC" >&6; } 3577 else 3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3579 $as_echo "no" >&6; } 3580 fi 3581 3582 3583 test -n "$CC" && break 3584 done 3585 fi 3586 if test -z "$CC"; then 3587 ac_ct_CC=$CC 3588 for ac_prog in cl.exe 3589 do 3590 # Extract the first word of "$ac_prog", so it can be a program name with args. 3591 set 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; } 3594 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3595 $as_echo_n "(cached) " >&6 3596 else 3597 if test -n "$ac_ct_CC"; then 3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3599 else 3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3601 for as_dir in $PATH 3602 do 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 3611 done 3612 done 3613 IFS=$as_save_IFS 3614 3615 fi 3616 fi 3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3618 if 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; } 3621 else 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3623 $as_echo "no" >&6; } 3624 fi 3625 3626 3627 test -n "$ac_ct_CC" && break 3628 done 3629 3630 if test "x$ac_ct_CC" = x; then 3631 CC="" 3632 else 3633 case $cross_compiling:$ac_tool_warned in 3634 yes:) 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;} 3637 ac_tool_warned=yes ;; 3638 esac 3639 CC=$ac_ct_CC 3640 fi 3641 fi 3642 3643 fi 3644 3645 3646 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3648 as_fn_error $? "no acceptable C compiler found in \$PATH 3649 See \`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 3653 set X $ac_compile 3654 ac_compiler=$2 3655 for ac_option in --version -v -V -qversion; do 3656 { { ac_try="$ac_compiler $ac_option >&5" 3657 case "(($ac_try" in 3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3659 *) ac_try_echo=$ac_try;; 3660 esac 3661 eval 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; } 3674 done 3675 3884 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3885 3677 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } … … 4280 4072 4281 4073 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&54283 $as_echo_n "checking for a sed that does not truncate output... " >&6; }4284 if ${ac_cv_path_SED+:} false; then :4285 $as_echo_n "(cached) " >&64286 else4287 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/4288 for ac_i in 1 2 3 4 5 6 7; do4289 ac_script="$ac_script$as_nl$ac_script"4290 done4291 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed4292 { ac_script=; unset ac_script;}4293 if test -z "$SED"; then4294 ac_path_SED_found=false4295 # Loop through the user's path and test for each of PROGNAME-LIST4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4297 for as_dir in $PATH4298 do4299 IFS=$as_save_IFS4300 test -z "$as_dir" && as_dir=.4301 for ac_prog in sed gsed; do4302 for ac_exec_ext in '' $ac_executable_extensions; do4303 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"4304 as_fn_executable_p "$ac_path_SED" || continue4305 # Check for GNU ac_path_SED and select it if it is found.4306 # Check for GNU $ac_path_SED4307 case `"$ac_path_SED" --version 2>&1` in4308 *GNU*)4309 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;4310 *)4311 ac_count=04312 $as_echo_n 0123456789 >"conftest.in"4313 while :4314 do4315 cat "conftest.in" "conftest.in" >"conftest.tmp"4316 mv "conftest.tmp" "conftest.in"4317 cp "conftest.in" "conftest.nl"4318 $as_echo '' >> "conftest.nl"4319 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break4320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4321 as_fn_arith $ac_count + 1 && ac_count=$as_val4322 if test $ac_count -gt ${ac_path_SED_max-0}; then4323 # Best one so far, save it but keep looking for a better one4324 ac_cv_path_SED="$ac_path_SED"4325 ac_path_SED_max=$ac_count4326 fi4327 # 10*(2^10) chars as input seems more than enough4328 test $ac_count -gt 10 && break4329 done4330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4331 esac4332 4333 $ac_path_SED_found && break 34334 done4335 done4336 done4337 IFS=$as_save_IFS4338 if test -z "$ac_cv_path_SED"; then4339 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 54340 fi4341 else4342 ac_cv_path_SED=$SED4343 fi4344 4345 fi4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&54347 $as_echo "$ac_cv_path_SED" >&6; }4348 SED="$ac_cv_path_SED"4349 rm -f conftest.sed4350 4351 test -z "$SED" && SED=sed4352 Xsed="$SED -e 1s/^X//"4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54365 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }4366 if ${ac_cv_path_GREP+:} false; then :4367 $as_echo_n "(cached) " >&64368 else4369 if test -z "$GREP"; then4370 ac_path_GREP_found=false4371 # Loop through the user's path and test for each of PROGNAME-LIST4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4373 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4374 do4375 IFS=$as_save_IFS4376 test -z "$as_dir" && as_dir=.4377 for ac_prog in grep ggrep; do4378 for ac_exec_ext in '' $ac_executable_extensions; do4379 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4380 as_fn_executable_p "$ac_path_GREP" || continue4381 # Check for GNU ac_path_GREP and select it if it is found.4382 # Check for GNU $ac_path_GREP4383 case `"$ac_path_GREP" --version 2>&1` in4384 *GNU*)4385 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;4386 *)4387 ac_count=04388 $as_echo_n 0123456789 >"conftest.in"4389 while :4390 do4391 cat "conftest.in" "conftest.in" >"conftest.tmp"4392 mv "conftest.tmp" "conftest.in"4393 cp "conftest.in" "conftest.nl"4394 $as_echo 'GREP' >> "conftest.nl"4395 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4396 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4397 as_fn_arith $ac_count + 1 && ac_count=$as_val4398 if test $ac_count -gt ${ac_path_GREP_max-0}; then4399 # Best one so far, save it but keep looking for a better one4400 ac_cv_path_GREP="$ac_path_GREP"4401 ac_path_GREP_max=$ac_count4402 fi4403 # 10*(2^10) chars as input seems more than enough4404 test $ac_count -gt 10 && break4405 done4406 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4407 esac4408 4409 $ac_path_GREP_found && break 34410 done4411 done4412 done4413 IFS=$as_save_IFS4414 if test -z "$ac_cv_path_GREP"; then4415 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54416 fi4417 else4418 ac_cv_path_GREP=$GREP4419 fi4420 4421 fi4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&54423 $as_echo "$ac_cv_path_GREP" >&6; }4424 GREP="$ac_cv_path_GREP"4425 4426 4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54428 $as_echo_n "checking for egrep... " >&6; }4429 if ${ac_cv_path_EGREP+:} false; then :4430 $as_echo_n "(cached) " >&64431 else4432 if echo a | $GREP -E '(a|b)' >/dev/null 2>&14433 then ac_cv_path_EGREP="$GREP -E"4434 else4435 if test -z "$EGREP"; then4436 ac_path_EGREP_found=false4437 # Loop through the user's path and test for each of PROGNAME-LIST4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4440 do4441 IFS=$as_save_IFS4442 test -z "$as_dir" && as_dir=.4443 for ac_prog in egrep; do4444 for ac_exec_ext in '' $ac_executable_extensions; do4445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4446 as_fn_executable_p "$ac_path_EGREP" || continue4447 # Check for GNU ac_path_EGREP and select it if it is found.4448 # Check for GNU $ac_path_EGREP4449 case `"$ac_path_EGREP" --version 2>&1` in4450 *GNU*)4451 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;4452 *)4453 ac_count=04454 $as_echo_n 0123456789 >"conftest.in"4455 while :4456 do4457 cat "conftest.in" "conftest.in" >"conftest.tmp"4458 mv "conftest.tmp" "conftest.in"4459 cp "conftest.in" "conftest.nl"4460 $as_echo 'EGREP' >> "conftest.nl"4461 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break4462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4463 as_fn_arith $ac_count + 1 && ac_count=$as_val4464 if test $ac_count -gt ${ac_path_EGREP_max-0}; then4465 # Best one so far, save it but keep looking for a better one4466 ac_cv_path_EGREP="$ac_path_EGREP"4467 ac_path_EGREP_max=$ac_count4468 fi4469 # 10*(2^10) chars as input seems more than enough4470 test $ac_count -gt 10 && break4471 done4472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4473 esac4474 4475 $ac_path_EGREP_found && break 34476 done4477 done4478 done4479 IFS=$as_save_IFS4480 if test -z "$ac_cv_path_EGREP"; then4481 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54482 fi4483 else4484 ac_cv_path_EGREP=$EGREP4485 fi4486 4487 fi4488 fi4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54490 $as_echo "$ac_cv_path_EGREP" >&6; }4491 EGREP="$ac_cv_path_EGREP"4492 4493 4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&54495 $as_echo_n "checking for fgrep... " >&6; }4496 if ${ac_cv_path_FGREP+:} false; then :4497 $as_echo_n "(cached) " >&64498 else4499 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&14500 then ac_cv_path_FGREP="$GREP -F"4501 else4502 if test -z "$FGREP"; then4503 ac_path_FGREP_found=false4504 # Loop through the user's path and test for each of PROGNAME-LIST4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin4507 do4508 IFS=$as_save_IFS4509 test -z "$as_dir" && as_dir=.4510 for ac_prog in fgrep; do4511 for ac_exec_ext in '' $ac_executable_extensions; do4512 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"4513 as_fn_executable_p "$ac_path_FGREP" || continue4514 # Check for GNU ac_path_FGREP and select it if it is found.4515 # Check for GNU $ac_path_FGREP4516 case `"$ac_path_FGREP" --version 2>&1` in4517 *GNU*)4518 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;4519 *)4520 ac_count=04521 $as_echo_n 0123456789 >"conftest.in"4522 while :4523 do4524 cat "conftest.in" "conftest.in" >"conftest.tmp"4525 mv "conftest.tmp" "conftest.in"4526 cp "conftest.in" "conftest.nl"4527 $as_echo 'FGREP' >> "conftest.nl"4528 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break4529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4530 as_fn_arith $ac_count + 1 && ac_count=$as_val4531 if test $ac_count -gt ${ac_path_FGREP_max-0}; then4532 # Best one so far, save it but keep looking for a better one4533 ac_cv_path_FGREP="$ac_path_FGREP"4534 ac_path_FGREP_max=$ac_count4535 fi4536 # 10*(2^10) chars as input seems more than enough4537 test $ac_count -gt 10 && break4538 done4539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;4540 esac4541 4542 $ac_path_FGREP_found && break 34543 done4544 done4545 done4546 IFS=$as_save_IFS4547 if test -z "$ac_cv_path_FGREP"; then4548 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 54549 fi4550 else4551 ac_cv_path_FGREP=$FGREP4552 fi4553 4554 fi4555 fi4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&54557 $as_echo "$ac_cv_path_FGREP" >&6; }4558 FGREP="$ac_cv_path_FGREP"4559 4560 4561 test -z "$GREP" && GREP=grep4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 # Check whether --with-gnu-ld was given.4582 if test "${with_gnu_ld+set}" = set; then :4583 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes4584 else4585 with_gnu_ld=no4586 fi4587 4588 ac_prog=ld4589 if test yes = "$GCC"; then4590 # Check if gcc -print-prog-name=ld gives a path.4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&54592 $as_echo_n "checking for ld used by $CC... " >&6; }4593 case $host in4594 *-*-mingw*)4595 # gcc leaves a trailing carriage return, which upsets mingw4596 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;4597 *)4598 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;4599 esac4600 case $ac_prog in4601 # Accept absolute paths.4602 [\\/]* | ?:[\\/]*)4603 re_direlt='/[^/][^/]*/\.\./'4604 # Canonicalize the pathname of ld4605 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`4606 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do4607 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`4608 done4609 test -z "$LD" && LD=$ac_prog4610 ;;4611 "")4612 # If it fails, then pretend we aren't using GCC.4613 ac_prog=ld4614 ;;4615 *)4616 # If it is relative, then search for the first ld in PATH.4617 with_gnu_ld=unknown4618 ;;4619 esac4620 elif test yes = "$with_gnu_ld"; then4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&54622 $as_echo_n "checking for GNU ld... " >&6; }4623 else4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&54625 $as_echo_n "checking for non-GNU ld... " >&6; }4626 fi4627 if ${lt_cv_path_LD+:} false; then :4628 $as_echo_n "(cached) " >&64629 else4630 if test -z "$LD"; then4631 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR4632 for ac_dir in $PATH; do4633 IFS=$lt_save_ifs4634 test -z "$ac_dir" && ac_dir=.4635 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then4636 lt_cv_path_LD=$ac_dir/$ac_prog4637 # Check to see if the program is GNU ld. I'd rather use --version,4638 # but apparently some variants of GNU ld only accept -v.4639 # Break only if it was the GNU/non-GNU ld that we prefer.4640 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in4641 *GNU* | *'with BFD'*)4642 test no != "$with_gnu_ld" && break4643 ;;4644 *)4645 test yes != "$with_gnu_ld" && break4646 ;;4647 esac4648 fi4649 done4650 IFS=$lt_save_ifs4651 else4652 lt_cv_path_LD=$LD # Let the user override the test with a path.4653 fi4654 fi4655 4656 LD=$lt_cv_path_LD4657 if test -n "$LD"; then4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&54659 $as_echo "$LD" >&6; }4660 else4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54662 $as_echo "no" >&6; }4663 fi4664 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 54665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&54666 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }4667 if ${lt_cv_prog_gnu_ld+:} false; then :4668 $as_echo_n "(cached) " >&64669 else4670 # I'd rather use --version here, but apparently some GNU lds only accept -v.4671 case `$LD -v 2>&1 </dev/null` in4672 *GNU* | *'with BFD'*)4673 lt_cv_prog_gnu_ld=yes4674 ;;4675 *)4676 lt_cv_prog_gnu_ld=no4677 ;;4678 esac4679 fi4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&54681 $as_echo "$lt_cv_prog_gnu_ld" >&6; }4682 with_gnu_ld=$lt_cv_prog_gnu_ld4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&54693 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }4694 if ${lt_cv_path_NM+:} false; then :4695 $as_echo_n "(cached) " >&64696 else4697 if test -n "$NM"; then4698 # Let the user override the test.4699 lt_cv_path_NM=$NM4700 else4701 lt_nm_to_check=${ac_tool_prefix}nm4702 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then4703 lt_nm_to_check="$lt_nm_to_check nm"4704 fi4705 for lt_tmp_nm in $lt_nm_to_check; do4706 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR4707 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do4708 IFS=$lt_save_ifs4709 test -z "$ac_dir" && ac_dir=.4710 tmp_nm=$ac_dir/$lt_tmp_nm4711 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then4712 # Check to see if the nm accepts a BSD-compat flag.4713 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:4714 # nm: unknown option "B" ignored4715 # Tru64's nm complains that /dev/null is an invalid object file4716 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty4717 case $build_os in4718 mingw*) lt_bad_file=conftest.nm/nofile ;;4719 *) lt_bad_file=/dev/null ;;4720 esac4721 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in4722 *$lt_bad_file* | *'Invalid file or object type'*)4723 lt_cv_path_NM="$tmp_nm -B"4724 break 24725 ;;4726 *)4727 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in4728 */dev/null*)4729 lt_cv_path_NM="$tmp_nm -p"4730 break 24731 ;;4732 *)4733 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but4734 continue # so that we can try to find one that supports BSD flags4735 ;;4736 esac4737 ;;4738 esac4739 fi4740 done4741 IFS=$lt_save_ifs4742 done4743 : ${lt_cv_path_NM=no}4744 fi4745 fi4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&54747 $as_echo "$lt_cv_path_NM" >&6; }4748 if test no != "$lt_cv_path_NM"; then4749 NM=$lt_cv_path_NM4750 else4751 # Didn't find any BSD compatible name lister, look for dumpbin.4752 if test -n "$DUMPBIN"; then :4753 # Let the user override the test.4754 else4755 if test -n "$ac_tool_prefix"; then4756 for ac_prog in dumpbin "link -dump"4757 do4758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.4759 set dummy $ac_tool_prefix$ac_prog; ac_word=$24760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54761 $as_echo_n "checking for $ac_word... " >&6; }4762 if ${ac_cv_prog_DUMPBIN+:} false; then :4763 $as_echo_n "(cached) " >&64764 else4765 if test -n "$DUMPBIN"; then4766 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.4767 else4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4769 for as_dir in $PATH4770 do4771 IFS=$as_save_IFS4772 test -z "$as_dir" && as_dir=.4773 for ac_exec_ext in '' $ac_executable_extensions; do4774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4775 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54777 break 24778 fi4779 done4780 done4781 IFS=$as_save_IFS4782 4783 fi4784 fi4785 DUMPBIN=$ac_cv_prog_DUMPBIN4786 if test -n "$DUMPBIN"; then4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&54788 $as_echo "$DUMPBIN" >&6; }4789 else4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54791 $as_echo "no" >&6; }4792 fi4793 4794 4795 test -n "$DUMPBIN" && break4796 done4797 fi4798 if test -z "$DUMPBIN"; then4799 ac_ct_DUMPBIN=$DUMPBIN4800 for ac_prog in dumpbin "link -dump"4801 do4802 # Extract the first word of "$ac_prog", so it can be a program name with args.4803 set dummy $ac_prog; ac_word=$24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&54805 $as_echo_n "checking for $ac_word... " >&6; }4806 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :4807 $as_echo_n "(cached) " >&64808 else4809 if test -n "$ac_ct_DUMPBIN"; then4810 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.4811 else4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4813 for as_dir in $PATH4814 do4815 IFS=$as_save_IFS4816 test -z "$as_dir" && as_dir=.4817 for ac_exec_ext in '' $ac_executable_extensions; do4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then4819 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&54821 break 24822 fi4823 done4824 done4825 IFS=$as_save_IFS4826 4827 fi4828 fi4829 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN4830 if test -n "$ac_ct_DUMPBIN"; then4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&54832 $as_echo "$ac_ct_DUMPBIN" >&6; }4833 else4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54835 $as_echo "no" >&6; }4836 fi4837 4838 4839 test -n "$ac_ct_DUMPBIN" && break4840 done4841 4842 if test "x$ac_ct_DUMPBIN" = x; then4843 DUMPBIN=":"4844 else4845 case $cross_compiling:$ac_tool_warned in4846 yes:)4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&54848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}4849 ac_tool_warned=yes ;;4850 esac4851 DUMPBIN=$ac_ct_DUMPBIN4852 fi4853 fi4854 4855 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in4856 *COFF*)4857 DUMPBIN="$DUMPBIN -symbols -headers"4858 ;;4859 *)4860 DUMPBIN=:4861 ;;4862 esac4863 fi4864 4865 if test : != "$DUMPBIN"; then4866 NM=$DUMPBIN4867 fi4868 fi4869 test -z "$NM" && NM=nm4870 4871 4872 4873 4874 4875 4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&54877 $as_echo_n "checking the name lister ($NM) interface... " >&6; }4878 if ${lt_cv_nm_interface+:} false; then :4879 $as_echo_n "(cached) " >&64880 else4881 lt_cv_nm_interface="BSD nm"4882 echo "int some_variable = 0;" > conftest.$ac_ext4883 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)4884 (eval "$ac_compile" 2>conftest.err)4885 cat conftest.err >&54886 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)4887 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)4888 cat conftest.err >&54889 (eval echo "\"\$as_me:$LINENO: output\"" >&5)4890 cat conftest.out >&54891 if $GREP 'External.*some_variable' conftest.out > /dev/null; then4892 lt_cv_nm_interface="MS dumpbin"4893 fi4894 rm -f conftest*4895 fi4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&54897 $as_echo "$lt_cv_nm_interface" >&6; }4898 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&54900 $as_echo_n "checking whether ln -s works... " >&6; }4901 LN_S=$as_ln_s4902 if test "$LN_S" = "ln -s"; then4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&54904 $as_echo "yes" >&6; }4905 else4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&54907 $as_echo "no, using $LN_S" >&6; }4908 fi4909 4910 # find the maximum length of command line arguments4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&54912 $as_echo_n "checking the maximum length of command line arguments... " >&6; }4913 if ${lt_cv_sys_max_cmd_len+:} false; then :4914 $as_echo_n "(cached) " >&64915 else4916 i=04917 teststring=ABCD4918 4919 case $build_os in4920 msdosdjgpp*)4921 # On DJGPP, this test can blow up pretty badly due to problems in libc4922 # (any single argument exceeding 2000 bytes causes a buffer overrun4923 # during glob expansion). Even if it were fixed, the result of this4924 # check would be larger than it should be.4925 lt_cv_sys_max_cmd_len=12288; # 12K is about right4926 ;;4927 4928 gnu*)4929 # Under GNU Hurd, this test is not required because there is4930 # no limit to the length of command line arguments.4931 # Libtool will interpret -1 as no limit whatsoever4932 lt_cv_sys_max_cmd_len=-1;4933 ;;4934 4935 cygwin* | mingw* | cegcc*)4936 # On Win9x/ME, this test blows up -- it succeeds, but takes4937 # about 5 minutes as the teststring grows exponentially.4938 # Worse, since 9x/ME are not pre-emptively multitasking,4939 # you end up with a "frozen" computer, even though with patience4940 # the test eventually succeeds (with a max line length of 256k).4941 # Instead, let's just punt: use the minimum linelength reported by4942 # all of the supported platforms: 8192 (on NT/2K/XP).4943 lt_cv_sys_max_cmd_len=8192;4944 ;;4945 4946 mint*)4947 # On MiNT this can take a long time and run out of memory.4948 lt_cv_sys_max_cmd_len=8192;4949 ;;4950 4951 amigaos*)4952 # On AmigaOS with pdksh, this test takes hours, literally.4953 # So we just punt and use a minimum line length of 8192.4954 lt_cv_sys_max_cmd_len=8192;4955 ;;4956 4957 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)4958 # This has been around since 386BSD, at least. Likely further.4959 if test -x /sbin/sysctl; then4960 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`4961 elif test -x /usr/sbin/sysctl; then4962 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`4963 else4964 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs4965 fi4966 # And add a safety zone4967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`4968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`4969 ;;4970 4971 interix*)4972 # We know the value 262144 and hardcode it with a safety zone (like BSD)4973 lt_cv_sys_max_cmd_len=1966084974 ;;4975 4976 os2*)4977 # The test takes a long time on OS/2.4978 lt_cv_sys_max_cmd_len=81924979 ;;4980 4981 osf*)4982 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure4983 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not4984 # nice to cause kernel panics so lets avoid the loop below.4985 # First set a reasonable default.4986 lt_cv_sys_max_cmd_len=163844987 #4988 if test -x /sbin/sysconfig; then4989 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in4990 *1*) lt_cv_sys_max_cmd_len=-1 ;;4991 esac4992 fi4993 ;;4994 sco3.2v5*)4995 lt_cv_sys_max_cmd_len=1024004996 ;;4997 sysv5* | sco5v6* | sysv4.2uw2*)4998 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`4999 if test -n "$kargmax"; then5000 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`5001 else5002 lt_cv_sys_max_cmd_len=327685003 fi5004 ;;5005 *)5006 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`5007 if test -n "$lt_cv_sys_max_cmd_len" && \5008 test undefined != "$lt_cv_sys_max_cmd_len"; then5009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`5010 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`5011 else5012 # Make teststring a little bigger before we do anything with it.5013 # a 1K string should be a reasonable start.5014 for i in 1 2 3 4 5 6 7 8; do5015 teststring=$teststring$teststring5016 done5017 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}5018 # If test is not a shell built-in, we'll probably end up computing a5019 # maximum length that is only half of the actual maximum length, but5020 # we can't tell.5021 while { test X`env echo "$teststring$teststring" 2>/dev/null` \5022 = "X$teststring$teststring"; } >/dev/null 2>&1 &&5023 test 17 != "$i" # 1/2 MB should be enough5024 do5025 i=`expr $i + 1`5026 teststring=$teststring$teststring5027 done5028 # Only check the string length outside the loop.5029 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`5030 teststring=5031 # Add a significant safety factor because C++ compilers can tack on5032 # massive amounts of additional arguments before passing them to the5033 # linker. It appears as though 1/2 is a usable value.5034 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`5035 fi5036 ;;5037 esac5038 5039 fi5040 5041 if test -n "$lt_cv_sys_max_cmd_len"; then5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&55043 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }5044 else5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&55046 $as_echo "none" >&6; }5047 fi5048 max_cmd_len=$lt_cv_sys_max_cmd_len5049 5050 5051 5052 5053 5054 5055 : ${CP="cp -f"}5056 : ${MV="mv -f"}5057 : ${RM="rm -f"}5058 5059 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then5060 lt_unset=unset5061 else5062 lt_unset=false5063 fi5064 5065 5066 5067 5068 5069 # test EBCDIC or ASCII5070 case `echo X|tr X '\101'` in5071 A) # ASCII based system5072 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr5073 lt_SP2NL='tr \040 \012'5074 lt_NL2SP='tr \015\012 \040\040'5075 ;;5076 *) # EBCDIC based system5077 lt_SP2NL='tr \100 \n'5078 lt_NL2SP='tr \r\n \100\100'5079 ;;5080 esac5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&55091 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }5092 if ${lt_cv_to_host_file_cmd+:} false; then :5093 $as_echo_n "(cached) " >&65094 else5095 case $host in5096 *-*-mingw* )5097 case $build in5098 *-*-mingw* ) # actually msys5099 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w325100 ;;5101 *-*-cygwin* )5102 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w325103 ;;5104 * ) # otherwise, assume *nix5105 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w325106 ;;5107 esac5108 ;;5109 *-*-cygwin* )5110 case $build in5111 *-*-mingw* ) # actually msys5112 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin5113 ;;5114 *-*-cygwin* )5115 lt_cv_to_host_file_cmd=func_convert_file_noop5116 ;;5117 * ) # otherwise, assume *nix5118 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin5119 ;;5120 esac5121 ;;5122 * ) # unhandled hosts (and "normal" native builds)5123 lt_cv_to_host_file_cmd=func_convert_file_noop5124 ;;5125 esac5126 5127 fi5128 5129 to_host_file_cmd=$lt_cv_to_host_file_cmd5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&55131 $as_echo "$lt_cv_to_host_file_cmd" >&6; }5132 5133 5134 5135 5136 5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&55138 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }5139 if ${lt_cv_to_tool_file_cmd+:} false; then :5140 $as_echo_n "(cached) " >&65141 else5142 #assume ordinary cross tools, or native build.5143 lt_cv_to_tool_file_cmd=func_convert_file_noop5144 case $host in5145 *-*-mingw* )5146 case $build in5147 *-*-mingw* ) # actually msys5148 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w325149 ;;5150 esac5151 ;;5152 esac5153 5154 fi5155 5156 to_tool_file_cmd=$lt_cv_to_tool_file_cmd5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&55158 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }5159 5160 5161 5162 5163 5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&55165 $as_echo_n "checking for $LD option to reload object files... " >&6; }5166 if ${lt_cv_ld_reload_flag+:} false; then :5167 $as_echo_n "(cached) " >&65168 else5169 lt_cv_ld_reload_flag='-r'5170 fi5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&55172 $as_echo "$lt_cv_ld_reload_flag" >&6; }5173 reload_flag=$lt_cv_ld_reload_flag5174 case $reload_flag in5175 "" | " "*) ;;5176 *) reload_flag=" $reload_flag" ;;5177 esac5178 reload_cmds='$LD$reload_flag -o $output$reload_objs'5179 case $host_os in5180 cygwin* | mingw* | pw32* | cegcc*)5181 if test yes != "$GCC"; then5182 reload_cmds=false5183 fi5184 ;;5185 darwin*)5186 if test yes = "$GCC"; then5187 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'5188 else5189 reload_cmds='$LD$reload_flag -o $output$reload_objs'5190 fi5191 ;;5192 esac5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 if test -n "$ac_tool_prefix"; then5203 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.5204 set dummy ${ac_tool_prefix}objdump; ac_word=$25205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55206 $as_echo_n "checking for $ac_word... " >&6; }5207 if ${ac_cv_prog_OBJDUMP+:} false; then :5208 $as_echo_n "(cached) " >&65209 else5210 if test -n "$OBJDUMP"; then5211 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.5212 else5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5214 for as_dir in $PATH5215 do5216 IFS=$as_save_IFS5217 test -z "$as_dir" && as_dir=.5218 for ac_exec_ext in '' $ac_executable_extensions; do5219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5220 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55222 break 25223 fi5224 done5225 done5226 IFS=$as_save_IFS5227 5228 fi5229 fi5230 OBJDUMP=$ac_cv_prog_OBJDUMP5231 if test -n "$OBJDUMP"; then5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&55233 $as_echo "$OBJDUMP" >&6; }5234 else5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55236 $as_echo "no" >&6; }5237 fi5238 5239 5240 fi5241 if test -z "$ac_cv_prog_OBJDUMP"; then5242 ac_ct_OBJDUMP=$OBJDUMP5243 # Extract the first word of "objdump", so it can be a program name with args.5244 set dummy objdump; ac_word=$25245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55246 $as_echo_n "checking for $ac_word... " >&6; }5247 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :5248 $as_echo_n "(cached) " >&65249 else5250 if test -n "$ac_ct_OBJDUMP"; then5251 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.5252 else5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5254 for as_dir in $PATH5255 do5256 IFS=$as_save_IFS5257 test -z "$as_dir" && as_dir=.5258 for ac_exec_ext in '' $ac_executable_extensions; do5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5260 ac_cv_prog_ac_ct_OBJDUMP="objdump"5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55262 break 25263 fi5264 done5265 done5266 IFS=$as_save_IFS5267 5268 fi5269 fi5270 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP5271 if test -n "$ac_ct_OBJDUMP"; then5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&55273 $as_echo "$ac_ct_OBJDUMP" >&6; }5274 else5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55276 $as_echo "no" >&6; }5277 fi5278 5279 if test "x$ac_ct_OBJDUMP" = x; then5280 OBJDUMP="false"5281 else5282 case $cross_compiling:$ac_tool_warned in5283 yes:)5284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5286 ac_tool_warned=yes ;;5287 esac5288 OBJDUMP=$ac_ct_OBJDUMP5289 fi5290 else5291 OBJDUMP="$ac_cv_prog_OBJDUMP"5292 fi5293 5294 test -z "$OBJDUMP" && OBJDUMP=objdump5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&55305 $as_echo_n "checking how to recognize dependent libraries... " >&6; }5306 if ${lt_cv_deplibs_check_method+:} false; then :5307 $as_echo_n "(cached) " >&65308 else5309 lt_cv_file_magic_cmd='$MAGIC_CMD'5310 lt_cv_file_magic_test_file=5311 lt_cv_deplibs_check_method='unknown'5312 # Need to set the preceding variable on all platforms that support5313 # interlibrary dependencies.5314 # 'none' -- dependencies not supported.5315 # 'unknown' -- same as none, but documents that we really don't know.5316 # 'pass_all' -- all dependencies passed with no checks.5317 # 'test_compile' -- check by making test program.5318 # 'file_magic [[regex]]' -- check by looking for files in library path5319 # that responds to the $file_magic_cmd with a given extended regex.5320 # If you have 'file' or equivalent on your system and you're not sure5321 # whether 'pass_all' will *always* work, you probably want this one.5322 5323 case $host_os in5324 aix[4-9]*)5325 lt_cv_deplibs_check_method=pass_all5326 ;;5327 5328 beos*)5329 lt_cv_deplibs_check_method=pass_all5330 ;;5331 5332 bsdi[45]*)5333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'5334 lt_cv_file_magic_cmd='/usr/bin/file -L'5335 lt_cv_file_magic_test_file=/shlib/libc.so5336 ;;5337 5338 cygwin*)5339 # func_win32_libid is a shell function defined in ltmain.sh5340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'5341 lt_cv_file_magic_cmd='func_win32_libid'5342 ;;5343 5344 mingw* | pw32*)5345 # Base MSYS/MinGW do not provide the 'file' command needed by5346 # func_win32_libid shell function, so use a weaker test based on 'objdump',5347 # unless we find 'file', for example because we are cross-compiling.5348 if ( file / ) >/dev/null 2>&1; then5349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'5350 lt_cv_file_magic_cmd='func_win32_libid'5351 else5352 # Keep this pattern in sync with the one in func_win32_libid.5353 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'5354 lt_cv_file_magic_cmd='$OBJDUMP -f'5355 fi5356 ;;5357 5358 cegcc*)5359 # use the weaker test based on 'objdump'. See mingw*.5360 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'5361 lt_cv_file_magic_cmd='$OBJDUMP -f'5362 ;;5363 5364 darwin* | rhapsody*)5365 lt_cv_deplibs_check_method=pass_all5366 ;;5367 5368 freebsd* | dragonfly*)5369 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then5370 case $host_cpu in5371 i*86 )5372 # Not sure whether the presence of OpenBSD here was a mistake.5373 # Let's accept both of them until this is cleared up.5374 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'5375 lt_cv_file_magic_cmd=/usr/bin/file5376 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`5377 ;;5378 esac5379 else5380 lt_cv_deplibs_check_method=pass_all5381 fi5382 ;;5383 5384 haiku*)5385 lt_cv_deplibs_check_method=pass_all5386 ;;5387 5388 hpux10.20* | hpux11*)5389 lt_cv_file_magic_cmd=/usr/bin/file5390 case $host_cpu in5391 ia64*)5392 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'5393 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so5394 ;;5395 hppa*64*)5396 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]'5397 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl5398 ;;5399 *)5400 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'5401 lt_cv_file_magic_test_file=/usr/lib/libc.sl5402 ;;5403 esac5404 ;;5405 5406 interix[3-9]*)5407 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here5408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'5409 ;;5410 5411 irix5* | irix6* | nonstopux*)5412 case $LD in5413 *-32|*"-32 ") libmagic=32-bit;;5414 *-n32|*"-n32 ") libmagic=N32;;5415 *-64|*"-64 ") libmagic=64-bit;;5416 *) libmagic=never-match;;5417 esac5418 lt_cv_deplibs_check_method=pass_all5419 ;;5420 5421 # This must be glibc/ELF.5422 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)5423 lt_cv_deplibs_check_method=pass_all5424 ;;5425 5426 netbsd* | netbsdelf*-gnu)5427 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then5428 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'5429 else5430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'5431 fi5432 ;;5433 5434 newos6*)5435 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'5436 lt_cv_file_magic_cmd=/usr/bin/file5437 lt_cv_file_magic_test_file=/usr/lib/libnls.so5438 ;;5439 5440 *nto* | *qnx*)5441 lt_cv_deplibs_check_method=pass_all5442 ;;5443 5444 openbsd* | bitrig*)5445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then5446 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'5447 else5448 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'5449 fi5450 ;;5451 5452 osf3* | osf4* | osf5*)5453 lt_cv_deplibs_check_method=pass_all5454 ;;5455 5456 rdos*)5457 lt_cv_deplibs_check_method=pass_all5458 ;;5459 5460 solaris*)5461 lt_cv_deplibs_check_method=pass_all5462 ;;5463 5464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)5465 lt_cv_deplibs_check_method=pass_all5466 ;;5467 5468 sysv4 | sysv4.3*)5469 case $host_vendor in5470 motorola)5471 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]'5472 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`5473 ;;5474 ncr)5475 lt_cv_deplibs_check_method=pass_all5476 ;;5477 sequent)5478 lt_cv_file_magic_cmd='/bin/file'5479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'5480 ;;5481 sni)5482 lt_cv_file_magic_cmd='/bin/file'5483 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"5484 lt_cv_file_magic_test_file=/lib/libc.so5485 ;;5486 siemens)5487 lt_cv_deplibs_check_method=pass_all5488 ;;5489 pc)5490 lt_cv_deplibs_check_method=pass_all5491 ;;5492 esac5493 ;;5494 5495 tpf*)5496 lt_cv_deplibs_check_method=pass_all5497 ;;5498 os2*)5499 lt_cv_deplibs_check_method=pass_all5500 ;;5501 esac5502 5503 fi5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&55505 $as_echo "$lt_cv_deplibs_check_method" >&6; }5506 5507 file_magic_glob=5508 want_nocaseglob=no5509 if test "$build" = "$host"; then5510 case $host_os in5511 mingw* | pw32*)5512 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then5513 want_nocaseglob=yes5514 else5515 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`5516 fi5517 ;;5518 esac5519 fi5520 5521 file_magic_cmd=$lt_cv_file_magic_cmd5522 deplibs_check_method=$lt_cv_deplibs_check_method5523 test -z "$deplibs_check_method" && deplibs_check_method=unknown5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 if test -n "$ac_tool_prefix"; then5547 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.5548 set dummy ${ac_tool_prefix}dlltool; ac_word=$25549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55550 $as_echo_n "checking for $ac_word... " >&6; }5551 if ${ac_cv_prog_DLLTOOL+:} false; then :5552 $as_echo_n "(cached) " >&65553 else5554 if test -n "$DLLTOOL"; then5555 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.5556 else5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5558 for as_dir in $PATH5559 do5560 IFS=$as_save_IFS5561 test -z "$as_dir" && as_dir=.5562 for ac_exec_ext in '' $ac_executable_extensions; do5563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5564 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55566 break 25567 fi5568 done5569 done5570 IFS=$as_save_IFS5571 5572 fi5573 fi5574 DLLTOOL=$ac_cv_prog_DLLTOOL5575 if test -n "$DLLTOOL"; then5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&55577 $as_echo "$DLLTOOL" >&6; }5578 else5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55580 $as_echo "no" >&6; }5581 fi5582 5583 5584 fi5585 if test -z "$ac_cv_prog_DLLTOOL"; then5586 ac_ct_DLLTOOL=$DLLTOOL5587 # Extract the first word of "dlltool", so it can be a program name with args.5588 set dummy dlltool; ac_word=$25589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55590 $as_echo_n "checking for $ac_word... " >&6; }5591 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :5592 $as_echo_n "(cached) " >&65593 else5594 if test -n "$ac_ct_DLLTOOL"; then5595 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.5596 else5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5598 for as_dir in $PATH5599 do5600 IFS=$as_save_IFS5601 test -z "$as_dir" && as_dir=.5602 for ac_exec_ext in '' $ac_executable_extensions; do5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5604 ac_cv_prog_ac_ct_DLLTOOL="dlltool"5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55606 break 25607 fi5608 done5609 done5610 IFS=$as_save_IFS5611 5612 fi5613 fi5614 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL5615 if test -n "$ac_ct_DLLTOOL"; then5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&55617 $as_echo "$ac_ct_DLLTOOL" >&6; }5618 else5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55620 $as_echo "no" >&6; }5621 fi5622 5623 if test "x$ac_ct_DLLTOOL" = x; then5624 DLLTOOL="false"5625 else5626 case $cross_compiling:$ac_tool_warned in5627 yes:)5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5630 ac_tool_warned=yes ;;5631 esac5632 DLLTOOL=$ac_ct_DLLTOOL5633 fi5634 else5635 DLLTOOL="$ac_cv_prog_DLLTOOL"5636 fi5637 5638 test -z "$DLLTOOL" && DLLTOOL=dlltool5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&55650 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }5651 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :5652 $as_echo_n "(cached) " >&65653 else5654 lt_cv_sharedlib_from_linklib_cmd='unknown'5655 5656 case $host_os in5657 cygwin* | mingw* | pw32* | cegcc*)5658 # two different shell functions defined in ltmain.sh;5659 # decide which one to use based on capabilities of $DLLTOOL5660 case `$DLLTOOL --help 2>&1` in5661 *--identify-strict*)5662 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib5663 ;;5664 *)5665 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback5666 ;;5667 esac5668 ;;5669 *)5670 # fallback: assume linklib IS sharedlib5671 lt_cv_sharedlib_from_linklib_cmd=$ECHO5672 ;;5673 esac5674 5675 fi5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&55677 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }5678 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd5679 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO5680 5681 5682 5683 5684 5685 5686 5687 5688 if test -n "$ac_tool_prefix"; then5689 for ac_prog in ar5690 do5691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.5692 set dummy $ac_tool_prefix$ac_prog; ac_word=$25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55694 $as_echo_n "checking for $ac_word... " >&6; }5695 if ${ac_cv_prog_AR+:} false; then :5696 $as_echo_n "(cached) " >&65697 else5698 if test -n "$AR"; then5699 ac_cv_prog_AR="$AR" # Let the user override the test.5700 else5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5702 for as_dir in $PATH5703 do5704 IFS=$as_save_IFS5705 test -z "$as_dir" && as_dir=.5706 for ac_exec_ext in '' $ac_executable_extensions; do5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5708 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55710 break 25711 fi5712 done5713 done5714 IFS=$as_save_IFS5715 5716 fi5717 fi5718 AR=$ac_cv_prog_AR5719 if test -n "$AR"; then5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&55721 $as_echo "$AR" >&6; }5722 else5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55724 $as_echo "no" >&6; }5725 fi5726 5727 5728 test -n "$AR" && break5729 done5730 fi5731 if test -z "$AR"; then5732 ac_ct_AR=$AR5733 for ac_prog in ar5734 do5735 # Extract the first word of "$ac_prog", so it can be a program name with args.5736 set dummy $ac_prog; ac_word=$25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55738 $as_echo_n "checking for $ac_word... " >&6; }5739 if ${ac_cv_prog_ac_ct_AR+:} false; then :5740 $as_echo_n "(cached) " >&65741 else5742 if test -n "$ac_ct_AR"; then5743 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.5744 else5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5746 for as_dir in $PATH5747 do5748 IFS=$as_save_IFS5749 test -z "$as_dir" && as_dir=.5750 for ac_exec_ext in '' $ac_executable_extensions; do5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5752 ac_cv_prog_ac_ct_AR="$ac_prog"5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55754 break 25755 fi5756 done5757 done5758 IFS=$as_save_IFS5759 5760 fi5761 fi5762 ac_ct_AR=$ac_cv_prog_ac_ct_AR5763 if test -n "$ac_ct_AR"; then5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&55765 $as_echo "$ac_ct_AR" >&6; }5766 else5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55768 $as_echo "no" >&6; }5769 fi5770 5771 5772 test -n "$ac_ct_AR" && break5773 done5774 5775 if test "x$ac_ct_AR" = x; then5776 AR="false"5777 else5778 case $cross_compiling:$ac_tool_warned in5779 yes:)5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5782 ac_tool_warned=yes ;;5783 esac5784 AR=$ac_ct_AR5785 fi5786 fi5787 5788 : ${AR=ar}5789 : ${AR_FLAGS=cru}5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&55802 $as_echo_n "checking for archiver @FILE support... " >&6; }5803 if ${lt_cv_ar_at_file+:} false; then :5804 $as_echo_n "(cached) " >&65805 else5806 lt_cv_ar_at_file=no5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext5808 /* end confdefs.h. */5809 5810 int5811 main ()5812 {5813 5814 ;5815 return 0;5816 }5817 _ACEOF5818 if ac_fn_c_try_compile "$LINENO"; then :5819 echo conftest.$ac_objext > conftest.lst5820 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'5821 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&55822 (eval $lt_ar_try) 2>&55823 ac_status=$?5824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55825 test $ac_status = 0; }5826 if test 0 -eq "$ac_status"; then5827 # Ensure the archiver fails upon bogus file names.5828 rm -f conftest.$ac_objext libconftest.a5829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&55830 (eval $lt_ar_try) 2>&55831 ac_status=$?5832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&55833 test $ac_status = 0; }5834 if test 0 -ne "$ac_status"; then5835 lt_cv_ar_at_file=@5836 fi5837 fi5838 rm -f conftest.* libconftest.a5839 5840 fi5841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext5842 5843 fi5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&55845 $as_echo "$lt_cv_ar_at_file" >&6; }5846 5847 if test no = "$lt_cv_ar_at_file"; then5848 archiver_list_spec=5849 else5850 archiver_list_spec=$lt_cv_ar_at_file5851 fi5852 5853 5854 5855 5856 5857 5858 5859 if test -n "$ac_tool_prefix"; then5860 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.5861 set dummy ${ac_tool_prefix}strip; ac_word=$25862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55863 $as_echo_n "checking for $ac_word... " >&6; }5864 if ${ac_cv_prog_STRIP+:} false; then :5865 $as_echo_n "(cached) " >&65866 else5867 if test -n "$STRIP"; then5868 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.5869 else5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5871 for as_dir in $PATH5872 do5873 IFS=$as_save_IFS5874 test -z "$as_dir" && as_dir=.5875 for ac_exec_ext in '' $ac_executable_extensions; do5876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5877 ac_cv_prog_STRIP="${ac_tool_prefix}strip"5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55879 break 25880 fi5881 done5882 done5883 IFS=$as_save_IFS5884 5885 fi5886 fi5887 STRIP=$ac_cv_prog_STRIP5888 if test -n "$STRIP"; then5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&55890 $as_echo "$STRIP" >&6; }5891 else5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55893 $as_echo "no" >&6; }5894 fi5895 5896 5897 fi5898 if test -z "$ac_cv_prog_STRIP"; then5899 ac_ct_STRIP=$STRIP5900 # Extract the first word of "strip", so it can be a program name with args.5901 set dummy strip; ac_word=$25902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55903 $as_echo_n "checking for $ac_word... " >&6; }5904 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :5905 $as_echo_n "(cached) " >&65906 else5907 if test -n "$ac_ct_STRIP"; then5908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.5909 else5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5911 for as_dir in $PATH5912 do5913 IFS=$as_save_IFS5914 test -z "$as_dir" && as_dir=.5915 for ac_exec_ext in '' $ac_executable_extensions; do5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5917 ac_cv_prog_ac_ct_STRIP="strip"5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55919 break 25920 fi5921 done5922 done5923 IFS=$as_save_IFS5924 5925 fi5926 fi5927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP5928 if test -n "$ac_ct_STRIP"; then5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&55930 $as_echo "$ac_ct_STRIP" >&6; }5931 else5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55933 $as_echo "no" >&6; }5934 fi5935 5936 if test "x$ac_ct_STRIP" = x; then5937 STRIP=":"5938 else5939 case $cross_compiling:$ac_tool_warned in5940 yes:)5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&55942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}5943 ac_tool_warned=yes ;;5944 esac5945 STRIP=$ac_ct_STRIP5946 fi5947 else5948 STRIP="$ac_cv_prog_STRIP"5949 fi5950 5951 test -z "$STRIP" && STRIP=:5952 5953 5954 5955 5956 5957 5958 if test -n "$ac_tool_prefix"; then5959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.5960 set dummy ${ac_tool_prefix}ranlib; ac_word=$25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&55962 $as_echo_n "checking for $ac_word... " >&6; }5963 if ${ac_cv_prog_RANLIB+:} false; then :5964 $as_echo_n "(cached) " >&65965 else5966 if test -n "$RANLIB"; then5967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.5968 else5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR5970 for as_dir in $PATH5971 do5972 IFS=$as_save_IFS5973 test -z "$as_dir" && as_dir=.5974 for ac_exec_ext in '' $ac_executable_extensions; do5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then5976 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&55978 break 25979 fi5980 done5981 done5982 IFS=$as_save_IFS5983 5984 fi5985 fi5986 RANLIB=$ac_cv_prog_RANLIB5987 if test -n "$RANLIB"; then5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&55989 $as_echo "$RANLIB" >&6; }5990 else5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&55992 $as_echo "no" >&6; }5993 fi5994 5995 5996 fi5997 if test -z "$ac_cv_prog_RANLIB"; then5998 ac_ct_RANLIB=$RANLIB5999 # Extract the first word of "ranlib", so it can be a program name with args.6000 set dummy ranlib; ac_word=$26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56002 $as_echo_n "checking for $ac_word... " >&6; }6003 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :6004 $as_echo_n "(cached) " >&66005 else6006 if test -n "$ac_ct_RANLIB"; then6007 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.6008 else6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6010 for as_dir in $PATH6011 do6012 IFS=$as_save_IFS6013 test -z "$as_dir" && as_dir=.6014 for ac_exec_ext in '' $ac_executable_extensions; do6015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6016 ac_cv_prog_ac_ct_RANLIB="ranlib"6017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56018 break 26019 fi6020 done6021 done6022 IFS=$as_save_IFS6023 6024 fi6025 fi6026 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB6027 if test -n "$ac_ct_RANLIB"; then6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&56029 $as_echo "$ac_ct_RANLIB" >&6; }6030 else6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56032 $as_echo "no" >&6; }6033 fi6034 6035 if test "x$ac_ct_RANLIB" = x; then6036 RANLIB=":"6037 else6038 case $cross_compiling:$ac_tool_warned in6039 yes:)6040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6042 ac_tool_warned=yes ;;6043 esac6044 RANLIB=$ac_ct_RANLIB6045 fi6046 else6047 RANLIB="$ac_cv_prog_RANLIB"6048 fi6049 6050 test -z "$RANLIB" && RANLIB=:6051 6052 6053 6054 6055 6056 6057 # Determine commands to create old-style static archives.6058 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'6059 old_postinstall_cmds='chmod 644 $oldlib'6060 old_postuninstall_cmds=6061 6062 if test -n "$RANLIB"; then6063 case $host_os in6064 bitrig* | openbsd*)6065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"6066 ;;6067 *)6068 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"6069 ;;6070 esac6071 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"6072 fi6073 6074 case $host_os in6075 darwin*)6076 lock_old_archive_extraction=yes ;;6077 *)6078 lock_old_archive_extraction=no ;;6079 esac6080 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 6117 6118 6119 # If no C compiler was specified, use CC.6120 LTCC=${LTCC-"$CC"}6121 6122 # If no C compiler flags were specified, use CFLAGS.6123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}6124 6125 # Allow CC to be a program name with arguments.6126 compiler=$CC6127 6128 6129 # Check for command to grab the raw symbol name followed by C symbol from nm.6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&56131 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }6132 if ${lt_cv_sys_global_symbol_pipe+:} false; then :6133 $as_echo_n "(cached) " >&66134 else6135 6136 # These are sane defaults that work on at least a few old systems.6137 # [They come from Ultrix. What could be older than Ultrix?!! ;)]6138 6139 # Character class describing NM global symbol codes.6140 symcode='[BCDEGRST]'6141 6142 # Regexp to match symbols that can be accessed directly from C.6143 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'6144 6145 # Define system-specific variables.6146 case $host_os in6147 aix*)6148 symcode='[BCDT]'6149 ;;6150 cygwin* | mingw* | pw32* | cegcc*)6151 symcode='[ABCDGISTW]'6152 ;;6153 hpux*)6154 if test ia64 = "$host_cpu"; then6155 symcode='[ABCDEGRST]'6156 fi6157 ;;6158 irix* | nonstopux*)6159 symcode='[BCDEGRST]'6160 ;;6161 osf*)6162 symcode='[BCDEGQRST]'6163 ;;6164 solaris*)6165 symcode='[BDRT]'6166 ;;6167 sco3.2v5*)6168 symcode='[DT]'6169 ;;6170 sysv4.2uw2*)6171 symcode='[DT]'6172 ;;6173 sysv5* | sco5v6* | unixware* | OpenUNIX*)6174 symcode='[ABDT]'6175 ;;6176 sysv4)6177 symcode='[DFNSTU]'6178 ;;6179 esac6180 6181 # If we're using GNU nm, then use its standard symbol codes.6182 case `$NM -V 2>&1` in6183 *GNU* | *'with BFD'*)6184 symcode='[ABCDGIRSTW]' ;;6185 esac6186 6187 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6188 # Gets list of data symbols to import.6189 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"6190 # Adjust the below global symbol transforms to fixup imported variables.6191 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"6192 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"6193 lt_c_name_lib_hook="\6194 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\6195 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"6196 else6197 # Disable hooks by default.6198 lt_cv_sys_global_symbol_to_import=6199 lt_cdecl_hook=6200 lt_c_name_hook=6201 lt_c_name_lib_hook=6202 fi6203 6204 # Transform an extracted symbol line into a proper C declaration.6205 # Some systems (esp. on ia64) link data and code symbols differently,6206 # so use this general approach.6207 lt_cv_sys_global_symbol_to_cdecl="sed -n"\6208 $lt_cdecl_hook\6209 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\6210 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"6211 6212 # Transform an extracted symbol line into symbol name and symbol address6213 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\6214 $lt_c_name_hook\6215 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\6216 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"6217 6218 # Transform an extracted symbol line into symbol name with lib prefix and6219 # symbol address.6220 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\6221 $lt_c_name_lib_hook\6222 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\6223 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\6224 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"6225 6226 # Handle CRLF in mingw tool chain6227 opt_cr=6228 case $build_os in6229 mingw*)6230 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp6231 ;;6232 esac6233 6234 # Try without a prefix underscore, then with it.6235 for ac_symprfx in "" "_"; do6236 6237 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.6238 symxfrm="\\1 $ac_symprfx\\2 \\2"6239 6240 # Write the raw and C identifiers.6241 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6242 # Fake it for dumpbin and say T for any non-static function,6243 # D for any global variable and I for any imported variable.6244 # Also find C++ and __fastcall symbols from MSVC++,6245 # which start with @ or ?.6246 lt_cv_sys_global_symbol_pipe="$AWK '"\6247 " {last_section=section; section=\$ 3};"\6248 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\6249 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\6250 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\6251 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\6252 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\6253 " \$ 0!~/External *\|/{next};"\6254 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\6255 " {if(hide[section]) next};"\6256 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\6257 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\6258 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\6259 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\6260 " ' prfx=^$ac_symprfx"6261 else6262 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"6263 fi6264 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"6265 6266 # Check to see that the pipe works correctly.6267 pipe_works=no6268 6269 rm -f conftest*6270 cat > conftest.$ac_ext <<_LT_EOF6271 #ifdef __cplusplus6272 extern "C" {6273 #endif6274 char nm_test_var;6275 void nm_test_func(void);6276 void nm_test_func(void){}6277 #ifdef __cplusplus6278 }6279 #endif6280 int main(){nm_test_var='a';nm_test_func();return(0);}6281 _LT_EOF6282 6283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56284 (eval $ac_compile) 2>&56285 ac_status=$?6286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56287 test $ac_status = 0; }; then6288 # Now try to grab the symbols.6289 nlist=conftest.nm6290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&56291 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&56292 ac_status=$?6293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56294 test $ac_status = 0; } && test -s "$nlist"; then6295 # Try sorting and uniquifying the output.6296 if sort "$nlist" | uniq > "$nlist"T; then6297 mv -f "$nlist"T "$nlist"6298 else6299 rm -f "$nlist"T6300 fi6301 6302 # Make sure that we snagged all the symbols we need.6303 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then6304 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then6305 cat <<_LT_EOF > conftest.$ac_ext6306 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */6307 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE6308 /* DATA imports from DLLs on WIN32 can't be const, because runtime6309 relocations are performed -- see ld's documentation on pseudo-relocs. */6310 # define LT_DLSYM_CONST6311 #elif defined __osf__6312 /* This system does not cope well with relocations in const data. */6313 # define LT_DLSYM_CONST6314 #else6315 # define LT_DLSYM_CONST const6316 #endif6317 6318 #ifdef __cplusplus6319 extern "C" {6320 #endif6321 6322 _LT_EOF6323 # Now generate the symbol file.6324 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'6325 6326 cat <<_LT_EOF >> conftest.$ac_ext6327 6328 /* The mapping between symbol names and symbols. */6329 LT_DLSYM_CONST struct {6330 const char *name;6331 void *address;6332 }6333 lt__PROGRAM__LTX_preloaded_symbols[] =6334 {6335 { "@PROGRAM@", (void *) 0 },6336 _LT_EOF6337 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext6338 cat <<\_LT_EOF >> conftest.$ac_ext6339 {0, (void *) 0}6340 };6341 6342 /* This works around a problem in FreeBSD linker */6343 #ifdef FREEBSD_WORKAROUND6344 static const void *lt_preloaded_setup() {6345 return lt__PROGRAM__LTX_preloaded_symbols;6346 }6347 #endif6348 6349 #ifdef __cplusplus6350 }6351 #endif6352 _LT_EOF6353 # Now try linking the two files.6354 mv conftest.$ac_objext conftstm.$ac_objext6355 lt_globsym_save_LIBS=$LIBS6356 lt_globsym_save_CFLAGS=$CFLAGS6357 LIBS=conftstm.$ac_objext6358 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"6359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&56360 (eval $ac_link) 2>&56361 ac_status=$?6362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56363 test $ac_status = 0; } && test -s conftest$ac_exeext; then6364 pipe_works=yes6365 fi6366 LIBS=$lt_globsym_save_LIBS6367 CFLAGS=$lt_globsym_save_CFLAGS6368 else6369 echo "cannot find nm_test_func in $nlist" >&56370 fi6371 else6372 echo "cannot find nm_test_var in $nlist" >&56373 fi6374 else6375 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&56376 fi6377 else6378 echo "$progname: failed program was:" >&56379 cat conftest.$ac_ext >&56380 fi6381 rm -rf conftest* conftst*6382 6383 # Do not use the global_symbol_pipe unless it works.6384 if test yes = "$pipe_works"; then6385 break6386 else6387 lt_cv_sys_global_symbol_pipe=6388 fi6389 done6390 6391 fi6392 6393 if test -z "$lt_cv_sys_global_symbol_pipe"; then6394 lt_cv_sys_global_symbol_to_cdecl=6395 fi6396 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&56398 $as_echo "failed" >&6; }6399 else6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&56401 $as_echo "ok" >&6; }6402 fi6403 6404 # Response file support.6405 if test "$lt_cv_nm_interface" = "MS dumpbin"; then6406 nm_file_list_spec='@'6407 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then6408 nm_file_list_spec='@'6409 fi6410 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 6445 6446 6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&56448 $as_echo_n "checking for sysroot... " >&6; }6449 6450 # Check whether --with-sysroot was given.6451 if test "${with_sysroot+set}" = set; then :6452 withval=$with_sysroot;6453 else6454 with_sysroot=no6455 fi6456 6457 6458 lt_sysroot=6459 case $with_sysroot in #(6460 yes)6461 if test yes = "$GCC"; then6462 lt_sysroot=`$CC --print-sysroot 2>/dev/null`6463 fi6464 ;; #(6465 /*)6466 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`6467 ;; #(6468 no|'')6469 ;; #(6470 *)6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&56472 $as_echo "$with_sysroot" >&6; }6473 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 56474 ;;6475 esac6476 6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&56478 $as_echo "${lt_sysroot:-no}" >&6; }6479 6480 6481 6482 6483 6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&56485 $as_echo_n "checking for a working dd... " >&6; }6486 if ${ac_cv_path_lt_DD+:} false; then :6487 $as_echo_n "(cached) " >&66488 else6489 printf 0123456789abcdef0123456789abcdef >conftest.i6490 cat conftest.i conftest.i >conftest2.i6491 : ${lt_DD:=$DD}6492 if test -z "$lt_DD"; then6493 ac_path_lt_DD_found=false6494 # Loop through the user's path and test for each of PROGNAME-LIST6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6496 for as_dir in $PATH6497 do6498 IFS=$as_save_IFS6499 test -z "$as_dir" && as_dir=.6500 for ac_prog in dd; do6501 for ac_exec_ext in '' $ac_executable_extensions; do6502 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"6503 as_fn_executable_p "$ac_path_lt_DD" || continue6504 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then6505 cmp -s conftest.i conftest.out \6506 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:6507 fi6508 $ac_path_lt_DD_found && break 36509 done6510 done6511 done6512 IFS=$as_save_IFS6513 if test -z "$ac_cv_path_lt_DD"; then6514 :6515 fi6516 else6517 ac_cv_path_lt_DD=$lt_DD6518 fi6519 6520 rm -f conftest.i conftest2.i conftest.out6521 fi6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&56523 $as_echo "$ac_cv_path_lt_DD" >&6; }6524 6525 6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&56527 $as_echo_n "checking how to truncate binary pipes... " >&6; }6528 if ${lt_cv_truncate_bin+:} false; then :6529 $as_echo_n "(cached) " >&66530 else6531 printf 0123456789abcdef0123456789abcdef >conftest.i6532 cat conftest.i conftest.i >conftest2.i6533 lt_cv_truncate_bin=6534 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then6535 cmp -s conftest.i conftest.out \6536 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"6537 fi6538 rm -f conftest.i conftest2.i conftest.out6539 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"6540 fi6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&56542 $as_echo "$lt_cv_truncate_bin" >&6; }6543 6544 6545 6546 6547 6548 6549 6550 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.6551 func_cc_basename ()6552 {6553 for cc_temp in $*""; do6554 case $cc_temp in6555 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;6556 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;6557 \-*) ;;6558 *) break;;6559 esac6560 done6561 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`6562 }6563 6564 # Check whether --enable-libtool-lock was given.6565 if test "${enable_libtool_lock+set}" = set; then :6566 enableval=$enable_libtool_lock;6567 fi6568 6569 test no = "$enable_libtool_lock" || enable_libtool_lock=yes6570 6571 # Some flags need to be propagated to the compiler or linker for good6572 # libtool support.6573 case $host in6574 ia64-*-hpux*)6575 # Find out what ABI is being produced by ac_compile, and set mode6576 # options accordingly.6577 echo 'int i;' > conftest.$ac_ext6578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56579 (eval $ac_compile) 2>&56580 ac_status=$?6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56582 test $ac_status = 0; }; then6583 case `/usr/bin/file conftest.$ac_objext` in6584 *ELF-32*)6585 HPUX_IA64_MODE=326586 ;;6587 *ELF-64*)6588 HPUX_IA64_MODE=646589 ;;6590 esac6591 fi6592 rm -rf conftest*6593 ;;6594 *-*-irix6*)6595 # Find out what ABI is being produced by ac_compile, and set linker6596 # options accordingly.6597 echo '#line '$LINENO' "configure"' > conftest.$ac_ext6598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56599 (eval $ac_compile) 2>&56600 ac_status=$?6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56602 test $ac_status = 0; }; then6603 if test yes = "$lt_cv_prog_gnu_ld"; then6604 case `/usr/bin/file conftest.$ac_objext` in6605 *32-bit*)6606 LD="${LD-ld} -melf32bsmip"6607 ;;6608 *N32*)6609 LD="${LD-ld} -melf32bmipn32"6610 ;;6611 *64-bit*)6612 LD="${LD-ld} -melf64bmip"6613 ;;6614 esac6615 else6616 case `/usr/bin/file conftest.$ac_objext` in6617 *32-bit*)6618 LD="${LD-ld} -32"6619 ;;6620 *N32*)6621 LD="${LD-ld} -n32"6622 ;;6623 *64-bit*)6624 LD="${LD-ld} -64"6625 ;;6626 esac6627 fi6628 fi6629 rm -rf conftest*6630 ;;6631 6632 mips64*-*linux*)6633 # Find out what ABI is being produced by ac_compile, and set linker6634 # options accordingly.6635 echo '#line '$LINENO' "configure"' > conftest.$ac_ext6636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56637 (eval $ac_compile) 2>&56638 ac_status=$?6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56640 test $ac_status = 0; }; then6641 emul=elf6642 case `/usr/bin/file conftest.$ac_objext` in6643 *32-bit*)6644 emul="${emul}32"6645 ;;6646 *64-bit*)6647 emul="${emul}64"6648 ;;6649 esac6650 case `/usr/bin/file conftest.$ac_objext` in6651 *MSB*)6652 emul="${emul}btsmip"6653 ;;6654 *LSB*)6655 emul="${emul}ltsmip"6656 ;;6657 esac6658 case `/usr/bin/file conftest.$ac_objext` in6659 *N32*)6660 emul="${emul}n32"6661 ;;6662 esac6663 LD="${LD-ld} -m $emul"6664 fi6665 rm -rf conftest*6666 ;;6667 6668 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \6669 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)6670 # Find out what ABI is being produced by ac_compile, and set linker6671 # options accordingly. Note that the listed cases only cover the6672 # situations where additional linker options are needed (such as when6673 # doing 32-bit compilation for a host where ld defaults to 64-bit, or6674 # vice versa); the common cases where no linker options are needed do6675 # not appear in the list.6676 echo 'int i;' > conftest.$ac_ext6677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56678 (eval $ac_compile) 2>&56679 ac_status=$?6680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56681 test $ac_status = 0; }; then6682 case `/usr/bin/file conftest.o` in6683 *32-bit*)6684 case $host in6685 x86_64-*kfreebsd*-gnu)6686 LD="${LD-ld} -m elf_i386_fbsd"6687 ;;6688 x86_64-*linux*)6689 case `/usr/bin/file conftest.o` in6690 *x86-64*)6691 LD="${LD-ld} -m elf32_x86_64"6692 ;;6693 *)6694 LD="${LD-ld} -m elf_i386"6695 ;;6696 esac6697 ;;6698 powerpc64le-*linux*)6699 LD="${LD-ld} -m elf32lppclinux"6700 ;;6701 powerpc64-*linux*)6702 LD="${LD-ld} -m elf32ppclinux"6703 ;;6704 s390x-*linux*)6705 LD="${LD-ld} -m elf_s390"6706 ;;6707 sparc64-*linux*)6708 LD="${LD-ld} -m elf32_sparc"6709 ;;6710 esac6711 ;;6712 *64-bit*)6713 case $host in6714 x86_64-*kfreebsd*-gnu)6715 LD="${LD-ld} -m elf_x86_64_fbsd"6716 ;;6717 x86_64-*linux*)6718 LD="${LD-ld} -m elf_x86_64"6719 ;;6720 powerpcle-*linux*)6721 LD="${LD-ld} -m elf64lppc"6722 ;;6723 powerpc-*linux*)6724 LD="${LD-ld} -m elf64ppc"6725 ;;6726 s390*-*linux*|s390*-*tpf*)6727 LD="${LD-ld} -m elf64_s390"6728 ;;6729 sparc*-*linux*)6730 LD="${LD-ld} -m elf64_sparc"6731 ;;6732 esac6733 ;;6734 esac6735 fi6736 rm -rf conftest*6737 ;;6738 6739 *-*-sco3.2v5*)6740 # On SCO OpenServer 5, we need -belf to get full-featured binaries.6741 SAVE_CFLAGS=$CFLAGS6742 CFLAGS="$CFLAGS -belf"6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&56744 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }6745 if ${lt_cv_cc_needs_belf+:} false; then :6746 $as_echo_n "(cached) " >&66747 else6748 ac_ext=c6749 ac_cpp='$CPP $CPPFLAGS'6750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6752 ac_compiler_gnu=$ac_cv_c_compiler_gnu6753 6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext6755 /* end confdefs.h. */6756 6757 int6758 main ()6759 {6760 6761 ;6762 return 0;6763 }6764 _ACEOF6765 if ac_fn_c_try_link "$LINENO"; then :6766 lt_cv_cc_needs_belf=yes6767 else6768 lt_cv_cc_needs_belf=no6769 fi6770 rm -f core conftest.err conftest.$ac_objext \6771 conftest$ac_exeext conftest.$ac_ext6772 ac_ext=c6773 ac_cpp='$CPP $CPPFLAGS'6774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'6775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'6776 ac_compiler_gnu=$ac_cv_c_compiler_gnu6777 6778 fi6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&56780 $as_echo "$lt_cv_cc_needs_belf" >&6; }6781 if test yes != "$lt_cv_cc_needs_belf"; then6782 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf6783 CFLAGS=$SAVE_CFLAGS6784 fi6785 ;;6786 *-*solaris*)6787 # Find out what ABI is being produced by ac_compile, and set linker6788 # options accordingly.6789 echo 'int i;' > conftest.$ac_ext6790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&56791 (eval $ac_compile) 2>&56792 ac_status=$?6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&56794 test $ac_status = 0; }; then6795 case `/usr/bin/file conftest.o` in6796 *64-bit*)6797 case $lt_cv_prog_gnu_ld in6798 yes*)6799 case $host in6800 i?86-*-solaris*|x86_64-*-solaris*)6801 LD="${LD-ld} -m elf_x86_64"6802 ;;6803 sparc*-*-solaris*)6804 LD="${LD-ld} -m elf64_sparc"6805 ;;6806 esac6807 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.6808 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then6809 LD=${LD-ld}_sol26810 fi6811 ;;6812 *)6813 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then6814 LD="${LD-ld} -64"6815 fi6816 ;;6817 esac6818 ;;6819 esac6820 fi6821 rm -rf conftest*6822 ;;6823 esac6824 6825 need_locks=$enable_libtool_lock6826 6827 if test -n "$ac_tool_prefix"; then6828 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.6829 set dummy ${ac_tool_prefix}mt; ac_word=$26830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56831 $as_echo_n "checking for $ac_word... " >&6; }6832 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :6833 $as_echo_n "(cached) " >&66834 else6835 if test -n "$MANIFEST_TOOL"; then6836 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.6837 else6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6839 for as_dir in $PATH6840 do6841 IFS=$as_save_IFS6842 test -z "$as_dir" && as_dir=.6843 for ac_exec_ext in '' $ac_executable_extensions; do6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6845 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56847 break 26848 fi6849 done6850 done6851 IFS=$as_save_IFS6852 6853 fi6854 fi6855 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL6856 if test -n "$MANIFEST_TOOL"; then6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&56858 $as_echo "$MANIFEST_TOOL" >&6; }6859 else6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56861 $as_echo "no" >&6; }6862 fi6863 6864 6865 fi6866 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then6867 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL6868 # Extract the first word of "mt", so it can be a program name with args.6869 set dummy mt; ac_word=$26870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56871 $as_echo_n "checking for $ac_word... " >&6; }6872 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :6873 $as_echo_n "(cached) " >&66874 else6875 if test -n "$ac_ct_MANIFEST_TOOL"; then6876 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.6877 else6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6879 for as_dir in $PATH6880 do6881 IFS=$as_save_IFS6882 test -z "$as_dir" && as_dir=.6883 for ac_exec_ext in '' $ac_executable_extensions; do6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6885 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56887 break 26888 fi6889 done6890 done6891 IFS=$as_save_IFS6892 6893 fi6894 fi6895 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL6896 if test -n "$ac_ct_MANIFEST_TOOL"; then6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&56898 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }6899 else6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56901 $as_echo "no" >&6; }6902 fi6903 6904 if test "x$ac_ct_MANIFEST_TOOL" = x; then6905 MANIFEST_TOOL=":"6906 else6907 case $cross_compiling:$ac_tool_warned in6908 yes:)6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&56910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}6911 ac_tool_warned=yes ;;6912 esac6913 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL6914 fi6915 else6916 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"6917 fi6918 6919 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&56921 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }6922 if ${lt_cv_path_mainfest_tool+:} false; then :6923 $as_echo_n "(cached) " >&66924 else6925 lt_cv_path_mainfest_tool=no6926 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&56927 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out6928 cat conftest.err >&56929 if $GREP 'Manifest Tool' conftest.out > /dev/null; then6930 lt_cv_path_mainfest_tool=yes6931 fi6932 rm -f conftest*6933 fi6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&56935 $as_echo "$lt_cv_path_mainfest_tool" >&6; }6936 if test yes != "$lt_cv_path_mainfest_tool"; then6937 MANIFEST_TOOL=:6938 fi6939 6940 6941 6942 6943 6944 6945 case $host_os in6946 rhapsody* | darwin*)6947 if test -n "$ac_tool_prefix"; then6948 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.6949 set dummy ${ac_tool_prefix}dsymutil; ac_word=$26950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56951 $as_echo_n "checking for $ac_word... " >&6; }6952 if ${ac_cv_prog_DSYMUTIL+:} false; then :6953 $as_echo_n "(cached) " >&66954 else6955 if test -n "$DSYMUTIL"; then6956 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.6957 else6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6959 for as_dir in $PATH6960 do6961 IFS=$as_save_IFS6962 test -z "$as_dir" && as_dir=.6963 for ac_exec_ext in '' $ac_executable_extensions; do6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then6965 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&56967 break 26968 fi6969 done6970 done6971 IFS=$as_save_IFS6972 6973 fi6974 fi6975 DSYMUTIL=$ac_cv_prog_DSYMUTIL6976 if test -n "$DSYMUTIL"; then6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&56978 $as_echo "$DSYMUTIL" >&6; }6979 else6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&56981 $as_echo "no" >&6; }6982 fi6983 6984 6985 fi6986 if test -z "$ac_cv_prog_DSYMUTIL"; then6987 ac_ct_DSYMUTIL=$DSYMUTIL6988 # Extract the first word of "dsymutil", so it can be a program name with args.6989 set dummy dsymutil; ac_word=$26990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&56991 $as_echo_n "checking for $ac_word... " >&6; }6992 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :6993 $as_echo_n "(cached) " >&66994 else6995 if test -n "$ac_ct_DSYMUTIL"; then6996 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.6997 else6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR6999 for as_dir in $PATH7000 do7001 IFS=$as_save_IFS7002 test -z "$as_dir" && as_dir=.7003 for ac_exec_ext in '' $ac_executable_extensions; do7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7005 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57007 break 27008 fi7009 done7010 done7011 IFS=$as_save_IFS7012 7013 fi7014 fi7015 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL7016 if test -n "$ac_ct_DSYMUTIL"; then7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&57018 $as_echo "$ac_ct_DSYMUTIL" >&6; }7019 else7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57021 $as_echo "no" >&6; }7022 fi7023 7024 if test "x$ac_ct_DSYMUTIL" = x; then7025 DSYMUTIL=":"7026 else7027 case $cross_compiling:$ac_tool_warned in7028 yes:)7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7031 ac_tool_warned=yes ;;7032 esac7033 DSYMUTIL=$ac_ct_DSYMUTIL7034 fi7035 else7036 DSYMUTIL="$ac_cv_prog_DSYMUTIL"7037 fi7038 7039 if test -n "$ac_tool_prefix"; then7040 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.7041 set dummy ${ac_tool_prefix}nmedit; ac_word=$27042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57043 $as_echo_n "checking for $ac_word... " >&6; }7044 if ${ac_cv_prog_NMEDIT+:} false; then :7045 $as_echo_n "(cached) " >&67046 else7047 if test -n "$NMEDIT"; then7048 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.7049 else7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7051 for as_dir in $PATH7052 do7053 IFS=$as_save_IFS7054 test -z "$as_dir" && as_dir=.7055 for ac_exec_ext in '' $ac_executable_extensions; do7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7057 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57059 break 27060 fi7061 done7062 done7063 IFS=$as_save_IFS7064 7065 fi7066 fi7067 NMEDIT=$ac_cv_prog_NMEDIT7068 if test -n "$NMEDIT"; then7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&57070 $as_echo "$NMEDIT" >&6; }7071 else7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57073 $as_echo "no" >&6; }7074 fi7075 7076 7077 fi7078 if test -z "$ac_cv_prog_NMEDIT"; then7079 ac_ct_NMEDIT=$NMEDIT7080 # Extract the first word of "nmedit", so it can be a program name with args.7081 set dummy nmedit; ac_word=$27082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57083 $as_echo_n "checking for $ac_word... " >&6; }7084 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :7085 $as_echo_n "(cached) " >&67086 else7087 if test -n "$ac_ct_NMEDIT"; then7088 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.7089 else7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7091 for as_dir in $PATH7092 do7093 IFS=$as_save_IFS7094 test -z "$as_dir" && as_dir=.7095 for ac_exec_ext in '' $ac_executable_extensions; do7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7097 ac_cv_prog_ac_ct_NMEDIT="nmedit"7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57099 break 27100 fi7101 done7102 done7103 IFS=$as_save_IFS7104 7105 fi7106 fi7107 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT7108 if test -n "$ac_ct_NMEDIT"; then7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&57110 $as_echo "$ac_ct_NMEDIT" >&6; }7111 else7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57113 $as_echo "no" >&6; }7114 fi7115 7116 if test "x$ac_ct_NMEDIT" = x; then7117 NMEDIT=":"7118 else7119 case $cross_compiling:$ac_tool_warned in7120 yes:)7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7123 ac_tool_warned=yes ;;7124 esac7125 NMEDIT=$ac_ct_NMEDIT7126 fi7127 else7128 NMEDIT="$ac_cv_prog_NMEDIT"7129 fi7130 7131 if test -n "$ac_tool_prefix"; then7132 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.7133 set dummy ${ac_tool_prefix}lipo; ac_word=$27134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57135 $as_echo_n "checking for $ac_word... " >&6; }7136 if ${ac_cv_prog_LIPO+:} false; then :7137 $as_echo_n "(cached) " >&67138 else7139 if test -n "$LIPO"; then7140 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.7141 else7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7143 for as_dir in $PATH7144 do7145 IFS=$as_save_IFS7146 test -z "$as_dir" && as_dir=.7147 for ac_exec_ext in '' $ac_executable_extensions; do7148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7149 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57151 break 27152 fi7153 done7154 done7155 IFS=$as_save_IFS7156 7157 fi7158 fi7159 LIPO=$ac_cv_prog_LIPO7160 if test -n "$LIPO"; then7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&57162 $as_echo "$LIPO" >&6; }7163 else7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57165 $as_echo "no" >&6; }7166 fi7167 7168 7169 fi7170 if test -z "$ac_cv_prog_LIPO"; then7171 ac_ct_LIPO=$LIPO7172 # Extract the first word of "lipo", so it can be a program name with args.7173 set dummy lipo; ac_word=$27174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57175 $as_echo_n "checking for $ac_word... " >&6; }7176 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :7177 $as_echo_n "(cached) " >&67178 else7179 if test -n "$ac_ct_LIPO"; then7180 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.7181 else7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7183 for as_dir in $PATH7184 do7185 IFS=$as_save_IFS7186 test -z "$as_dir" && as_dir=.7187 for ac_exec_ext in '' $ac_executable_extensions; do7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7189 ac_cv_prog_ac_ct_LIPO="lipo"7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57191 break 27192 fi7193 done7194 done7195 IFS=$as_save_IFS7196 7197 fi7198 fi7199 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO7200 if test -n "$ac_ct_LIPO"; then7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&57202 $as_echo "$ac_ct_LIPO" >&6; }7203 else7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57205 $as_echo "no" >&6; }7206 fi7207 7208 if test "x$ac_ct_LIPO" = x; then7209 LIPO=":"7210 else7211 case $cross_compiling:$ac_tool_warned in7212 yes:)7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7215 ac_tool_warned=yes ;;7216 esac7217 LIPO=$ac_ct_LIPO7218 fi7219 else7220 LIPO="$ac_cv_prog_LIPO"7221 fi7222 7223 if test -n "$ac_tool_prefix"; then7224 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.7225 set dummy ${ac_tool_prefix}otool; ac_word=$27226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57227 $as_echo_n "checking for $ac_word... " >&6; }7228 if ${ac_cv_prog_OTOOL+:} false; then :7229 $as_echo_n "(cached) " >&67230 else7231 if test -n "$OTOOL"; then7232 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.7233 else7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7235 for as_dir in $PATH7236 do7237 IFS=$as_save_IFS7238 test -z "$as_dir" && as_dir=.7239 for ac_exec_ext in '' $ac_executable_extensions; do7240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7241 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57243 break 27244 fi7245 done7246 done7247 IFS=$as_save_IFS7248 7249 fi7250 fi7251 OTOOL=$ac_cv_prog_OTOOL7252 if test -n "$OTOOL"; then7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&57254 $as_echo "$OTOOL" >&6; }7255 else7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57257 $as_echo "no" >&6; }7258 fi7259 7260 7261 fi7262 if test -z "$ac_cv_prog_OTOOL"; then7263 ac_ct_OTOOL=$OTOOL7264 # Extract the first word of "otool", so it can be a program name with args.7265 set dummy otool; ac_word=$27266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57267 $as_echo_n "checking for $ac_word... " >&6; }7268 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :7269 $as_echo_n "(cached) " >&67270 else7271 if test -n "$ac_ct_OTOOL"; then7272 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.7273 else7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7275 for as_dir in $PATH7276 do7277 IFS=$as_save_IFS7278 test -z "$as_dir" && as_dir=.7279 for ac_exec_ext in '' $ac_executable_extensions; do7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7281 ac_cv_prog_ac_ct_OTOOL="otool"7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57283 break 27284 fi7285 done7286 done7287 IFS=$as_save_IFS7288 7289 fi7290 fi7291 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL7292 if test -n "$ac_ct_OTOOL"; then7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&57294 $as_echo "$ac_ct_OTOOL" >&6; }7295 else7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57297 $as_echo "no" >&6; }7298 fi7299 7300 if test "x$ac_ct_OTOOL" = x; then7301 OTOOL=":"7302 else7303 case $cross_compiling:$ac_tool_warned in7304 yes:)7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7307 ac_tool_warned=yes ;;7308 esac7309 OTOOL=$ac_ct_OTOOL7310 fi7311 else7312 OTOOL="$ac_cv_prog_OTOOL"7313 fi7314 7315 if test -n "$ac_tool_prefix"; then7316 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.7317 set dummy ${ac_tool_prefix}otool64; ac_word=$27318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57319 $as_echo_n "checking for $ac_word... " >&6; }7320 if ${ac_cv_prog_OTOOL64+:} false; then :7321 $as_echo_n "(cached) " >&67322 else7323 if test -n "$OTOOL64"; then7324 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.7325 else7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7327 for as_dir in $PATH7328 do7329 IFS=$as_save_IFS7330 test -z "$as_dir" && as_dir=.7331 for ac_exec_ext in '' $ac_executable_extensions; do7332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7333 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57335 break 27336 fi7337 done7338 done7339 IFS=$as_save_IFS7340 7341 fi7342 fi7343 OTOOL64=$ac_cv_prog_OTOOL647344 if test -n "$OTOOL64"; then7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&57346 $as_echo "$OTOOL64" >&6; }7347 else7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57349 $as_echo "no" >&6; }7350 fi7351 7352 7353 fi7354 if test -z "$ac_cv_prog_OTOOL64"; then7355 ac_ct_OTOOL64=$OTOOL647356 # Extract the first word of "otool64", so it can be a program name with args.7357 set dummy otool64; ac_word=$27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&57359 $as_echo_n "checking for $ac_word... " >&6; }7360 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :7361 $as_echo_n "(cached) " >&67362 else7363 if test -n "$ac_ct_OTOOL64"; then7364 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.7365 else7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR7367 for as_dir in $PATH7368 do7369 IFS=$as_save_IFS7370 test -z "$as_dir" && as_dir=.7371 for ac_exec_ext in '' $ac_executable_extensions; do7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then7373 ac_cv_prog_ac_ct_OTOOL64="otool64"7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&57375 break 27376 fi7377 done7378 done7379 IFS=$as_save_IFS7380 7381 fi7382 fi7383 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL647384 if test -n "$ac_ct_OTOOL64"; then7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&57386 $as_echo "$ac_ct_OTOOL64" >&6; }7387 else7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&57389 $as_echo "no" >&6; }7390 fi7391 7392 if test "x$ac_ct_OTOOL64" = x; then7393 OTOOL64=":"7394 else7395 case $cross_compiling:$ac_tool_warned in7396 yes:)7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&57398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}7399 ac_tool_warned=yes ;;7400 esac7401 OTOOL64=$ac_ct_OTOOL647402 fi7403 else7404 OTOOL64="$ac_cv_prog_OTOOL64"7405 fi7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&57434 $as_echo_n "checking for -single_module linker flag... " >&6; }7435 if ${lt_cv_apple_cc_single_mod+:} false; then :7436 $as_echo_n "(cached) " >&67437 else7438 lt_cv_apple_cc_single_mod=no7439 if test -z "$LT_MULTI_MODULE"; then7440 # By default we will add the -single_module flag. You can override7441 # by either setting the environment variable LT_MULTI_MODULE7442 # non-empty at configure time, or by adding -multi_module to the7443 # link flags.7444 rm -rf libconftest.dylib*7445 echo "int foo(void){return 1;}" > conftest.c7446 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \7447 -dynamiclib -Wl,-single_module conftest.c" >&57448 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \7449 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err7450 _lt_result=$?7451 # If there is a non-empty error log, and "single_module"7452 # appears in it, assume the flag caused a linker warning7453 if test -s conftest.err && $GREP single_module conftest.err; then7454 cat conftest.err >&57455 # Otherwise, if the output was created with a 0 exit code from7456 # the compiler, it worked.7457 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then7458 lt_cv_apple_cc_single_mod=yes7459 else7460 cat conftest.err >&57461 fi7462 rm -rf libconftest.dylib*7463 rm -f conftest.*7464 fi7465 fi7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&57467 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }7468 7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&57470 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }7471 if ${lt_cv_ld_exported_symbols_list+:} false; then :7472 $as_echo_n "(cached) " >&67473 else7474 lt_cv_ld_exported_symbols_list=no7475 save_LDFLAGS=$LDFLAGS7476 echo "_main" > conftest.sym7477 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7479 /* end confdefs.h. */7480 7481 int7482 main ()7483 {7484 7485 ;7486 return 0;7487 }7488 _ACEOF7489 if ac_fn_c_try_link "$LINENO"; then :7490 lt_cv_ld_exported_symbols_list=yes7491 else7492 lt_cv_ld_exported_symbols_list=no7493 fi7494 rm -f core conftest.err conftest.$ac_objext \7495 conftest$ac_exeext conftest.$ac_ext7496 LDFLAGS=$save_LDFLAGS7497 7498 fi7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&57500 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }7501 7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&57503 $as_echo_n "checking for -force_load linker flag... " >&6; }7504 if ${lt_cv_ld_force_load+:} false; then :7505 $as_echo_n "(cached) " >&67506 else7507 lt_cv_ld_force_load=no7508 cat > conftest.c << _LT_EOF7509 int forced_loaded() { return 2;}7510 _LT_EOF7511 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&57512 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&57513 echo "$AR cru libconftest.a conftest.o" >&57514 $AR cru libconftest.a conftest.o 2>&57515 echo "$RANLIB libconftest.a" >&57516 $RANLIB libconftest.a 2>&57517 cat > conftest.c << _LT_EOF7518 int main() { return 0;}7519 _LT_EOF7520 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&57521 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err7522 _lt_result=$?7523 if test -s conftest.err && $GREP force_load conftest.err; then7524 cat conftest.err >&57525 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then7526 lt_cv_ld_force_load=yes7527 else7528 cat conftest.err >&57529 fi7530 rm -f conftest.err libconftest.a conftest conftest.c7531 rm -rf conftest.dSYM7532 7533 fi7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&57535 $as_echo "$lt_cv_ld_force_load" >&6; }7536 case $host_os in7537 rhapsody* | darwin1.[012])7538 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;7539 darwin1.*)7540 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;7541 darwin*) # darwin 5.x on7542 # if running on 10.5 or later, the deployment target defaults7543 # to the OS version, if on x86, and 10.4, the deployment7544 # target defaults to 10.4. Don't you love it?7545 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in7546 10.0,*86*-darwin8*|10.0,*-darwin[91]*)7547 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;7548 10.[012][,.]*)7549 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;7550 10.*)7551 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;7552 esac7553 ;;7554 esac7555 if test yes = "$lt_cv_apple_cc_single_mod"; then7556 _lt_dar_single_mod='$single_module'7557 fi7558 if test yes = "$lt_cv_ld_exported_symbols_list"; then7559 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'7560 else7561 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'7562 fi7563 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then7564 _lt_dsymutil='~$DSYMUTIL $lib || :'7565 else7566 _lt_dsymutil=7567 fi7568 ;;7569 esac7570 7571 # func_munge_path_list VARIABLE PATH7572 # -----------------------------------7573 # VARIABLE is name of variable containing _space_ separated list of7574 # directories to be munged by the contents of PATH, which is string7575 # having a format:7576 # "DIR[:DIR]:"7577 # string "DIR[ DIR]" will be prepended to VARIABLE7578 # ":DIR[:DIR]"7579 # string "DIR[ DIR]" will be appended to VARIABLE7580 # "DIRP[:DIRP]::[DIRA:]DIRA"7581 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string7582 # "DIRA[ DIRA]" will be appended to VARIABLE7583 # "DIR[:DIR]"7584 # VARIABLE will be replaced by "DIR[ DIR]"7585 func_munge_path_list ()7586 {7587 case x$2 in7588 x)7589 ;;7590 *:)7591 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"7592 ;;7593 x:*)7594 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"7595 ;;7596 *::*)7597 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"7598 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"7599 ;;7600 *)7601 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"7602 ;;7603 esac7604 }7605 7606 ac_ext=c7607 ac_cpp='$CPP $CPPFLAGS'7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&57612 $as_echo_n "checking how to run the C preprocessor... " >&6; }7613 # On Suns, sometimes $CPP names a directory.7614 if test -n "$CPP" && test -d "$CPP"; then7615 CPP=7616 fi7617 if test -z "$CPP"; then7618 if ${ac_cv_prog_CPP+:} false; then :7619 $as_echo_n "(cached) " >&67620 else7621 # Double quotes because CPP needs to be expanded7622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"7623 do7624 ac_preproc_ok=false7625 for ac_c_preproc_warn_flag in '' yes7626 do7627 # Use a header file that comes with gcc, so configuring glibc7628 # with a fresh cross-compiler works.7629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7630 # <limits.h> exists even on freestanding compilers.7631 # On the NeXT, cc -E runs the code through the compiler's parser,7632 # not just through cpp. "Syntax error" is here to catch this case.7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7634 /* end confdefs.h. */7635 #ifdef __STDC__7636 # include <limits.h>7637 #else7638 # include <assert.h>7639 #endif7640 Syntax error7641 _ACEOF7642 if ac_fn_c_try_cpp "$LINENO"; then :7643 7644 else7645 # Broken: fails on valid input.7646 continue7647 fi7648 rm -f conftest.err conftest.i conftest.$ac_ext7649 7650 # OK, works on sane cases. Now check whether nonexistent headers7651 # can be detected and how.7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7653 /* end confdefs.h. */7654 #include <ac_nonexistent.h>7655 _ACEOF7656 if ac_fn_c_try_cpp "$LINENO"; then :7657 # Broken: success on invalid input.7658 continue7659 else7660 # Passes both tests.7661 ac_preproc_ok=:7662 break7663 fi7664 rm -f conftest.err conftest.i conftest.$ac_ext7665 7666 done7667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.7668 rm -f conftest.i conftest.err conftest.$ac_ext7669 if $ac_preproc_ok; then :7670 break7671 fi7672 7673 done7674 ac_cv_prog_CPP=$CPP7675 7676 fi7677 CPP=$ac_cv_prog_CPP7678 else7679 ac_cv_prog_CPP=$CPP7680 fi7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&57682 $as_echo "$CPP" >&6; }7683 ac_preproc_ok=false7684 for ac_c_preproc_warn_flag in '' yes7685 do7686 # Use a header file that comes with gcc, so configuring glibc7687 # with a fresh cross-compiler works.7688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since7689 # <limits.h> exists even on freestanding compilers.7690 # On the NeXT, cc -E runs the code through the compiler's parser,7691 # not just through cpp. "Syntax error" is here to catch this case.7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7693 /* end confdefs.h. */7694 #ifdef __STDC__7695 # include <limits.h>7696 #else7697 # include <assert.h>7698 #endif7699 Syntax error7700 _ACEOF7701 if ac_fn_c_try_cpp "$LINENO"; then :7702 7703 else7704 # Broken: fails on valid input.7705 continue7706 fi7707 rm -f conftest.err conftest.i conftest.$ac_ext7708 7709 # OK, works on sane cases. Now check whether nonexistent headers7710 # can be detected and how.7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7712 /* end confdefs.h. */7713 #include <ac_nonexistent.h>7714 _ACEOF7715 if ac_fn_c_try_cpp "$LINENO"; then :7716 # Broken: success on invalid input.7717 continue7718 else7719 # Passes both tests.7720 ac_preproc_ok=:7721 break7722 fi7723 rm -f conftest.err conftest.i conftest.$ac_ext7724 7725 done7726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.7727 rm -f conftest.i conftest.err conftest.$ac_ext7728 if $ac_preproc_ok; then :7729 7730 else7731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&57732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}7733 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check7734 See \`config.log' for more details" "$LINENO" 5; }7735 fi7736 7737 ac_ext=c7738 ac_cpp='$CPP $CPPFLAGS'7739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'7740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'7741 ac_compiler_gnu=$ac_cv_c_compiler_gnu7742 7743 7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&57745 $as_echo_n "checking for ANSI C header files... " >&6; }7746 if ${ac_cv_header_stdc+:} false; then :7747 $as_echo_n "(cached) " >&67748 else7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7750 /* end confdefs.h. */7751 #include <stdlib.h>7752 #include <stdarg.h>7753 #include <string.h>7754 #include <float.h>7755 7756 int7757 main ()7758 {7759 7760 ;7761 return 0;7762 }7763 _ACEOF7764 if ac_fn_c_try_compile "$LINENO"; then :7765 ac_cv_header_stdc=yes7766 else7767 ac_cv_header_stdc=no7768 fi7769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext7770 7771 if test $ac_cv_header_stdc = yes; then7772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7774 /* end confdefs.h. */7775 #include <string.h>7776 7777 _ACEOF7778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7779 $EGREP "memchr" >/dev/null 2>&1; then :7780 7781 else7782 ac_cv_header_stdc=no7783 fi7784 rm -f conftest*7785 7786 fi7787 7788 if test $ac_cv_header_stdc = yes; then7789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7791 /* end confdefs.h. */7792 #include <stdlib.h>7793 7794 _ACEOF7795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |7796 $EGREP "free" >/dev/null 2>&1; then :7797 7798 else7799 ac_cv_header_stdc=no7800 fi7801 rm -f conftest*7802 7803 fi7804 7805 if test $ac_cv_header_stdc = yes; then7806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.7807 if test "$cross_compiling" = yes; then :7808 :7809 else7810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext7811 /* end confdefs.h. */7812 #include <ctype.h>7813 #include <stdlib.h>7814 #if ((' ' & 0x0FF) == 0x020)7815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')7816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))7817 #else7818 # define ISLOWER(c) \7819 (('a' <= (c) && (c) <= 'i') \7820 || ('j' <= (c) && (c) <= 'r') \7821 || ('s' <= (c) && (c) <= 'z'))7822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))7823 #endif7824 7825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))7826 int7827 main ()7828 {7829 int i;7830 for (i = 0; i < 256; i++)7831 if (XOR (islower (i), ISLOWER (i))7832 || toupper (i) != TOUPPER (i))7833 return 2;7834 return 0;7835 }7836 _ACEOF7837 if ac_fn_c_try_run "$LINENO"; then :7838 7839 else7840 ac_cv_header_stdc=no7841 fi7842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \7843 conftest.$ac_objext conftest.beam conftest.$ac_ext7844 fi7845 7846 fi7847 fi7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&57849 $as_echo "$ac_cv_header_stdc" >&6; }7850 if test $ac_cv_header_stdc = yes; then7851 7852 $as_echo "#define STDC_HEADERS 1" >>confdefs.h7853 7854 fi7855 7856 # On IRIX 5.3, sys/types and inttypes.h are conflicting.7857 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \7858 inttypes.h stdint.h unistd.h7859 do :7860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`7861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default7862 "7863 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :7864 cat >>confdefs.h <<_ACEOF7865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 17866 _ACEOF7867 7868 fi7869 7870 done7871 7872 7873 for ac_header in dlfcn.h7874 do :7875 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default7876 "7877 if test "x$ac_cv_header_dlfcn_h" = xyes; then :7878 cat >>confdefs.h <<_ACEOF7879 #define HAVE_DLFCN_H 17880 _ACEOF7881 7882 fi7883 7884 done7885 7886 7887 7888 7889 7890 # Set options7891 7892 7893 7894 enable_dlopen=no7895 7896 7897 enable_win32_dll=no7898 7899 7900 # Check whether --enable-shared was given.7901 if test "${enable_shared+set}" = set; then :7902 enableval=$enable_shared; p=${PACKAGE-default}7903 case $enableval in7904 yes) enable_shared=yes ;;7905 no) enable_shared=no ;;7906 *)7907 enable_shared=no7908 # Look at the argument we got. We use all the common list separators.7909 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7910 for pkg in $enableval; do7911 IFS=$lt_save_ifs7912 if test "X$pkg" = "X$p"; then7913 enable_shared=yes7914 fi7915 done7916 IFS=$lt_save_ifs7917 ;;7918 esac7919 else7920 enable_shared=yes7921 fi7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 # Check whether --enable-static was given.7932 if test "${enable_static+set}" = set; then :7933 enableval=$enable_static; p=${PACKAGE-default}7934 case $enableval in7935 yes) enable_static=yes ;;7936 no) enable_static=no ;;7937 *)7938 enable_static=no7939 # Look at the argument we got. We use all the common list separators.7940 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7941 for pkg in $enableval; do7942 IFS=$lt_save_ifs7943 if test "X$pkg" = "X$p"; then7944 enable_static=yes7945 fi7946 done7947 IFS=$lt_save_ifs7948 ;;7949 esac7950 else7951 enable_static=yes7952 fi7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 # Check whether --with-pic was given.7964 if test "${with_pic+set}" = set; then :7965 withval=$with_pic; lt_p=${PACKAGE-default}7966 case $withval in7967 yes|no) pic_mode=$withval ;;7968 *)7969 pic_mode=default7970 # Look at the argument we got. We use all the common list separators.7971 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7972 for lt_pkg in $withval; do7973 IFS=$lt_save_ifs7974 if test "X$lt_pkg" = "X$lt_p"; then7975 pic_mode=yes7976 fi7977 done7978 IFS=$lt_save_ifs7979 ;;7980 esac7981 else7982 pic_mode=default7983 fi7984 7985 7986 7987 7988 7989 7990 7991 7992 # Check whether --enable-fast-install was given.7993 if test "${enable_fast_install+set}" = set; then :7994 enableval=$enable_fast_install; p=${PACKAGE-default}7995 case $enableval in7996 yes) enable_fast_install=yes ;;7997 no) enable_fast_install=no ;;7998 *)7999 enable_fast_install=no8000 # Look at the argument we got. We use all the common list separators.8001 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,8002 for pkg in $enableval; do8003 IFS=$lt_save_ifs8004 if test "X$pkg" = "X$p"; then8005 enable_fast_install=yes8006 fi8007 done8008 IFS=$lt_save_ifs8009 ;;8010 esac8011 else8012 enable_fast_install=yes8013 fi8014 8015 8016 8017 8018 8019 8020 8021 8022 shared_archive_member_spec=8023 case $host,$enable_shared in8024 power*-*-aix[5-9]*,yes)8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&58026 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }8027 8028 # Check whether --with-aix-soname was given.8029 if test "${with_aix_soname+set}" = set; then :8030 withval=$with_aix_soname; case $withval in8031 aix|svr4|both)8032 ;;8033 *)8034 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 58035 ;;8036 esac8037 lt_cv_with_aix_soname=$with_aix_soname8038 else8039 if ${lt_cv_with_aix_soname+:} false; then :8040 $as_echo_n "(cached) " >&68041 else8042 lt_cv_with_aix_soname=aix8043 fi8044 8045 with_aix_soname=$lt_cv_with_aix_soname8046 fi8047 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&58049 $as_echo "$with_aix_soname" >&6; }8050 if test aix != "$with_aix_soname"; then8051 # For the AIX way of multilib, we name the shared archive member8052 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',8053 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.8054 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,8055 # the AIX toolchain works better with OBJECT_MODE set (default 32).8056 if test 64 = "${OBJECT_MODE-32}"; then8057 shared_archive_member_spec=shr_648058 else8059 shared_archive_member_spec=shr8060 fi8061 fi8062 ;;8063 *)8064 with_aix_soname=aix8065 ;;8066 esac8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 # This can be used to rebuild libtool when needed8078 LIBTOOL_DEPS=$ltmain8079 8080 # Always use our own libtool.8081 LIBTOOL='$(SHELL) $(top_builddir)/libtool'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 8110 8111 8112 test -z "$LN_S" && LN_S="ln -s"8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 if test -n "${ZSH_VERSION+set}"; then8128 setopt NO_GLOB_SUBST8129 fi8130 8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&58132 $as_echo_n "checking for objdir... " >&6; }8133 if ${lt_cv_objdir+:} false; then :8134 $as_echo_n "(cached) " >&68135 else8136 rm -f .libs 2>/dev/null8137 mkdir .libs 2>/dev/null8138 if test -d .libs; then8139 lt_cv_objdir=.libs8140 else8141 # MS-DOS does not allow filenames that begin with a dot.8142 lt_cv_objdir=_libs8143 fi8144 rmdir .libs 2>/dev/null8145 fi8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&58147 $as_echo "$lt_cv_objdir" >&6; }8148 objdir=$lt_cv_objdir8149 8150 8151 8152 8153 8154 cat >>confdefs.h <<_ACEOF8155 #define LT_OBJDIR "$lt_cv_objdir/"8156 _ACEOF8157 8158 8159 8160 8161 case $host_os in8162 aix3*)8163 # AIX sometimes has problems with the GCC collect2 program. For some8164 # reason, if we set the COLLECT_NAMES environment variable, the problems8165 # vanish in a puff of smoke.8166 if test set != "${COLLECT_NAMES+set}"; then8167 COLLECT_NAMES=8168 export COLLECT_NAMES8169 fi8170 ;;8171 esac8172 8173 # Global variables:8174 ofile=libtool8175 can_build_shared=yes8176 8177 # All known linkers require a '.a' archive for static linking (except MSVC,8178 # which needs '.lib').8179 libext=a8180 8181 with_gnu_ld=$lt_cv_prog_gnu_ld8182 8183 old_CC=$CC8184 old_CFLAGS=$CFLAGS8185 8186 # Set sane defaults for various variables8187 test -z "$CC" && CC=cc8188 test -z "$LTCC" && LTCC=$CC8189 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS8190 test -z "$LD" && LD=ld8191 test -z "$ac_objext" && ac_objext=o8192 8193 func_cc_basename $compiler8194 cc_basename=$func_cc_basename_result8195 8196 8197 # Only perform the check for file, if the check method requires it8198 test -z "$MAGIC_CMD" && MAGIC_CMD=file8199 case $deplibs_check_method in8200 file_magic*)8201 if test "$file_magic_cmd" = '$MAGIC_CMD'; then8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&58203 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }8204 if ${lt_cv_path_MAGIC_CMD+:} false; then :8205 $as_echo_n "(cached) " >&68206 else8207 case $MAGIC_CMD in8208 [\\/*] | ?:[\\/]*)8209 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.8210 ;;8211 *)8212 lt_save_MAGIC_CMD=$MAGIC_CMD8213 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR8214 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"8215 for ac_dir in $ac_dummy; do8216 IFS=$lt_save_ifs8217 test -z "$ac_dir" && ac_dir=.8218 if test -f "$ac_dir/${ac_tool_prefix}file"; then8219 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"8220 if test -n "$file_magic_test_file"; then8221 case $deplibs_check_method in8222 "file_magic "*)8223 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`8224 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8225 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |8226 $EGREP "$file_magic_regex" > /dev/null; then8227 :8228 else8229 cat <<_LT_EOF 1>&28230 8231 *** Warning: the command libtool uses to detect shared libraries,8232 *** $file_magic_cmd, produces output that libtool cannot recognize.8233 *** The result is that libtool may fail to recognize shared libraries8234 *** as such. This will affect the creation of libtool libraries that8235 *** depend on shared libraries, but programs linked with such libtool8236 *** libraries will work regardless of this problem. Nevertheless, you8237 *** may want to report the problem to your system manager and/or to8238 *** bug-libtool@gnu.org8239 8240 _LT_EOF8241 fi ;;8242 esac8243 fi8244 break8245 fi8246 done8247 IFS=$lt_save_ifs8248 MAGIC_CMD=$lt_save_MAGIC_CMD8249 ;;8250 esac8251 fi8252 8253 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8254 if test -n "$MAGIC_CMD"; then8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58256 $as_echo "$MAGIC_CMD" >&6; }8257 else8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58259 $as_echo "no" >&6; }8260 fi8261 8262 8263 8264 8265 8266 if test -z "$lt_cv_path_MAGIC_CMD"; then8267 if test -n "$ac_tool_prefix"; then8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&58269 $as_echo_n "checking for file... " >&6; }8270 if ${lt_cv_path_MAGIC_CMD+:} false; then :8271 $as_echo_n "(cached) " >&68272 else8273 case $MAGIC_CMD in8274 [\\/*] | ?:[\\/]*)8275 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.8276 ;;8277 *)8278 lt_save_MAGIC_CMD=$MAGIC_CMD8279 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR8280 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"8281 for ac_dir in $ac_dummy; do8282 IFS=$lt_save_ifs8283 test -z "$ac_dir" && ac_dir=.8284 if test -f "$ac_dir/file"; then8285 lt_cv_path_MAGIC_CMD=$ac_dir/"file"8286 if test -n "$file_magic_test_file"; then8287 case $deplibs_check_method in8288 "file_magic "*)8289 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`8290 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8291 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |8292 $EGREP "$file_magic_regex" > /dev/null; then8293 :8294 else8295 cat <<_LT_EOF 1>&28296 8297 *** Warning: the command libtool uses to detect shared libraries,8298 *** $file_magic_cmd, produces output that libtool cannot recognize.8299 *** The result is that libtool may fail to recognize shared libraries8300 *** as such. This will affect the creation of libtool libraries that8301 *** depend on shared libraries, but programs linked with such libtool8302 *** libraries will work regardless of this problem. Nevertheless, you8303 *** may want to report the problem to your system manager and/or to8304 *** bug-libtool@gnu.org8305 8306 _LT_EOF8307 fi ;;8308 esac8309 fi8310 break8311 fi8312 done8313 IFS=$lt_save_ifs8314 MAGIC_CMD=$lt_save_MAGIC_CMD8315 ;;8316 esac8317 fi8318 8319 MAGIC_CMD=$lt_cv_path_MAGIC_CMD8320 if test -n "$MAGIC_CMD"; then8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&58322 $as_echo "$MAGIC_CMD" >&6; }8323 else8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&58325 $as_echo "no" >&6; }8326 fi8327 8328 8329 else8330 MAGIC_CMD=:8331 fi8332 fi8333 8334 fi8335 ;;8336 esac8337 8338 # Use C for the default configuration in the libtool script8339 8340 lt_save_CC=$CC8341 ac_ext=c8342 ac_cpp='$CPP $CPPFLAGS'8343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'8344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'8345 ac_compiler_gnu=$ac_cv_c_compiler_gnu8346 8347 8348 # Source file extension for C test sources.8349 ac_ext=c8350 8351 # Object file extension for compiled C test sources.8352 objext=o8353 objext=$objext8354 8355 # Code to be used in simple compile tests8356 lt_simple_compile_test_code="int some_variable = 0;"8357 8358 # Code to be used in simple link tests8359 lt_simple_link_test_code='int main(){return(0);}'8360 8361 8362 8363 8364 8365 8366 8367 # If no C compiler was specified, use CC.8368 LTCC=${LTCC-"$CC"}8369 8370 # If no C compiler flags were specified, use CFLAGS.8371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}8372 8373 # Allow CC to be a program name with arguments.8374 compiler=$CC8375 8376 # Save the default compiler, since it gets overwritten when the other8377 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.8378 compiler_DEFAULT=$CC8379 8380 # save warnings/boilerplate of simple test code8381 ac_outfile=conftest.$ac_objext8382 echo "$lt_simple_compile_test_code" >conftest.$ac_ext8383 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err8384 _lt_compiler_boilerplate=`cat conftest.err`8385 $RM conftest*8386 8387 ac_outfile=conftest.$ac_objext8388 echo "$lt_simple_link_test_code" >conftest.$ac_ext8389 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err8390 _lt_linker_boilerplate=`cat conftest.err`8391 $RM -r conftest*8392 8393 8394 ## CAVEAT EMPTOR:8395 ## There is no encapsulation within the following macros, do not change8396 ## the running order or otherwise move them around unless you know exactly8397 ## what you are doing...8398 if test -n "$compiler"; then8399 8400 lt_prog_compiler_no_builtin_flag=8401 8402 if test yes = "$GCC"; then8403 case $cc_basename in8404 nvcc*)8405 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;8406 *)8407 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;8408 esac8409 8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&58411 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }8412 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :8413 $as_echo_n "(cached) " >&68414 else8415 lt_cv_prog_compiler_rtti_exceptions=no8416 ac_outfile=conftest.$ac_objext8417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8418 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment8419 # Insert the option either (1) after the last *FLAGS variable, or8420 # (2) before a word containing "conftest.", or (3) at the end.8421 # Note that $ac_compile itself does not contain backslashes and begins8422 # with a dollar sign (not a hyphen), so the echo should work correctly.8423 # The option is referenced via a variable to avoid confusing sed.8424 lt_compile=`echo "$ac_compile" | $SED \8425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8427 -e 's:$: $lt_compiler_flag:'`8428 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8429 (eval "$lt_compile" 2>conftest.err)8430 ac_status=$?8431 cat conftest.err >&58432 echo "$as_me:$LINENO: \$? = $ac_status" >&58433 if (exit $ac_status) && test -s "$ac_outfile"; then8434 # The compiler can only warn and ignore the option if not recognized8435 # So say no if there are warnings other than the usual output.8436 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp8437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28438 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8439 lt_cv_prog_compiler_rtti_exceptions=yes8440 fi8441 fi8442 $RM conftest*8443 8444 fi8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&58446 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }8447 8448 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then8449 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"8450 else8451 :8452 fi8453 8454 fi8455 8456 8457 8458 8459 8460 8461 lt_prog_compiler_wl=8462 lt_prog_compiler_pic=8463 lt_prog_compiler_static=8464 8465 8466 if test yes = "$GCC"; then8467 lt_prog_compiler_wl='-Wl,'8468 lt_prog_compiler_static='-static'8469 8470 case $host_os in8471 aix*)8472 # All AIX code is PIC.8473 if test ia64 = "$host_cpu"; then8474 # AIX 5 now supports IA64 processor8475 lt_prog_compiler_static='-Bstatic'8476 fi8477 lt_prog_compiler_pic='-fPIC'8478 ;;8479 8480 amigaos*)8481 case $host_cpu in8482 powerpc)8483 # see comment about AmigaOS4 .so support8484 lt_prog_compiler_pic='-fPIC'8485 ;;8486 m68k)8487 # FIXME: we need at least 68020 code to build shared libraries, but8488 # adding the '-m68020' flag to GCC prevents building anything better,8489 # like '-m68040'.8490 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'8491 ;;8492 esac8493 ;;8494 8495 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)8496 # PIC is the default for these OSes.8497 ;;8498 8499 mingw* | cygwin* | pw32* | os2* | cegcc*)8500 # This hack is so that the source file can tell whether it is being8501 # built for inclusion in a dll (and should export symbols for example).8502 # Although the cygwin gcc ignores -fPIC, still need this for old-style8503 # (--disable-auto-import) libraries8504 lt_prog_compiler_pic='-DDLL_EXPORT'8505 case $host_os in8506 os2*)8507 lt_prog_compiler_static='$wl-static'8508 ;;8509 esac8510 ;;8511 8512 darwin* | rhapsody*)8513 # PIC is the default on this platform8514 # Common symbols not allowed in MH_DYLIB files8515 lt_prog_compiler_pic='-fno-common'8516 ;;8517 8518 haiku*)8519 # PIC is the default for Haiku.8520 # The "-static" flag exists, but is broken.8521 lt_prog_compiler_static=8522 ;;8523 8524 hpux*)8525 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit8526 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag8527 # sets the default TLS model and affects inlining.8528 case $host_cpu in8529 hppa*64*)8530 # +Z the default8531 ;;8532 *)8533 lt_prog_compiler_pic='-fPIC'8534 ;;8535 esac8536 ;;8537 8538 interix[3-9]*)8539 # Interix 3.x gcc -fpic/-fPIC options generate broken code.8540 # Instead, we relocate shared libraries at runtime.8541 ;;8542 8543 msdosdjgpp*)8544 # Just because we use GCC doesn't mean we suddenly get shared libraries8545 # on systems that don't support them.8546 lt_prog_compiler_can_build_shared=no8547 enable_shared=no8548 ;;8549 8550 *nto* | *qnx*)8551 # QNX uses GNU C++, but need to define -shared option too, otherwise8552 # it will coredump.8553 lt_prog_compiler_pic='-fPIC -shared'8554 ;;8555 8556 sysv4*MP*)8557 if test -d /usr/nec; then8558 lt_prog_compiler_pic=-Kconform_pic8559 fi8560 ;;8561 8562 *)8563 lt_prog_compiler_pic='-fPIC'8564 ;;8565 esac8566 8567 case $cc_basename in8568 nvcc*) # Cuda Compiler Driver 2.28569 lt_prog_compiler_wl='-Xlinker '8570 if test -n "$lt_prog_compiler_pic"; then8571 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"8572 fi8573 ;;8574 esac8575 else8576 # PORTME Check for flag to pass linker flags through the system compiler.8577 case $host_os in8578 aix*)8579 lt_prog_compiler_wl='-Wl,'8580 if test ia64 = "$host_cpu"; then8581 # AIX 5 now supports IA64 processor8582 lt_prog_compiler_static='-Bstatic'8583 else8584 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'8585 fi8586 ;;8587 8588 darwin* | rhapsody*)8589 # PIC is the default on this platform8590 # Common symbols not allowed in MH_DYLIB files8591 lt_prog_compiler_pic='-fno-common'8592 case $cc_basename in8593 nagfor*)8594 # NAG Fortran compiler8595 lt_prog_compiler_wl='-Wl,-Wl,,'8596 lt_prog_compiler_pic='-PIC'8597 lt_prog_compiler_static='-Bstatic'8598 ;;8599 esac8600 ;;8601 8602 mingw* | cygwin* | pw32* | os2* | cegcc*)8603 # This hack is so that the source file can tell whether it is being8604 # built for inclusion in a dll (and should export symbols for example).8605 lt_prog_compiler_pic='-DDLL_EXPORT'8606 case $host_os in8607 os2*)8608 lt_prog_compiler_static='$wl-static'8609 ;;8610 esac8611 ;;8612 8613 hpux9* | hpux10* | hpux11*)8614 lt_prog_compiler_wl='-Wl,'8615 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but8616 # not for PA HP-UX.8617 case $host_cpu in8618 hppa*64*|ia64*)8619 # +Z the default8620 ;;8621 *)8622 lt_prog_compiler_pic='+Z'8623 ;;8624 esac8625 # Is there a better lt_prog_compiler_static that works with the bundled CC?8626 lt_prog_compiler_static='$wl-a ${wl}archive'8627 ;;8628 8629 irix5* | irix6* | nonstopux*)8630 lt_prog_compiler_wl='-Wl,'8631 # PIC (with -KPIC) is the default.8632 lt_prog_compiler_static='-non_shared'8633 ;;8634 8635 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)8636 case $cc_basename in8637 # old Intel for x86_64, which still supported -KPIC.8638 ecc*)8639 lt_prog_compiler_wl='-Wl,'8640 lt_prog_compiler_pic='-KPIC'8641 lt_prog_compiler_static='-static'8642 ;;8643 # icc used to be incompatible with GCC.8644 # ICC 10 doesn't accept -KPIC any more.8645 icc* | ifort*)8646 lt_prog_compiler_wl='-Wl,'8647 lt_prog_compiler_pic='-fPIC'8648 lt_prog_compiler_static='-static'8649 ;;8650 # Lahey Fortran 8.1.8651 lf95*)8652 lt_prog_compiler_wl='-Wl,'8653 lt_prog_compiler_pic='--shared'8654 lt_prog_compiler_static='--static'8655 ;;8656 nagfor*)8657 # NAG Fortran compiler8658 lt_prog_compiler_wl='-Wl,-Wl,,'8659 lt_prog_compiler_pic='-PIC'8660 lt_prog_compiler_static='-Bstatic'8661 ;;8662 tcc*)8663 # Fabrice Bellard et al's Tiny C Compiler8664 lt_prog_compiler_wl='-Wl,'8665 lt_prog_compiler_pic='-fPIC'8666 lt_prog_compiler_static='-static'8667 ;;8668 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)8669 # Portland Group compilers (*not* the Pentium gcc compiler,8670 # which looks to be a dead project)8671 lt_prog_compiler_wl='-Wl,'8672 lt_prog_compiler_pic='-fpic'8673 lt_prog_compiler_static='-Bstatic'8674 ;;8675 ccc*)8676 lt_prog_compiler_wl='-Wl,'8677 # All Alpha code is PIC.8678 lt_prog_compiler_static='-non_shared'8679 ;;8680 xl* | bgxl* | bgf* | mpixl*)8681 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene8682 lt_prog_compiler_wl='-Wl,'8683 lt_prog_compiler_pic='-qpic'8684 lt_prog_compiler_static='-qstaticlink'8685 ;;8686 *)8687 case `$CC -V 2>&1 | sed 5q` in8688 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)8689 # Sun Fortran 8.3 passes all unrecognized flags to the linker8690 lt_prog_compiler_pic='-KPIC'8691 lt_prog_compiler_static='-Bstatic'8692 lt_prog_compiler_wl=''8693 ;;8694 *Sun\ F* | *Sun*Fortran*)8695 lt_prog_compiler_pic='-KPIC'8696 lt_prog_compiler_static='-Bstatic'8697 lt_prog_compiler_wl='-Qoption ld '8698 ;;8699 *Sun\ C*)8700 # Sun C 5.98701 lt_prog_compiler_pic='-KPIC'8702 lt_prog_compiler_static='-Bstatic'8703 lt_prog_compiler_wl='-Wl,'8704 ;;8705 *Intel*\ [CF]*Compiler*)8706 lt_prog_compiler_wl='-Wl,'8707 lt_prog_compiler_pic='-fPIC'8708 lt_prog_compiler_static='-static'8709 ;;8710 *Portland\ Group*)8711 lt_prog_compiler_wl='-Wl,'8712 lt_prog_compiler_pic='-fpic'8713 lt_prog_compiler_static='-Bstatic'8714 ;;8715 esac8716 ;;8717 esac8718 ;;8719 8720 newsos6)8721 lt_prog_compiler_pic='-KPIC'8722 lt_prog_compiler_static='-Bstatic'8723 ;;8724 8725 *nto* | *qnx*)8726 # QNX uses GNU C++, but need to define -shared option too, otherwise8727 # it will coredump.8728 lt_prog_compiler_pic='-fPIC -shared'8729 ;;8730 8731 osf3* | osf4* | osf5*)8732 lt_prog_compiler_wl='-Wl,'8733 # All OSF/1 code is PIC.8734 lt_prog_compiler_static='-non_shared'8735 ;;8736 8737 rdos*)8738 lt_prog_compiler_static='-non_shared'8739 ;;8740 8741 solaris*)8742 lt_prog_compiler_pic='-KPIC'8743 lt_prog_compiler_static='-Bstatic'8744 case $cc_basename in8745 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)8746 lt_prog_compiler_wl='-Qoption ld ';;8747 *)8748 lt_prog_compiler_wl='-Wl,';;8749 esac8750 ;;8751 8752 sunos4*)8753 lt_prog_compiler_wl='-Qoption ld '8754 lt_prog_compiler_pic='-PIC'8755 lt_prog_compiler_static='-Bstatic'8756 ;;8757 8758 sysv4 | sysv4.2uw2* | sysv4.3*)8759 lt_prog_compiler_wl='-Wl,'8760 lt_prog_compiler_pic='-KPIC'8761 lt_prog_compiler_static='-Bstatic'8762 ;;8763 8764 sysv4*MP*)8765 if test -d /usr/nec; then8766 lt_prog_compiler_pic='-Kconform_pic'8767 lt_prog_compiler_static='-Bstatic'8768 fi8769 ;;8770 8771 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)8772 lt_prog_compiler_wl='-Wl,'8773 lt_prog_compiler_pic='-KPIC'8774 lt_prog_compiler_static='-Bstatic'8775 ;;8776 8777 unicos*)8778 lt_prog_compiler_wl='-Wl,'8779 lt_prog_compiler_can_build_shared=no8780 ;;8781 8782 uts4*)8783 lt_prog_compiler_pic='-pic'8784 lt_prog_compiler_static='-Bstatic'8785 ;;8786 8787 *)8788 lt_prog_compiler_can_build_shared=no8789 ;;8790 esac8791 fi8792 8793 case $host_os in8794 # For platforms that do not support PIC, -DPIC is meaningless:8795 *djgpp*)8796 lt_prog_compiler_pic=8797 ;;8798 *)8799 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"8800 ;;8801 esac8802 8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&58804 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }8805 if ${lt_cv_prog_compiler_pic+:} false; then :8806 $as_echo_n "(cached) " >&68807 else8808 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic8809 fi8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&58811 $as_echo "$lt_cv_prog_compiler_pic" >&6; }8812 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic8813 8814 #8815 # Check to make sure the PIC flag actually works.8816 #8817 if test -n "$lt_prog_compiler_pic"; then8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&58819 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }8820 if ${lt_cv_prog_compiler_pic_works+:} false; then :8821 $as_echo_n "(cached) " >&68822 else8823 lt_cv_prog_compiler_pic_works=no8824 ac_outfile=conftest.$ac_objext8825 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8826 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment8827 # Insert the option either (1) after the last *FLAGS variable, or8828 # (2) before a word containing "conftest.", or (3) at the end.8829 # Note that $ac_compile itself does not contain backslashes and begins8830 # with a dollar sign (not a hyphen), so the echo should work correctly.8831 # The option is referenced via a variable to avoid confusing sed.8832 lt_compile=`echo "$ac_compile" | $SED \8833 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8834 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8835 -e 's:$: $lt_compiler_flag:'`8836 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8837 (eval "$lt_compile" 2>conftest.err)8838 ac_status=$?8839 cat conftest.err >&58840 echo "$as_me:$LINENO: \$? = $ac_status" >&58841 if (exit $ac_status) && test -s "$ac_outfile"; then8842 # The compiler can only warn and ignore the option if not recognized8843 # So say no if there are warnings other than the usual output.8844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp8845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28846 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then8847 lt_cv_prog_compiler_pic_works=yes8848 fi8849 fi8850 $RM conftest*8851 8852 fi8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&58854 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }8855 8856 if test yes = "$lt_cv_prog_compiler_pic_works"; then8857 case $lt_prog_compiler_pic in8858 "" | " "*) ;;8859 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;8860 esac8861 else8862 lt_prog_compiler_pic=8863 lt_prog_compiler_can_build_shared=no8864 fi8865 8866 fi8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 #8879 # Check to make sure the static flag actually works.8880 #8881 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&58883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }8884 if ${lt_cv_prog_compiler_static_works+:} false; then :8885 $as_echo_n "(cached) " >&68886 else8887 lt_cv_prog_compiler_static_works=no8888 save_LDFLAGS=$LDFLAGS8889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"8890 echo "$lt_simple_link_test_code" > conftest.$ac_ext8891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then8892 # The linker can only warn and ignore the option if not recognized8893 # So say no if there are warnings8894 if test -s conftest.err; then8895 # Append any errors to the config.log.8896 cat conftest.err 1>&58897 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp8898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er28899 if diff conftest.exp conftest.er2 >/dev/null; then8900 lt_cv_prog_compiler_static_works=yes8901 fi8902 else8903 lt_cv_prog_compiler_static_works=yes8904 fi8905 fi8906 $RM -r conftest*8907 LDFLAGS=$save_LDFLAGS8908 8909 fi8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&58911 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }8912 8913 if test yes = "$lt_cv_prog_compiler_static_works"; then8914 :8915 else8916 lt_prog_compiler_static=8917 fi8918 8919 8920 8921 8922 8923 8924 8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58926 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8927 if ${lt_cv_prog_compiler_c_o+:} false; then :8928 $as_echo_n "(cached) " >&68929 else8930 lt_cv_prog_compiler_c_o=no8931 $RM -r conftest 2>/dev/null8932 mkdir conftest8933 cd conftest8934 mkdir out8935 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8936 8937 lt_compiler_flag="-o out/conftest2.$ac_objext"8938 # Insert the option either (1) after the last *FLAGS variable, or8939 # (2) before a word containing "conftest.", or (3) at the end.8940 # Note that $ac_compile itself does not contain backslashes and begins8941 # with a dollar sign (not a hyphen), so the echo should work correctly.8942 lt_compile=`echo "$ac_compile" | $SED \8943 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8944 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \8945 -e 's:$: $lt_compiler_flag:'`8946 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)8947 (eval "$lt_compile" 2>out/conftest.err)8948 ac_status=$?8949 cat out/conftest.err >&58950 echo "$as_me:$LINENO: \$? = $ac_status" >&58951 if (exit $ac_status) && test -s out/conftest2.$ac_objext8952 then8953 # The compiler can only warn and ignore the option if not recognized8954 # So say no if there are warnings8955 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp8956 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er28957 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then8958 lt_cv_prog_compiler_c_o=yes8959 fi8960 fi8961 chmod u+w . 2>&58962 $RM conftest*8963 # SGI C++ compiler will create directory out/ii_files/ for8964 # template instantiation8965 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files8966 $RM out/* && rmdir out8967 cd ..8968 $RM -r conftest8969 $RM conftest*8970 8971 fi8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&58973 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }8974 8975 8976 8977 8978 8979 8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&58981 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }8982 if ${lt_cv_prog_compiler_c_o+:} false; then :8983 $as_echo_n "(cached) " >&68984 else8985 lt_cv_prog_compiler_c_o=no8986 $RM -r conftest 2>/dev/null8987 mkdir conftest8988 cd conftest8989 mkdir out8990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext8991 8992 lt_compiler_flag="-o out/conftest2.$ac_objext"8993 # Insert the option either (1) after the last *FLAGS variable, or8994 # (2) before a word containing "conftest.", or (3) at the end.8995 # Note that $ac_compile itself does not contain backslashes and begins8996 # with a dollar sign (not a hyphen), so the echo should work correctly.8997 lt_compile=`echo "$ac_compile" | $SED \8998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \8999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \9000 -e 's:$: $lt_compiler_flag:'`9001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)9002 (eval "$lt_compile" 2>out/conftest.err)9003 ac_status=$?9004 cat out/conftest.err >&59005 echo "$as_me:$LINENO: \$? = $ac_status" >&59006 if (exit $ac_status) && test -s out/conftest2.$ac_objext9007 then9008 # The compiler can only warn and ignore the option if not recognized9009 # So say no if there are warnings9010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp9011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er29012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then9013 lt_cv_prog_compiler_c_o=yes9014 fi9015 fi9016 chmod u+w . 2>&59017 $RM conftest*9018 # SGI C++ compiler will create directory out/ii_files/ for9019 # template instantiation9020 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files9021 $RM out/* && rmdir out9022 cd ..9023 $RM -r conftest9024 $RM conftest*9025 9026 fi9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&59028 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }9029 9030 9031 9032 9033 hard_links=nottested9034 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then9035 # do not overwrite the value of need_locks provided by the user9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&59037 $as_echo_n "checking if we can lock with hard links... " >&6; }9038 hard_links=yes9039 $RM conftest*9040 ln conftest.a conftest.b 2>/dev/null && hard_links=no9041 touch conftest.a9042 ln conftest.a conftest.b 2>&5 || hard_links=no9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&59045 $as_echo "$hard_links" >&6; }9046 if test no = "$hard_links"; then9047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&59048 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}9049 need_locks=warn9050 fi9051 else9052 need_locks=no9053 fi9054 9055 9056 9057 9058 9059 9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&59061 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }9062 9063 runpath_var=9064 allow_undefined_flag=9065 always_export_symbols=no9066 archive_cmds=9067 archive_expsym_cmds=9068 compiler_needs_object=no9069 enable_shared_with_static_runtimes=no9070 export_dynamic_flag_spec=9071 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'9072 hardcode_automatic=no9073 hardcode_direct=no9074 hardcode_direct_absolute=no9075 hardcode_libdir_flag_spec=9076 hardcode_libdir_separator=9077 hardcode_minus_L=no9078 hardcode_shlibpath_var=unsupported9079 inherit_rpath=no9080 link_all_deplibs=unknown9081 module_cmds=9082 module_expsym_cmds=9083 old_archive_from_new_cmds=9084 old_archive_from_expsyms_cmds=9085 thread_safe_flag_spec=9086 whole_archive_flag_spec=9087 # include_expsyms should be a list of space-separated symbols to be *always*9088 # included in the symbol list9089 include_expsyms=9090 # exclude_expsyms can be an extended regexp of symbols to exclude9091 # it will be wrapped by ' (' and ')$', so one must not match beginning or9092 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',9093 # as well as any symbol that contains 'd'.9094 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'9095 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out9096 # platforms (ab)use it in PIC code, but their linkers get confused if9097 # the symbol is explicitly referenced. Since portable code cannot9098 # rely on this symbol name, it's probably fine to never include it in9099 # preloaded symbol tables.9100 # Exclude shared library initialization/finalization symbols.9101 extract_expsyms_cmds=9102 9103 case $host_os in9104 cygwin* | mingw* | pw32* | cegcc*)9105 # FIXME: the MSVC++ port hasn't been tested in a loooong time9106 # When not using gcc, we currently assume that we are using9107 # Microsoft Visual C++.9108 if test yes != "$GCC"; then9109 with_gnu_ld=no9110 fi9111 ;;9112 interix*)9113 # we just hope/assume this is gcc and not c89 (= MSVC++)9114 with_gnu_ld=yes9115 ;;9116 openbsd* | bitrig*)9117 with_gnu_ld=no9118 ;;9119 linux* | k*bsd*-gnu | gnu*)9120 link_all_deplibs=no9121 ;;9122 esac9123 9124 ld_shlibs=yes9125 9126 # On some targets, GNU ld is compatible enough with the native linker9127 # that we're better off using the native interface for both.9128 lt_use_gnu_ld_interface=no9129 if test yes = "$with_gnu_ld"; then9130 case $host_os in9131 aix*)9132 # The AIX port of GNU ld has always aspired to compatibility9133 # with the native linker. However, as the warning in the GNU ld9134 # block says, versions before 2.19.5* couldn't really create working9135 # shared libraries, regardless of the interface used.9136 case `$LD -v 2>&1` in9137 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;9138 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;9139 *\ \(GNU\ Binutils\)\ [3-9]*) ;;9140 *)9141 lt_use_gnu_ld_interface=yes9142 ;;9143 esac9144 ;;9145 *)9146 lt_use_gnu_ld_interface=yes9147 ;;9148 esac9149 fi9150 9151 if test yes = "$lt_use_gnu_ld_interface"; then9152 # If archive_cmds runs LD, not CC, wlarc should be empty9153 wlarc='$wl'9154 9155 # Set some defaults for GNU ld with shared library support. These9156 # are reset later if shared libraries are not supported. Putting them9157 # here allows them to be overridden if necessary.9158 runpath_var=LD_RUN_PATH9159 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9160 export_dynamic_flag_spec='$wl--export-dynamic'9161 # ancient GNU ld didn't support --whole-archive et. al.9162 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then9163 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'9164 else9165 whole_archive_flag_spec=9166 fi9167 supports_anon_versioning=no9168 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in9169 *GNU\ gold*) supports_anon_versioning=yes ;;9170 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.119171 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...9172 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...9173 *\ 2.11.*) ;; # other 2.11 versions9174 *) supports_anon_versioning=yes ;;9175 esac9176 9177 # See if GNU ld supports shared libraries.9178 case $host_os in9179 aix[3-9]*)9180 # On AIX/PPC, the GNU linker is very broken9181 if test ia64 != "$host_cpu"; then9182 ld_shlibs=no9183 cat <<_LT_EOF 1>&29184 9185 *** Warning: the GNU linker, at least up to release 2.19, is reported9186 *** to be unable to reliably create shared libraries on AIX.9187 *** Therefore, libtool is disabling shared libraries support. If you9188 *** really care for shared libraries, you may want to install binutils9189 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.9190 *** You will then need to restart the configuration process.9191 9192 _LT_EOF9193 fi9194 ;;9195 9196 amigaos*)9197 case $host_cpu in9198 powerpc)9199 # see comment about AmigaOS4 .so support9200 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9201 archive_expsym_cmds=''9202 ;;9203 m68k)9204 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)'9205 hardcode_libdir_flag_spec='-L$libdir'9206 hardcode_minus_L=yes9207 ;;9208 esac9209 ;;9210 9211 beos*)9212 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9213 allow_undefined_flag=unsupported9214 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc9215 # support --undefined. This deserves some investigation. FIXME9216 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9217 else9218 ld_shlibs=no9219 fi9220 ;;9221 9222 cygwin* | mingw* | pw32* | cegcc*)9223 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,9224 # as there is no search path for DLLs.9225 hardcode_libdir_flag_spec='-L$libdir'9226 export_dynamic_flag_spec='$wl--export-all-symbols'9227 allow_undefined_flag=unsupported9228 always_export_symbols=no9229 enable_shared_with_static_runtimes=yes9230 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'9231 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'9232 9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9235 # If the export-symbols file already is a .def file, use it as9236 # is; otherwise, prepend EXPORTS...9237 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then9238 cp $export_symbols $output_objdir/$soname.def;9239 else9240 echo EXPORTS > $output_objdir/$soname.def;9241 cat $export_symbols >> $output_objdir/$soname.def;9242 fi~9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'9244 else9245 ld_shlibs=no9246 fi9247 ;;9248 9249 haiku*)9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9251 link_all_deplibs=yes9252 ;;9253 9254 os2*)9255 hardcode_libdir_flag_spec='-L$libdir'9256 hardcode_minus_L=yes9257 allow_undefined_flag=unsupported9258 shrext_cmds=.dll9259 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~9260 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~9261 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~9262 $ECHO EXPORTS >> $output_objdir/$libname.def~9263 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~9264 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~9265 emximp -o $lib $output_objdir/$libname.def'9266 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~9267 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~9268 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~9269 $ECHO EXPORTS >> $output_objdir/$libname.def~9270 prefix_cmds="$SED"~9271 if test EXPORTS = "`$SED 1q $export_symbols`"; then9272 prefix_cmds="$prefix_cmds -e 1d";9273 fi~9274 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~9275 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~9276 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~9277 emximp -o $lib $output_objdir/$libname.def'9278 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'9279 enable_shared_with_static_runtimes=yes9280 ;;9281 9282 interix[3-9]*)9283 hardcode_direct=no9284 hardcode_shlibpath_var=no9285 hardcode_libdir_flag_spec='$wl-rpath,$libdir'9286 export_dynamic_flag_spec='$wl-E'9287 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.9288 # Instead, shared libraries are loaded at an image base (0x10000000 by9289 # default) and relocated if they conflict, which is a slow very memory9290 # consuming and fragmenting process. To avoid this, we pick a random,9291 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link9292 # time. Moving up from 0x10000000 also allows more sbrk(2) space.9293 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'9294 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'9295 ;;9296 9297 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)9298 tmp_diet=no9299 if test linux-dietlibc = "$host_os"; then9300 case $cc_basename in9301 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)9302 esac9303 fi9304 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \9305 && test no = "$tmp_diet"9306 then9307 tmp_addflag=' $pic_flag'9308 tmp_sharedflag='-shared'9309 case $cc_basename,$host_cpu in9310 pgcc*) # Portland Group C compiler9311 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'9312 tmp_addflag=' $pic_flag'9313 ;;9314 pgf77* | pgf90* | pgf95* | pgfortran*)9315 # Portland Group f77 and f90 compilers9316 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'9317 tmp_addflag=' $pic_flag -Mnomain' ;;9318 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia649319 tmp_addflag=' -i_dynamic' ;;9320 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia649321 tmp_addflag=' -i_dynamic -nofor_main' ;;9322 ifc* | ifort*) # Intel Fortran compiler9323 tmp_addflag=' -nofor_main' ;;9324 lf95*) # Lahey Fortran 8.19325 whole_archive_flag_spec=9326 tmp_sharedflag='--shared' ;;9327 nagfor*) # NAGFOR 5.39328 tmp_sharedflag='-Wl,-shared' ;;9329 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)9330 tmp_sharedflag='-qmkshrobj'9331 tmp_addflag= ;;9332 nvcc*) # Cuda Compiler Driver 2.29333 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'9334 compiler_needs_object=yes9335 ;;9336 esac9337 case `$CC -V 2>&1 | sed 5q` in9338 *Sun\ C*) # Sun C 5.99339 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'9340 compiler_needs_object=yes9341 tmp_sharedflag='-G' ;;9342 *Sun\ F*) # Sun Fortran 8.39343 tmp_sharedflag='-G' ;;9344 esac9345 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9346 9347 if test yes = "$supports_anon_versioning"; then9348 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~9349 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~9350 echo "local: *; };" >> $output_objdir/$libname.ver~9351 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'9352 fi9353 9354 case $cc_basename in9355 tcc*)9356 export_dynamic_flag_spec='-rdynamic'9357 ;;9358 xlf* | bgf* | bgxlf* | mpixlf*)9359 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself9360 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'9361 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9362 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'9363 if test yes = "$supports_anon_versioning"; then9364 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~9365 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~9366 echo "local: *; };" >> $output_objdir/$libname.ver~9367 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'9368 fi9369 ;;9370 esac9371 else9372 ld_shlibs=no9373 fi9374 ;;9375 9376 netbsd* | netbsdelf*-gnu)9377 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then9378 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'9379 wlarc=9380 else9381 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9382 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9383 fi9384 ;;9385 9386 solaris*)9387 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then9388 ld_shlibs=no9389 cat <<_LT_EOF 1>&29390 9391 *** Warning: The releases 2.8.* of the GNU linker cannot reliably9392 *** create shared libraries on Solaris systems. Therefore, libtool9393 *** is disabling shared libraries support. We urge you to upgrade GNU9394 *** binutils to release 2.9.1 or newer. Another option is to modify9395 *** your PATH or compiler configuration so that the native linker is9396 *** used, and then restart.9397 9398 _LT_EOF9399 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9400 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9401 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9402 else9403 ld_shlibs=no9404 fi9405 ;;9406 9407 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)9408 case `$LD -v 2>&1` in9409 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)9410 ld_shlibs=no9411 cat <<_LT_EOF 1>&29412 9413 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot9414 *** reliably create shared libraries on SCO systems. Therefore, libtool9415 *** is disabling shared libraries support. We urge you to upgrade GNU9416 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify9417 *** your PATH or compiler configuration so that the native linker is9418 *** used, and then restart.9419 9420 _LT_EOF9421 ;;9422 *)9423 # For security reasons, it is highly recommended that you always9424 # use absolute paths for naming shared libraries, and exclude the9425 # DT_RUNPATH tag from executables and libraries. But doing so9426 # requires that you compile everything twice, which is a pain.9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9428 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'9429 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9430 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9431 else9432 ld_shlibs=no9433 fi9434 ;;9435 esac9436 ;;9437 9438 sunos4*)9439 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'9440 wlarc=9441 hardcode_direct=yes9442 hardcode_shlibpath_var=no9443 ;;9444 9445 *)9446 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then9447 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9448 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'9449 else9450 ld_shlibs=no9451 fi9452 ;;9453 esac9454 9455 if test no = "$ld_shlibs"; then9456 runpath_var=9457 hardcode_libdir_flag_spec=9458 export_dynamic_flag_spec=9459 whole_archive_flag_spec=9460 fi9461 else9462 # PORTME fill in a description of your system's linker (not GNU ld)9463 case $host_os in9464 aix3*)9465 allow_undefined_flag=unsupported9466 always_export_symbols=yes9467 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'9468 # Note: this linker hardcodes the directories in LIBPATH if there9469 # are no directories specified by -L.9470 hardcode_minus_L=yes9471 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then9472 # Neither direct hardcoding nor static linking is supported with a9473 # broken collect2.9474 hardcode_direct=unsupported9475 fi9476 ;;9477 9478 aix[4-9]*)9479 if test ia64 = "$host_cpu"; then9480 # On IA64, the linker does run time linking by default, so we don't9481 # have to do anything special.9482 aix_use_runtimelinking=no9483 exp_sym_flag='-Bexport'9484 no_entry_flag=9485 else9486 # If we're using GNU nm, then we don't want the "-C" option.9487 # -C means demangle to GNU nm, but means don't demangle to AIX nm.9488 # Without the "-l" option, or with the "-B" option, AIX nm treats9489 # weak defined symbols like other global defined symbols, whereas9490 # GNU nm marks them as "W".9491 # While the 'weak' keyword is ignored in the Export File, we need9492 # it in the Import File for the 'aix-soname' feature, so we have9493 # to replace the "-B" option with "-P" for AIX nm.9494 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then9495 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'9496 else9497 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'9498 fi9499 aix_use_runtimelinking=no9500 9501 # Test if we are trying to use run time linking or normal9502 # AIX style linking. If -brtl is somewhere in LDFLAGS, we9503 # have runtime linking enabled, and use it for executables.9504 # For shared libraries, we enable/disable runtime linking9505 # depending on the kind of the shared library created -9506 # when "with_aix_soname,aix_use_runtimelinking" is:9507 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables9508 # "aix,yes" lib.so shared, rtl:yes, for executables9509 # lib.a static archive9510 # "both,no" lib.so.V(shr.o) shared, rtl:yes9511 # lib.a(lib.so.V) shared, rtl:no, for executables9512 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables9513 # lib.a(lib.so.V) shared, rtl:no9514 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables9515 # lib.a static archive9516 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)9517 for ld_flag in $LDFLAGS; do9518 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then9519 aix_use_runtimelinking=yes9520 break9521 fi9522 done9523 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then9524 # With aix-soname=svr4, we create the lib.so.V shared archives only,9525 # so we don't have lib.a shared libs to link our executables.9526 # We have to force runtime linking in this case.9527 aix_use_runtimelinking=yes9528 LDFLAGS="$LDFLAGS -Wl,-brtl"9529 fi9530 ;;9531 esac9532 9533 exp_sym_flag='-bexport'9534 no_entry_flag='-bnoentry'9535 fi9536 9537 # When large executables or shared objects are built, AIX ld can9538 # have problems creating the table of contents. If linking a library9539 # or program results in "error TOC overflow" add -mminimal-toc to9540 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not9541 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.9542 9543 archive_cmds=''9544 hardcode_direct=yes9545 hardcode_direct_absolute=yes9546 hardcode_libdir_separator=':'9547 link_all_deplibs=yes9548 file_list_spec='$wl-f,'9549 case $with_aix_soname,$aix_use_runtimelinking in9550 aix,*) ;; # traditional, no import file9551 svr4,* | *,yes) # use import file9552 # The Import File defines what to hardcode.9553 hardcode_direct=no9554 hardcode_direct_absolute=no9555 ;;9556 esac9557 9558 if test yes = "$GCC"; then9559 case $host_os in aix4.[012]|aix4.[012].*)9560 # We only want to do this on AIX 4.2 and lower, the check9561 # below for broken collect2 doesn't work under 4.3+9562 collect2name=`$CC -print-prog-name=collect2`9563 if test -f "$collect2name" &&9564 strings "$collect2name" | $GREP resolve_lib_name >/dev/null9565 then9566 # We have reworked collect29567 :9568 else9569 # We have old collect29570 hardcode_direct=unsupported9571 # It fails to find uninstalled libraries when the uninstalled9572 # path is not listed in the libpath. Setting hardcode_minus_L9573 # to unsupported forces relinking9574 hardcode_minus_L=yes9575 hardcode_libdir_flag_spec='-L$libdir'9576 hardcode_libdir_separator=9577 fi9578 ;;9579 esac9580 shared_flag='-shared'9581 if test yes = "$aix_use_runtimelinking"; then9582 shared_flag="$shared_flag "'$wl-G'9583 fi9584 # Need to ensure runtime linking is disabled for the traditional9585 # shared library, or the linker may eventually find shared libraries9586 # /with/ Import File - we do not want to mix them.9587 shared_flag_aix='-shared'9588 shared_flag_svr4='-shared $wl-G'9589 else9590 # not using gcc9591 if test ia64 = "$host_cpu"; then9592 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release9593 # chokes on -Wl,-G. The following line is correct:9594 shared_flag='-G'9595 else9596 if test yes = "$aix_use_runtimelinking"; then9597 shared_flag='$wl-G'9598 else9599 shared_flag='$wl-bM:SRE'9600 fi9601 shared_flag_aix='$wl-bM:SRE'9602 shared_flag_svr4='$wl-G'9603 fi9604 fi9605 9606 export_dynamic_flag_spec='$wl-bexpall'9607 # It seems that -bexpall does not export symbols beginning with9608 # underscore (_), so it is better to generate a list of symbols to export.9609 always_export_symbols=yes9610 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then9611 # Warning - without using the other runtime loading flags (-brtl),9612 # -berok will link without error, but may produce a broken library.9613 allow_undefined_flag='-berok'9614 # Determine the default libpath from the value encoded in an9615 # empty executable.9616 if test set = "${lt_cv_aix_libpath+set}"; then9617 aix_libpath=$lt_cv_aix_libpath9618 else9619 if ${lt_cv_aix_libpath_+:} false; then :9620 $as_echo_n "(cached) " >&69621 else9622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9623 /* end confdefs.h. */9624 9625 int9626 main ()9627 {9628 9629 ;9630 return 0;9631 }9632 _ACEOF9633 if ac_fn_c_try_link "$LINENO"; then :9634 9635 lt_aix_libpath_sed='9636 /Import File Strings/,/^$/ {9637 /^0/ {9638 s/^0 *\([^ ]*\) *$/\1/9639 p9640 }9641 }'9642 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9643 # Check for a 64-bit object if we didn't find anything.9644 if test -z "$lt_cv_aix_libpath_"; then9645 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9646 fi9647 fi9648 rm -f core conftest.err conftest.$ac_objext \9649 conftest$ac_exeext conftest.$ac_ext9650 if test -z "$lt_cv_aix_libpath_"; then9651 lt_cv_aix_libpath_=/usr/lib:/lib9652 fi9653 9654 fi9655 9656 aix_libpath=$lt_cv_aix_libpath_9657 fi9658 9659 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"9660 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_flag9661 else9662 if test ia64 = "$host_cpu"; then9663 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'9664 allow_undefined_flag="-z nodefs"9665 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"9666 else9667 # Determine the default libpath from the value encoded in an9668 # empty executable.9669 if test set = "${lt_cv_aix_libpath+set}"; then9670 aix_libpath=$lt_cv_aix_libpath9671 else9672 if ${lt_cv_aix_libpath_+:} false; then :9673 $as_echo_n "(cached) " >&69674 else9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext9676 /* end confdefs.h. */9677 9678 int9679 main ()9680 {9681 9682 ;9683 return 0;9684 }9685 _ACEOF9686 if ac_fn_c_try_link "$LINENO"; then :9687 9688 lt_aix_libpath_sed='9689 /Import File Strings/,/^$/ {9690 /^0/ {9691 s/^0 *\([^ ]*\) *$/\1/9692 p9693 }9694 }'9695 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9696 # Check for a 64-bit object if we didn't find anything.9697 if test -z "$lt_cv_aix_libpath_"; then9698 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`9699 fi9700 fi9701 rm -f core conftest.err conftest.$ac_objext \9702 conftest$ac_exeext conftest.$ac_ext9703 if test -z "$lt_cv_aix_libpath_"; then9704 lt_cv_aix_libpath_=/usr/lib:/lib9705 fi9706 9707 fi9708 9709 aix_libpath=$lt_cv_aix_libpath_9710 fi9711 9712 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"9713 # Warning - without using the other run time loading flags,9714 # -berok will link without error, but may produce a broken library.9715 no_undefined_flag=' $wl-bernotok'9716 allow_undefined_flag=' $wl-berok'9717 if test yes = "$with_gnu_ld"; then9718 # We only use this code for GNU lds that support --whole-archive.9719 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'9720 else9721 # Exported symbols can be pulled into shared objects from archives9722 whole_archive_flag_spec='$convenience'9723 fi9724 archive_cmds_need_lc=yes9725 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'9726 # -brtl affects multiple linker settings, -berok does not and is overridden later9727 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'9728 if test svr4 != "$with_aix_soname"; then9729 # This is similar to how AIX traditionally builds its shared libraries.9730 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'9731 fi9732 if test aix != "$with_aix_soname"; then9733 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'9734 else9735 # used by -dlpreopen to get the symbols9736 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'9737 fi9738 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'9739 fi9740 fi9741 ;;9742 9743 amigaos*)9744 case $host_cpu in9745 powerpc)9746 # see comment about AmigaOS4 .so support9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'9748 archive_expsym_cmds=''9749 ;;9750 m68k)9751 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)'9752 hardcode_libdir_flag_spec='-L$libdir'9753 hardcode_minus_L=yes9754 ;;9755 esac9756 ;;9757 9758 bsdi[45]*)9759 export_dynamic_flag_spec=-rdynamic9760 ;;9761 9762 cygwin* | mingw* | pw32* | cegcc*)9763 # When not using gcc, we currently assume that we are using9764 # Microsoft Visual C++.9765 # hardcode_libdir_flag_spec is actually meaningless, as there is9766 # no search path for DLLs.9767 case $cc_basename in9768 cl*)9769 # Native MSVC9770 hardcode_libdir_flag_spec=' '9771 allow_undefined_flag=unsupported9772 always_export_symbols=yes9773 file_list_spec='@'9774 # Tell ltmain to make .lib files, not .a files.9775 libext=lib9776 # Tell ltmain to make .dll files, not .so files.9777 shrext_cmds=.dll9778 # FIXME: Setting linknames here is a bad hack.9779 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='9780 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then9781 cp "$export_symbols" "$output_objdir/$soname.def";9782 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";9783 else9784 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;9785 fi~9786 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~9787 linknames='9788 # The linker will not automatically build a static lib if we build a DLL.9789 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'9790 enable_shared_with_static_runtimes=yes9791 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'9792 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'9793 # Don't use ranlib9794 old_postinstall_cmds='chmod 644 $oldlib'9795 postlink_cmds='lt_outputfile="@OUTPUT@"~9796 lt_tool_outputfile="@TOOL_OUTPUT@"~9797 case $lt_outputfile in9798 *.exe|*.EXE) ;;9799 *)9800 lt_outputfile=$lt_outputfile.exe9801 lt_tool_outputfile=$lt_tool_outputfile.exe9802 ;;9803 esac~9804 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then9805 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;9806 $RM "$lt_outputfile.manifest";9807 fi'9808 ;;9809 *)9810 # Assume MSVC wrapper9811 hardcode_libdir_flag_spec=' '9812 allow_undefined_flag=unsupported9813 # Tell ltmain to make .lib files, not .a files.9814 libext=lib9815 # Tell ltmain to make .dll files, not .so files.9816 shrext_cmds=.dll9817 # FIXME: Setting linknames here is a bad hack.9818 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='9819 # The linker will automatically build a .lib file if we build a DLL.9820 old_archive_from_new_cmds='true'9821 # FIXME: Should let the user specify the lib program.9822 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'9823 enable_shared_with_static_runtimes=yes9824 ;;9825 esac9826 ;;9827 9828 darwin* | rhapsody*)9829 9830 9831 archive_cmds_need_lc=no9832 hardcode_direct=no9833 hardcode_automatic=yes9834 hardcode_shlibpath_var=unsupported9835 if test yes = "$lt_cv_ld_force_load"; then9836 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\"`'9837 9838 else9839 whole_archive_flag_spec=''9840 fi9841 link_all_deplibs=yes9842 allow_undefined_flag=$_lt_dar_allow_undefined9843 case $cc_basename in9844 ifort*|nagfor*) _lt_dar_can_shared=yes ;;9845 *) _lt_dar_can_shared=$GCC ;;9846 esac9847 if test yes = "$_lt_dar_can_shared"; then9848 output_verbose_link_cmd=func_echo_all9849 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"9850 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"9851 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"9852 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"9853 9854 else9855 ld_shlibs=no9856 fi9857 9858 ;;9859 9860 dgux*)9861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'9862 hardcode_libdir_flag_spec='-L$libdir'9863 hardcode_shlibpath_var=no9864 ;;9865 9866 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor9867 # support. Future versions do this automatically, but an explicit c++rt0.o9868 # does not break anything, and helps significantly (at the cost of a little9869 # extra space).9870 freebsd2.2*)9871 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'9872 hardcode_libdir_flag_spec='-R$libdir'9873 hardcode_direct=yes9874 hardcode_shlibpath_var=no9875 ;;9876 9877 # Unfortunately, older versions of FreeBSD 2 do not have this feature.9878 freebsd2.*)9879 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'9880 hardcode_direct=yes9881 hardcode_minus_L=yes9882 hardcode_shlibpath_var=no9883 ;;9884 9885 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.9886 freebsd* | dragonfly*)9887 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'9888 hardcode_libdir_flag_spec='-R$libdir'9889 hardcode_direct=yes9890 hardcode_shlibpath_var=no9891 ;;9892 9893 hpux9*)9894 if test yes = "$GCC"; then9895 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'9896 else9897 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'9898 fi9899 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9900 hardcode_libdir_separator=:9901 hardcode_direct=yes9902 9903 # hardcode_minus_L: Not really in the search PATH,9904 # but as the default location of the library.9905 hardcode_minus_L=yes9906 export_dynamic_flag_spec='$wl-E'9907 ;;9908 9909 hpux10*)9910 if test yes,no = "$GCC,$with_gnu_ld"; then9911 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9912 else9913 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9914 fi9915 if test no = "$with_gnu_ld"; then9916 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9917 hardcode_libdir_separator=:9918 hardcode_direct=yes9919 hardcode_direct_absolute=yes9920 export_dynamic_flag_spec='$wl-E'9921 # hardcode_minus_L: Not really in the search PATH,9922 # but as the default location of the library.9923 hardcode_minus_L=yes9924 fi9925 ;;9926 9927 hpux11*)9928 if test yes,no = "$GCC,$with_gnu_ld"; then9929 case $host_cpu in9930 hppa*64*)9931 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'9932 ;;9933 ia64*)9934 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9935 ;;9936 *)9937 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9938 ;;9939 esac9940 else9941 case $host_cpu in9942 hppa*64*)9943 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'9944 ;;9945 ia64*)9946 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'9947 ;;9948 *)9949 9950 # Older versions of the 11.00 compiler do not understand -b yet9951 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&59953 $as_echo_n "checking if $CC understands -b... " >&6; }9954 if ${lt_cv_prog_compiler__b+:} false; then :9955 $as_echo_n "(cached) " >&69956 else9957 lt_cv_prog_compiler__b=no9958 save_LDFLAGS=$LDFLAGS9959 LDFLAGS="$LDFLAGS -b"9960 echo "$lt_simple_link_test_code" > conftest.$ac_ext9961 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then9962 # The linker can only warn and ignore the option if not recognized9963 # So say no if there are warnings9964 if test -s conftest.err; then9965 # Append any errors to the config.log.9966 cat conftest.err 1>&59967 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp9968 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er29969 if diff conftest.exp conftest.er2 >/dev/null; then9970 lt_cv_prog_compiler__b=yes9971 fi9972 else9973 lt_cv_prog_compiler__b=yes9974 fi9975 fi9976 $RM -r conftest*9977 LDFLAGS=$save_LDFLAGS9978 9979 fi9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&59981 $as_echo "$lt_cv_prog_compiler__b" >&6; }9982 9983 if test yes = "$lt_cv_prog_compiler__b"; then9984 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'9985 else9986 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'9987 fi9988 9989 ;;9990 esac9991 fi9992 if test no = "$with_gnu_ld"; then9993 hardcode_libdir_flag_spec='$wl+b $wl$libdir'9994 hardcode_libdir_separator=:9995 9996 case $host_cpu in9997 hppa*64*|ia64*)9998 hardcode_direct=no9999 hardcode_shlibpath_var=no10000 ;;10001 *)10002 hardcode_direct=yes10003 hardcode_direct_absolute=yes10004 export_dynamic_flag_spec='$wl-E'10005 10006 # hardcode_minus_L: Not really in the search PATH,10007 # but as the default location of the library.10008 hardcode_minus_L=yes10009 ;;10010 esac10011 fi10012 ;;10013 10014 irix5* | irix6* | nonstopux*)10015 if test yes = "$GCC"; then10016 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'10017 # Try to use the -exported_symbol ld option, if it does not10018 # work, assume that -exports_file does not work either and10019 # implicitly export all symbols.10020 # This should be the same for all languages, so no per-tag cache variable.10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&510022 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }10023 if ${lt_cv_irix_exported_symbol+:} false; then :10024 $as_echo_n "(cached) " >&610025 else10026 save_LDFLAGS=$LDFLAGS10027 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext10029 /* end confdefs.h. */10030 int foo (void) { return 0; }10031 _ACEOF10032 if ac_fn_c_try_link "$LINENO"; then :10033 lt_cv_irix_exported_symbol=yes10034 else10035 lt_cv_irix_exported_symbol=no10036 fi10037 rm -f core conftest.err conftest.$ac_objext \10038 conftest$ac_exeext conftest.$ac_ext10039 LDFLAGS=$save_LDFLAGS10040 fi10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&510042 $as_echo "$lt_cv_irix_exported_symbol" >&6; }10043 if test yes = "$lt_cv_irix_exported_symbol"; then10044 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'10045 fi10046 link_all_deplibs=no10047 else10048 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'10049 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'10050 fi10051 archive_cmds_need_lc='no'10052 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10053 hardcode_libdir_separator=:10054 inherit_rpath=yes10055 link_all_deplibs=yes10056 ;;10057 10058 linux*)10059 case $cc_basename in10060 tcc*)10061 # Fabrice Bellard et al's Tiny C Compiler10062 ld_shlibs=yes10063 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10064 ;;10065 esac10066 ;;10067 10068 netbsd* | netbsdelf*-gnu)10069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then10070 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out10071 else10072 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF10073 fi10074 hardcode_libdir_flag_spec='-R$libdir'10075 hardcode_direct=yes10076 hardcode_shlibpath_var=no10077 ;;10078 10079 newsos6)10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10081 hardcode_direct=yes10082 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10083 hardcode_libdir_separator=:10084 hardcode_shlibpath_var=no10085 ;;10086 10087 *nto* | *qnx*)10088 ;;10089 10090 openbsd* | bitrig*)10091 if test -f /usr/libexec/ld.so; then10092 hardcode_direct=yes10093 hardcode_shlibpath_var=no10094 hardcode_direct_absolute=yes10095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then10096 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10097 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'10098 hardcode_libdir_flag_spec='$wl-rpath,$libdir'10099 export_dynamic_flag_spec='$wl-E'10100 else10101 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'10102 hardcode_libdir_flag_spec='$wl-rpath,$libdir'10103 fi10104 else10105 ld_shlibs=no10106 fi10107 ;;10108 10109 os2*)10110 hardcode_libdir_flag_spec='-L$libdir'10111 hardcode_minus_L=yes10112 allow_undefined_flag=unsupported10113 shrext_cmds=.dll10114 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~10115 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~10116 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~10117 $ECHO EXPORTS >> $output_objdir/$libname.def~10118 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~10119 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~10120 emximp -o $lib $output_objdir/$libname.def'10121 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~10122 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~10123 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~10124 $ECHO EXPORTS >> $output_objdir/$libname.def~10125 prefix_cmds="$SED"~10126 if test EXPORTS = "`$SED 1q $export_symbols`"; then10127 prefix_cmds="$prefix_cmds -e 1d";10128 fi~10129 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~10130 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~10131 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~10132 emximp -o $lib $output_objdir/$libname.def'10133 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'10134 enable_shared_with_static_runtimes=yes10135 ;;10136 10137 osf3*)10138 if test yes = "$GCC"; then10139 allow_undefined_flag=' $wl-expect_unresolved $wl\*'10140 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'10141 else10142 allow_undefined_flag=' -expect_unresolved \*'10143 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'10144 fi10145 archive_cmds_need_lc='no'10146 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10147 hardcode_libdir_separator=:10148 ;;10149 10150 osf4* | osf5*) # as osf3* with the addition of -msym flag10151 if test yes = "$GCC"; then10152 allow_undefined_flag=' $wl-expect_unresolved $wl\*'10153 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'10154 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'10155 else10156 allow_undefined_flag=' -expect_unresolved \*'10157 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'10158 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~10159 $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'10160 10161 # Both c and cxx compiler support -rpath directly10162 hardcode_libdir_flag_spec='-rpath $libdir'10163 fi10164 archive_cmds_need_lc='no'10165 hardcode_libdir_separator=:10166 ;;10167 10168 solaris*)10169 no_undefined_flag=' -z defs'10170 if test yes = "$GCC"; then10171 wlarc='$wl'10172 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'10173 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10174 $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'10175 else10176 case `$CC -V 2>&1` in10177 *"Compilers 5.0"*)10178 wlarc=''10179 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'10180 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10181 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'10182 ;;10183 *)10184 wlarc='$wl'10185 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'10186 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~10187 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'10188 ;;10189 esac10190 fi10191 hardcode_libdir_flag_spec='-R$libdir'10192 hardcode_shlibpath_var=no10193 case $host_os in10194 solaris2.[0-5] | solaris2.[0-5].*) ;;10195 *)10196 # The compiler driver will combine and reorder linker options,10197 # but understands '-z linker_flag'. GCC discards it without '$wl',10198 # but is careful enough not to reorder.10199 # Supported since Solaris 2.6 (maybe 2.5.1?)10200 if test yes = "$GCC"; then10201 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'10202 else10203 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'10204 fi10205 ;;10206 esac10207 link_all_deplibs=yes10208 ;;10209 10210 sunos4*)10211 if test sequent = "$host_vendor"; then10212 # Use $CC to link under sequent, because it throws in some extra .o10213 # files that make .init and .fini sections work.10214 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'10215 else10216 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'10217 fi10218 hardcode_libdir_flag_spec='-L$libdir'10219 hardcode_direct=yes10220 hardcode_minus_L=yes10221 hardcode_shlibpath_var=no10222 ;;10223 10224 sysv4)10225 case $host_vendor in10226 sni)10227 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10228 hardcode_direct=yes # is this really true???10229 ;;10230 siemens)10231 ## LD is ld it makes a PLAMLIB10232 ## CC just makes a GrossModule.10233 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'10234 reload_cmds='$CC -r -o $output$reload_objs'10235 hardcode_direct=no10236 ;;10237 motorola)10238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10239 hardcode_direct=no #Motorola manual says yes, but my tests say they lie10240 ;;10241 esac10242 runpath_var='LD_RUN_PATH'10243 hardcode_shlibpath_var=no10244 ;;10245 10246 sysv4.3*)10247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10248 hardcode_shlibpath_var=no10249 export_dynamic_flag_spec='-Bexport'10250 ;;10251 10252 sysv4*MP*)10253 if test -d /usr/nec; then10254 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10255 hardcode_shlibpath_var=no10256 runpath_var=LD_RUN_PATH10257 hardcode_runpath_var=yes10258 ld_shlibs=yes10259 fi10260 ;;10261 10262 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)10263 no_undefined_flag='$wl-z,text'10264 archive_cmds_need_lc=no10265 hardcode_shlibpath_var=no10266 runpath_var='LD_RUN_PATH'10267 10268 if test yes = "$GCC"; then10269 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10270 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10271 else10272 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10273 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10274 fi10275 ;;10276 10277 sysv5* | sco3.2v5* | sco5v6*)10278 # Note: We CANNOT use -z defs as we might desire, because we do not10279 # link with -lc, and that would cause any symbols used from libc to10280 # always be unresolved, which means just about no library would10281 # ever link correctly. If we're not using GNU ld we use -z text10282 # though, which does catch some bad symbols but isn't as heavy-handed10283 # as -z defs.10284 no_undefined_flag='$wl-z,text'10285 allow_undefined_flag='$wl-z,nodefs'10286 archive_cmds_need_lc=no10287 hardcode_shlibpath_var=no10288 hardcode_libdir_flag_spec='$wl-R,$libdir'10289 hardcode_libdir_separator=':'10290 link_all_deplibs=yes10291 export_dynamic_flag_spec='$wl-Bexport'10292 runpath_var='LD_RUN_PATH'10293 10294 if test yes = "$GCC"; then10295 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10296 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10297 else10298 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10299 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'10300 fi10301 ;;10302 10303 uts4*)10304 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'10305 hardcode_libdir_flag_spec='-L$libdir'10306 hardcode_shlibpath_var=no10307 ;;10308 10309 *)10310 ld_shlibs=no10311 ;;10312 esac10313 10314 if test sni = "$host_vendor"; then10315 case $host in10316 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)10317 export_dynamic_flag_spec='$wl-Blargedynsym'10318 ;;10319 esac10320 fi10321 fi10322 10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&510324 $as_echo "$ld_shlibs" >&6; }10325 test no = "$ld_shlibs" && can_build_shared=no10326 10327 with_gnu_ld=$with_gnu_ld10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 #10344 # Do we need to explicitly link libc?10345 #10346 case "x$archive_cmds_need_lc" in10347 x|xyes)10348 # Assume -lc should be added10349 archive_cmds_need_lc=yes10350 10351 if test yes,yes = "$GCC,$enable_shared"; then10352 case $archive_cmds in10353 *'~'*)10354 # FIXME: we may have to deal with multi-command sequences.10355 ;;10356 '$CC '*)10357 # Test whether the compiler implicitly links with -lc since on some10358 # systems, -lgcc has to come before -lc. If gcc already passes -lc10359 # to ld, don't add -lc before -lgcc.10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&510361 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }10362 if ${lt_cv_archive_cmds_need_lc+:} false; then :10363 $as_echo_n "(cached) " >&610364 else10365 $RM conftest*10366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext10367 10368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&510369 (eval $ac_compile) 2>&510370 ac_status=$?10371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&510372 test $ac_status = 0; } 2>conftest.err; then10373 soname=conftest10374 lib=conftest10375 libobjs=conftest.$ac_objext10376 deplibs=10377 wl=$lt_prog_compiler_wl10378 pic_flag=$lt_prog_compiler_pic10379 compiler_flags=-v10380 linker_flags=-v10381 verstring=10382 output_objdir=.10383 libname=conftest10384 lt_save_allow_undefined_flag=$allow_undefined_flag10385 allow_undefined_flag=10386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&510387 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&510388 ac_status=$?10389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&510390 test $ac_status = 0; }10391 then10392 lt_cv_archive_cmds_need_lc=no10393 else10394 lt_cv_archive_cmds_need_lc=yes10395 fi10396 allow_undefined_flag=$lt_save_allow_undefined_flag10397 else10398 cat conftest.err 1>&510399 fi10400 $RM conftest*10401 10402 fi10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&510404 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }10405 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc10406 ;;10407 esac10408 fi10409 ;;10410 esac10411 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 10561 10562 10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&510564 $as_echo_n "checking dynamic linker characteristics... " >&6; }10565 10566 if test yes = "$GCC"; then10567 case $host_os in10568 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;10569 *) lt_awk_arg='/^libraries:/' ;;10570 esac10571 case $host_os in10572 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;10573 *) lt_sed_strip_eq='s|=/|/|g' ;;10574 esac10575 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`10576 case $lt_search_path_spec in10577 *\;*)10578 # if the path contains ";" then we assume it to be the separator10579 # otherwise default to the standard path separator (i.e. ":") - it is10580 # assumed that no part of a normal pathname contains ";" but that should10581 # okay in the real world where ";" in dirpaths is itself problematic.10582 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`10583 ;;10584 *)10585 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`10586 ;;10587 esac10588 # Ok, now we have the path, separated by spaces, we can step through it10589 # and add multilib dir if necessary...10590 lt_tmp_lt_search_path_spec=10591 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`10592 # ...but if some path component already ends with the multilib dir we assume10593 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).10594 case "$lt_multi_os_dir; $lt_search_path_spec " in10595 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)10596 lt_multi_os_dir=10597 ;;10598 esac10599 for lt_sys_path in $lt_search_path_spec; do10600 if test -d "$lt_sys_path$lt_multi_os_dir"; then10601 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"10602 elif test -n "$lt_multi_os_dir"; then10603 test -d "$lt_sys_path" && \10604 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"10605 fi10606 done10607 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '10608 BEGIN {RS = " "; FS = "/|\n";} {10609 lt_foo = "";10610 lt_count = 0;10611 for (lt_i = NF; lt_i > 0; lt_i--) {10612 if ($lt_i != "" && $lt_i != ".") {10613 if ($lt_i == "..") {10614 lt_count++;10615 } else {10616 if (lt_count == 0) {10617 lt_foo = "/" $lt_i lt_foo;10618 } else {10619 lt_count--;10620 }10621 }10622 }10623 }10624 if (lt_foo != "") { lt_freq[lt_foo]++; }10625 if (lt_freq[lt_foo] == 1) { print lt_foo; }10626 }'`10627 # AWK program above erroneously prepends '/' to C:/dos/paths10628 # for these hosts.10629 case $host_os in10630 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\10631 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;10632 esac10633 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`10634 else10635 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"10636 fi10637 library_names_spec=10638 libname_spec='lib$name'10639 soname_spec=10640 shrext_cmds=.so10641 postinstall_cmds=10642 postuninstall_cmds=10643 finish_cmds=10644 finish_eval=10645 shlibpath_var=10646 shlibpath_overrides_runpath=unknown10647 version_type=none10648 dynamic_linker="$host_os ld.so"10649 sys_lib_dlsearch_path_spec="/lib /usr/lib"10650 need_lib_prefix=unknown10651 hardcode_into_libs=no10652 10653 # when you set need_version to no, make sure it does not cause -set_version10654 # flags to be left without arguments10655 need_version=unknown10656 10657 10658 10659 case $host_os in10660 aix3*)10661 version_type=linux # correct to gnu/linux during the next big refactor10662 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'10663 shlibpath_var=LIBPATH10664 10665 # AIX 3 has no versioning support, so we append a major version to the name.10666 soname_spec='$libname$release$shared_ext$major'10667 ;;10668 10669 aix[4-9]*)10670 version_type=linux # correct to gnu/linux during the next big refactor10671 need_lib_prefix=no10672 need_version=no10673 hardcode_into_libs=yes10674 if test ia64 = "$host_cpu"; then10675 # AIX 5 supports IA6410676 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'10677 shlibpath_var=LD_LIBRARY_PATH10678 else10679 # With GCC up to 2.95.x, collect2 would create an import file10680 # for dependence libraries. The import file would start with10681 # the line '#! .'. This would cause the generated library to10682 # depend on '.', always an invalid library. This was fixed in10683 # development snapshots of GCC prior to 3.0.10684 case $host_os in10685 aix4 | aix4.[01] | aix4.[01].*)10686 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'10687 echo ' yes '10688 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then10689 :10690 else10691 can_build_shared=no10692 fi10693 ;;10694 esac10695 # Using Import Files as archive members, it is possible to support10696 # filename-based versioning of shared library archives on AIX. While10697 # this would work for both with and without runtime linking, it will10698 # prevent static linking of such archives. So we do filename-based10699 # shared library versioning with .so extension only, which is used10700 # when both runtime linking and shared linking is enabled.10701 # Unfortunately, runtime linking may impact performance, so we do10702 # not want this to be the default eventually. Also, we use the10703 # versioned .so libs for executables only if there is the -brtl10704 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.10705 # To allow for filename-based versioning support, we need to create10706 # libNAME.so.V as an archive file, containing:10707 # *) an Import File, referring to the versioned filename of the10708 # archive as well as the shared archive member, telling the10709 # bitwidth (32 or 64) of that shared object, and providing the10710 # list of exported symbols of that shared object, eventually10711 # decorated with the 'weak' keyword10712 # *) the shared object with the F_LOADONLY flag set, to really avoid10713 # it being seen by the linker.10714 # At run time we better use the real file rather than another symlink,10715 # but for link time we create the symlink libNAME.so -> libNAME.so.V10716 10717 case $with_aix_soname,$aix_use_runtimelinking in10718 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct10719 # soname into executable. Probably we can add versioning support to10720 # collect2, so additional links can be useful in future.10721 aix,yes) # traditional libtool10722 dynamic_linker='AIX unversionable lib.so'10723 # If using run time linking (on AIX 4.2 or later) use lib<name>.so10724 # instead of lib<name>.a to let people know that these are not10725 # typical AIX shared libraries.10726 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10727 ;;10728 aix,no) # traditional AIX only10729 dynamic_linker='AIX lib.a(lib.so.V)'10730 # We preserve .a as extension for shared libraries through AIX4.210731 # and later when we are not doing run time linking.10732 library_names_spec='$libname$release.a $libname.a'10733 soname_spec='$libname$release$shared_ext$major'10734 ;;10735 svr4,*) # full svr4 only10736 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"10737 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'10738 # We do not specify a path in Import Files, so LIBPATH fires.10739 shlibpath_overrides_runpath=yes10740 ;;10741 *,yes) # both, prefer svr410742 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"10743 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'10744 # unpreferred sharedlib libNAME.a needs extra handling10745 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"'10746 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"'10747 # We do not specify a path in Import Files, so LIBPATH fires.10748 shlibpath_overrides_runpath=yes10749 ;;10750 *,no) # both, prefer aix10751 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"10752 library_names_spec='$libname$release.a $libname.a'10753 soname_spec='$libname$release$shared_ext$major'10754 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling10755 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)'10756 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"'10757 ;;10758 esac10759 shlibpath_var=LIBPATH10760 fi10761 ;;10762 10763 amigaos*)10764 case $host_cpu in10765 powerpc)10766 # Since July 2007 AmigaOS4 officially supports .so libraries.10767 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.10768 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10769 ;;10770 m68k)10771 library_names_spec='$libname.ixlibrary $libname.a'10772 # Create ${libname}_ixlibrary.a entries in /sys/libs.10773 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'10774 ;;10775 esac10776 ;;10777 10778 beos*)10779 library_names_spec='$libname$shared_ext'10780 dynamic_linker="$host_os ld.so"10781 shlibpath_var=LIBRARY_PATH10782 ;;10783 10784 bsdi[45]*)10785 version_type=linux # correct to gnu/linux during the next big refactor10786 need_version=no10787 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10788 soname_spec='$libname$release$shared_ext$major'10789 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'10790 shlibpath_var=LD_LIBRARY_PATH10791 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"10792 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"10793 # the default ld.so.conf also contains /usr/contrib/lib and10794 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow10795 # libtool to hard-code these into programs10796 ;;10797 10798 cygwin* | mingw* | pw32* | cegcc*)10799 version_type=windows10800 shrext_cmds=.dll10801 need_version=no10802 need_lib_prefix=no10803 10804 case $GCC,$cc_basename in10805 yes,*)10806 # gcc10807 library_names_spec='$libname.dll.a'10808 # DLL is installed to $(libdir)/../bin by postinstall_cmds10809 postinstall_cmds='base_file=`basename \$file`~10810 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~10811 dldir=$destdir/`dirname \$dlpath`~10812 test -d \$dldir || mkdir -p \$dldir~10813 $install_prog $dir/$dlname \$dldir/$dlname~10814 chmod a+x \$dldir/$dlname~10815 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then10816 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;10817 fi'10818 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~10819 dlpath=$dir/\$dldll~10820 $RM \$dlpath'10821 shlibpath_overrides_runpath=yes10822 10823 case $host_os in10824 cygwin*)10825 # Cygwin DLLs use 'cyg' prefix rather than 'lib'10826 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10827 10828 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"10829 ;;10830 mingw* | cegcc*)10831 # MinGW DLLs use traditional 'lib' prefix10832 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10833 ;;10834 pw32*)10835 # pw32 DLLs use 'pw' prefix rather than 'lib'10836 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10837 ;;10838 esac10839 dynamic_linker='Win32 ld.exe'10840 ;;10841 10842 *,cl*)10843 # Native MSVC10844 libname_spec='$name'10845 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'10846 library_names_spec='$libname.dll.lib'10847 10848 case $build_os in10849 mingw*)10850 sys_lib_search_path_spec=10851 lt_save_ifs=$IFS10852 IFS=';'10853 for lt_path in $LIB10854 do10855 IFS=$lt_save_ifs10856 # Let DOS variable expansion print the short 8.3 style file name.10857 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`10858 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"10859 done10860 IFS=$lt_save_ifs10861 # Convert to MSYS style.10862 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`10863 ;;10864 cygwin*)10865 # Convert to unix form, then to dos form, then back to unix form10866 # but this time dos style (no spaces!) so that the unix form looks10867 # like /cygdrive/c/PROGRA~1:/cygdr...10868 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`10869 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`10870 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10871 ;;10872 *)10873 sys_lib_search_path_spec=$LIB10874 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then10875 # It is most probably a Windows format PATH.10876 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`10877 else10878 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`10879 fi10880 # FIXME: find the short name or the path components, as spaces are10881 # common. (e.g. "Program Files" -> "PROGRA~1")10882 ;;10883 esac10884 10885 # DLL is installed to $(libdir)/../bin by postinstall_cmds10886 postinstall_cmds='base_file=`basename \$file`~10887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~10888 dldir=$destdir/`dirname \$dlpath`~10889 test -d \$dldir || mkdir -p \$dldir~10890 $install_prog $dir/$dlname \$dldir/$dlname'10891 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~10892 dlpath=$dir/\$dldll~10893 $RM \$dlpath'10894 shlibpath_overrides_runpath=yes10895 dynamic_linker='Win32 link.exe'10896 ;;10897 10898 *)10899 # Assume MSVC wrapper10900 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'10901 dynamic_linker='Win32 ld.exe'10902 ;;10903 esac10904 # FIXME: first we should search . and the directory the executable is in10905 shlibpath_var=PATH10906 ;;10907 10908 darwin* | rhapsody*)10909 dynamic_linker="$host_os dyld"10910 version_type=darwin10911 need_lib_prefix=no10912 need_version=no10913 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'10914 soname_spec='$libname$release$major$shared_ext'10915 shlibpath_overrides_runpath=yes10916 shlibpath_var=DYLD_LIBRARY_PATH10917 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'10918 10919 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"10920 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'10921 ;;10922 10923 dgux*)10924 version_type=linux # correct to gnu/linux during the next big refactor10925 need_lib_prefix=no10926 need_version=no10927 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10928 soname_spec='$libname$release$shared_ext$major'10929 shlibpath_var=LD_LIBRARY_PATH10930 ;;10931 10932 freebsd* | dragonfly*)10933 # DragonFly does not have aout. When/if they implement a new10934 # versioning mechanism, adjust this.10935 if test -x /usr/bin/objformat; then10936 objformat=`/usr/bin/objformat`10937 else10938 case $host_os in10939 freebsd[23].*) objformat=aout ;;10940 *) objformat=elf ;;10941 esac10942 fi10943 version_type=freebsd-$objformat10944 case $version_type in10945 freebsd-elf*)10946 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10947 soname_spec='$libname$release$shared_ext$major'10948 need_version=no10949 need_lib_prefix=no10950 ;;10951 freebsd-*)10952 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'10953 need_version=yes10954 ;;10955 esac10956 shlibpath_var=LD_LIBRARY_PATH10957 case $host_os in10958 freebsd2.*)10959 shlibpath_overrides_runpath=yes10960 ;;10961 freebsd3.[01]* | freebsdelf3.[01]*)10962 shlibpath_overrides_runpath=yes10963 hardcode_into_libs=yes10964 ;;10965 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \10966 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)10967 shlibpath_overrides_runpath=no10968 hardcode_into_libs=yes10969 ;;10970 *) # from 4.6 on, and DragonFly10971 shlibpath_overrides_runpath=yes10972 hardcode_into_libs=yes10973 ;;10974 esac10975 ;;10976 10977 haiku*)10978 version_type=linux # correct to gnu/linux during the next big refactor10979 need_lib_prefix=no10980 need_version=no10981 dynamic_linker="$host_os runtime_loader"10982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'10983 soname_spec='$libname$release$shared_ext$major'10984 shlibpath_var=LIBRARY_PATH10985 shlibpath_overrides_runpath=no10986 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'10987 hardcode_into_libs=yes10988 ;;10989 10990 hpux9* | hpux10* | hpux11*)10991 # Give a soname corresponding to the major version so that dld.sl refuses to10992 # link against other versions.10993 version_type=sunos10994 need_lib_prefix=no10995 need_version=no10996 case $host_cpu in10997 ia64*)10998 shrext_cmds='.so'10999 hardcode_into_libs=yes11000 dynamic_linker="$host_os dld.so"11001 shlibpath_var=LD_LIBRARY_PATH11002 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.11003 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11004 soname_spec='$libname$release$shared_ext$major'11005 if test 32 = "$HPUX_IA64_MODE"; then11006 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"11007 sys_lib_dlsearch_path_spec=/usr/lib/hpux3211008 else11009 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"11010 sys_lib_dlsearch_path_spec=/usr/lib/hpux6411011 fi11012 ;;11013 hppa*64*)11014 shrext_cmds='.sl'11015 hardcode_into_libs=yes11016 dynamic_linker="$host_os dld.sl"11017 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH11018 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.11019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11020 soname_spec='$libname$release$shared_ext$major'11021 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"11022 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11023 ;;11024 *)11025 shrext_cmds='.sl'11026 dynamic_linker="$host_os dld.sl"11027 shlibpath_var=SHLIB_PATH11028 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH11029 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11030 soname_spec='$libname$release$shared_ext$major'11031 ;;11032 esac11033 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...11034 postinstall_cmds='chmod 555 $lib'11035 # or fails outright, so override atomically:11036 install_override_mode=55511037 ;;11038 11039 interix[3-9]*)11040 version_type=linux # correct to gnu/linux during the next big refactor11041 need_lib_prefix=no11042 need_version=no11043 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11044 soname_spec='$libname$release$shared_ext$major'11045 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'11046 shlibpath_var=LD_LIBRARY_PATH11047 shlibpath_overrides_runpath=no11048 hardcode_into_libs=yes11049 ;;11050 11051 irix5* | irix6* | nonstopux*)11052 case $host_os in11053 nonstopux*) version_type=nonstopux ;;11054 *)11055 if test yes = "$lt_cv_prog_gnu_ld"; then11056 version_type=linux # correct to gnu/linux during the next big refactor11057 else11058 version_type=irix11059 fi ;;11060 esac11061 need_lib_prefix=no11062 need_version=no11063 soname_spec='$libname$release$shared_ext$major'11064 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'11065 case $host_os in11066 irix5* | nonstopux*)11067 libsuff= shlibsuff=11068 ;;11069 *)11070 case $LD in # libtool.m4 will add one of these switches to LD11071 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")11072 libsuff= shlibsuff= libmagic=32-bit;;11073 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")11074 libsuff=32 shlibsuff=N32 libmagic=N32;;11075 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")11076 libsuff=64 shlibsuff=64 libmagic=64-bit;;11077 *) libsuff= shlibsuff= libmagic=never-match;;11078 esac11079 ;;11080 esac11081 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH11082 shlibpath_overrides_runpath=no11083 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"11084 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"11085 hardcode_into_libs=yes11086 ;;11087 11088 # No shared lib support for Linux oldld, aout, or coff.11089 linux*oldld* | linux*aout* | linux*coff*)11090 dynamic_linker=no11091 ;;11092 11093 linux*android*)11094 version_type=none # Android doesn't support versioned libraries.11095 need_lib_prefix=no11096 need_version=no11097 library_names_spec='$libname$release$shared_ext'11098 soname_spec='$libname$release$shared_ext'11099 finish_cmds=11100 shlibpath_var=LD_LIBRARY_PATH11101 shlibpath_overrides_runpath=yes11102 11103 # This implies no fast_install, which is unacceptable.11104 # Some rework will be needed to allow for fast_install11105 # before this can be enabled.11106 hardcode_into_libs=yes11107 11108 dynamic_linker='Android linker'11109 # Don't embed -rpath directories since the linker doesn't support them.11110 hardcode_libdir_flag_spec='-L$libdir'11111 ;;11112 11113 # This must be glibc/ELF.11114 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)11115 version_type=linux # correct to gnu/linux during the next big refactor11116 need_lib_prefix=no11117 need_version=no11118 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11119 soname_spec='$libname$release$shared_ext$major'11120 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'11121 shlibpath_var=LD_LIBRARY_PATH11122 shlibpath_overrides_runpath=no11123 11124 # Some binutils ld are patched to set DT_RUNPATH11125 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :11126 $as_echo_n "(cached) " >&611127 else11128 lt_cv_shlibpath_overrides_runpath=no11129 save_LDFLAGS=$LDFLAGS11130 save_libdir=$libdir11131 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \11132 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11134 /* end confdefs.h. */11135 11136 int11137 main ()11138 {11139 11140 ;11141 return 0;11142 }11143 _ACEOF11144 if ac_fn_c_try_link "$LINENO"; then :11145 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :11146 lt_cv_shlibpath_overrides_runpath=yes11147 fi11148 fi11149 rm -f core conftest.err conftest.$ac_objext \11150 conftest$ac_exeext conftest.$ac_ext11151 LDFLAGS=$save_LDFLAGS11152 libdir=$save_libdir11153 11154 fi11155 11156 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath11157 11158 # This implies no fast_install, which is unacceptable.11159 # Some rework will be needed to allow for fast_install11160 # before this can be enabled.11161 hardcode_into_libs=yes11162 11163 # Ideally, we could use ldconfig to report *all* directores which are11164 # searched for libraries, however this is still not possible. Aside from not11165 # being certain /sbin/ldconfig is available, command11166 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,11167 # even though it is searched at run-time. Try to do the best guess by11168 # appending ld.so.conf contents (and includes) to the search path.11169 if test -f /etc/ld.so.conf; then11170 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' ' '`11171 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"11172 fi11173 11174 # We used to test for /lib/ld.so.1 and disable shared libraries on11175 # powerpc, because MkLinux only supported shared libraries with the11176 # GNU dynamic linker. Since this was broken with cross compilers,11177 # most powerpc-linux boxes support dynamic linking these days and11178 # people can always --disable-shared, the test was removed, and we11179 # assume the GNU/Linux dynamic linker is in use.11180 dynamic_linker='GNU/Linux ld.so'11181 ;;11182 11183 netbsdelf*-gnu)11184 version_type=linux11185 need_lib_prefix=no11186 need_version=no11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'11188 soname_spec='${libname}${release}${shared_ext}$major'11189 shlibpath_var=LD_LIBRARY_PATH11190 shlibpath_overrides_runpath=no11191 hardcode_into_libs=yes11192 dynamic_linker='NetBSD ld.elf_so'11193 ;;11194 11195 netbsd*)11196 version_type=sunos11197 need_lib_prefix=no11198 need_version=no11199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then11200 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11201 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'11202 dynamic_linker='NetBSD (a.out) ld.so'11203 else11204 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11205 soname_spec='$libname$release$shared_ext$major'11206 dynamic_linker='NetBSD ld.elf_so'11207 fi11208 shlibpath_var=LD_LIBRARY_PATH11209 shlibpath_overrides_runpath=yes11210 hardcode_into_libs=yes11211 ;;11212 11213 newsos6)11214 version_type=linux # correct to gnu/linux during the next big refactor11215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11216 shlibpath_var=LD_LIBRARY_PATH11217 shlibpath_overrides_runpath=yes11218 ;;11219 11220 *nto* | *qnx*)11221 version_type=qnx11222 need_lib_prefix=no11223 need_version=no11224 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11225 soname_spec='$libname$release$shared_ext$major'11226 shlibpath_var=LD_LIBRARY_PATH11227 shlibpath_overrides_runpath=no11228 hardcode_into_libs=yes11229 dynamic_linker='ldqnx.so'11230 ;;11231 11232 openbsd* | bitrig*)11233 version_type=sunos11234 sys_lib_dlsearch_path_spec=/usr/lib11235 need_lib_prefix=no11236 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then11237 need_version=no11238 else11239 need_version=yes11240 fi11241 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11242 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'11243 shlibpath_var=LD_LIBRARY_PATH11244 shlibpath_overrides_runpath=yes11245 ;;11246 11247 os2*)11248 libname_spec='$name'11249 version_type=windows11250 shrext_cmds=.dll11251 need_version=no11252 need_lib_prefix=no11253 # OS/2 can only load a DLL with a base name of 8 characters or less.11254 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";11255 v=$($ECHO $release$versuffix | tr -d .-);11256 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);11257 $ECHO $n$v`$shared_ext'11258 library_names_spec='${libname}_dll.$libext'11259 dynamic_linker='OS/2 ld.exe'11260 shlibpath_var=BEGINLIBPATH11261 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"11262 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11263 postinstall_cmds='base_file=`basename \$file`~11264 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~11265 dldir=$destdir/`dirname \$dlpath`~11266 test -d \$dldir || mkdir -p \$dldir~11267 $install_prog $dir/$dlname \$dldir/$dlname~11268 chmod a+x \$dldir/$dlname~11269 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then11270 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;11271 fi'11272 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~11273 dlpath=$dir/\$dldll~11274 $RM \$dlpath'11275 ;;11276 11277 osf3* | osf4* | osf5*)11278 version_type=osf11279 need_lib_prefix=no11280 need_version=no11281 soname_spec='$libname$release$shared_ext$major'11282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11283 shlibpath_var=LD_LIBRARY_PATH11284 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"11285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec11286 ;;11287 11288 rdos*)11289 dynamic_linker=no11290 ;;11291 11292 solaris*)11293 version_type=linux # correct to gnu/linux during the next big refactor11294 need_lib_prefix=no11295 need_version=no11296 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11297 soname_spec='$libname$release$shared_ext$major'11298 shlibpath_var=LD_LIBRARY_PATH11299 shlibpath_overrides_runpath=yes11300 hardcode_into_libs=yes11301 # ldd complains unless libraries are executable11302 postinstall_cmds='chmod +x $lib'11303 ;;11304 11305 sunos4*)11306 version_type=sunos11307 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'11308 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'11309 shlibpath_var=LD_LIBRARY_PATH11310 shlibpath_overrides_runpath=yes11311 if test yes = "$with_gnu_ld"; then11312 need_lib_prefix=no11313 fi11314 need_version=yes11315 ;;11316 11317 sysv4 | sysv4.3*)11318 version_type=linux # correct to gnu/linux during the next big refactor11319 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11320 soname_spec='$libname$release$shared_ext$major'11321 shlibpath_var=LD_LIBRARY_PATH11322 case $host_vendor in11323 sni)11324 shlibpath_overrides_runpath=no11325 need_lib_prefix=no11326 runpath_var=LD_RUN_PATH11327 ;;11328 siemens)11329 need_lib_prefix=no11330 ;;11331 motorola)11332 need_lib_prefix=no11333 need_version=no11334 shlibpath_overrides_runpath=no11335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'11336 ;;11337 esac11338 ;;11339 11340 sysv4*MP*)11341 if test -d /usr/nec; then11342 version_type=linux # correct to gnu/linux during the next big refactor11343 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'11344 soname_spec='$libname$shared_ext.$major'11345 shlibpath_var=LD_LIBRARY_PATH11346 fi11347 ;;11348 11349 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)11350 version_type=sco11351 need_lib_prefix=no11352 need_version=no11353 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'11354 soname_spec='$libname$release$shared_ext$major'11355 shlibpath_var=LD_LIBRARY_PATH11356 shlibpath_overrides_runpath=yes11357 hardcode_into_libs=yes11358 if test yes = "$with_gnu_ld"; then11359 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'11360 else11361 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'11362 case $host_os in11363 sco3.2v5*)11364 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"11365 ;;11366 esac11367 fi11368 sys_lib_dlsearch_path_spec='/usr/lib'11369 ;;11370 11371 tpf*)11372 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.11373 version_type=linux # correct to gnu/linux during the next big refactor11374 need_lib_prefix=no11375 need_version=no11376 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11377 shlibpath_var=LD_LIBRARY_PATH11378 shlibpath_overrides_runpath=no11379 hardcode_into_libs=yes11380 ;;11381 11382 uts4*)11383 version_type=linux # correct to gnu/linux during the next big refactor11384 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'11385 soname_spec='$libname$release$shared_ext$major'11386 shlibpath_var=LD_LIBRARY_PATH11387 ;;11388 11389 *)11390 dynamic_linker=no11391 ;;11392 esac11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&511394 $as_echo "$dynamic_linker" >&6; }11395 test no = "$dynamic_linker" && can_build_shared=no11396 11397 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"11398 if test yes = "$GCC"; then11399 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"11400 fi11401 11402 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then11403 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec11404 fi11405 11406 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then11407 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec11408 fi11409 11410 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...11411 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec11412 11413 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code11414 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"11415 11416 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool11417 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH11418 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 11513 11514 11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&511516 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }11517 hardcode_action=11518 if test -n "$hardcode_libdir_flag_spec" ||11519 test -n "$runpath_var" ||11520 test yes = "$hardcode_automatic"; then11521 11522 # We can hardcode non-existent directories.11523 if test no != "$hardcode_direct" &&11524 # If the only mechanism to avoid hardcoding is shlibpath_var, we11525 # have to relink, otherwise we might link with an installed library11526 # when we should be linking with a yet-to-be-installed one11527 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&11528 test no != "$hardcode_minus_L"; then11529 # Linking always hardcodes the temporary library directory.11530 hardcode_action=relink11531 else11532 # We can link without hardcoding, and we can hardcode nonexisting dirs.11533 hardcode_action=immediate11534 fi11535 else11536 # We cannot hardcode anything, or else we can only hardcode existing11537 # directories.11538 hardcode_action=unsupported11539 fi11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&511541 $as_echo "$hardcode_action" >&6; }11542 11543 if test relink = "$hardcode_action" ||11544 test yes = "$inherit_rpath"; then11545 # Fast installation is not supported11546 enable_fast_install=no11547 elif test yes = "$shlibpath_overrides_runpath" ||11548 test no = "$enable_shared"; then11549 # Fast installation is not necessary11550 enable_fast_install=needless11551 fi11552 11553 11554 11555 11556 11557 11558 if test yes != "$enable_dlopen"; then11559 enable_dlopen=unknown11560 enable_dlopen_self=unknown11561 enable_dlopen_self_static=unknown11562 else11563 lt_cv_dlopen=no11564 lt_cv_dlopen_libs=11565 11566 case $host_os in11567 beos*)11568 lt_cv_dlopen=load_add_on11569 lt_cv_dlopen_libs=11570 lt_cv_dlopen_self=yes11571 ;;11572 11573 mingw* | pw32* | cegcc*)11574 lt_cv_dlopen=LoadLibrary11575 lt_cv_dlopen_libs=11576 ;;11577 11578 cygwin*)11579 lt_cv_dlopen=dlopen11580 lt_cv_dlopen_libs=11581 ;;11582 11583 darwin*)11584 # if libdl is installed we need to link against it11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511586 $as_echo_n "checking for dlopen in -ldl... " >&6; }11587 if ${ac_cv_lib_dl_dlopen+:} false; then :11588 $as_echo_n "(cached) " >&611589 else11590 ac_check_lib_save_LIBS=$LIBS11591 LIBS="-ldl $LIBS"11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11593 /* end confdefs.h. */11594 11595 /* Override any GCC internal prototype to avoid an error.11596 Use char because int might match the return type of a GCC11597 builtin and then its argument prototype would still apply. */11598 #ifdef __cplusplus11599 extern "C"11600 #endif11601 char dlopen ();11602 int11603 main ()11604 {11605 return dlopen ();11606 ;11607 return 0;11608 }11609 _ACEOF11610 if ac_fn_c_try_link "$LINENO"; then :11611 ac_cv_lib_dl_dlopen=yes11612 else11613 ac_cv_lib_dl_dlopen=no11614 fi11615 rm -f core conftest.err conftest.$ac_objext \11616 conftest$ac_exeext conftest.$ac_ext11617 LIBS=$ac_check_lib_save_LIBS11618 fi11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511620 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }11621 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :11622 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl11623 else11624 11625 lt_cv_dlopen=dyld11626 lt_cv_dlopen_libs=11627 lt_cv_dlopen_self=yes11628 11629 fi11630 11631 ;;11632 11633 tpf*)11634 # Don't try to run any link tests for TPF. We know it's impossible11635 # because TPF is a cross-compiler, and we know how we open DSOs.11636 lt_cv_dlopen=dlopen11637 lt_cv_dlopen_libs=11638 lt_cv_dlopen_self=no11639 ;;11640 11641 *)11642 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"11643 if test "x$ac_cv_func_shl_load" = xyes; then :11644 lt_cv_dlopen=shl_load11645 else11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&511647 $as_echo_n "checking for shl_load in -ldld... " >&6; }11648 if ${ac_cv_lib_dld_shl_load+:} false; then :11649 $as_echo_n "(cached) " >&611650 else11651 ac_check_lib_save_LIBS=$LIBS11652 LIBS="-ldld $LIBS"11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11654 /* end confdefs.h. */11655 11656 /* Override any GCC internal prototype to avoid an error.11657 Use char because int might match the return type of a GCC11658 builtin and then its argument prototype would still apply. */11659 #ifdef __cplusplus11660 extern "C"11661 #endif11662 char shl_load ();11663 int11664 main ()11665 {11666 return shl_load ();11667 ;11668 return 0;11669 }11670 _ACEOF11671 if ac_fn_c_try_link "$LINENO"; then :11672 ac_cv_lib_dld_shl_load=yes11673 else11674 ac_cv_lib_dld_shl_load=no11675 fi11676 rm -f core conftest.err conftest.$ac_objext \11677 conftest$ac_exeext conftest.$ac_ext11678 LIBS=$ac_check_lib_save_LIBS11679 fi11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&511681 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }11682 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :11683 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld11684 else11685 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"11686 if test "x$ac_cv_func_dlopen" = xyes; then :11687 lt_cv_dlopen=dlopen11688 else11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&511690 $as_echo_n "checking for dlopen in -ldl... " >&6; }11691 if ${ac_cv_lib_dl_dlopen+:} false; then :11692 $as_echo_n "(cached) " >&611693 else11694 ac_check_lib_save_LIBS=$LIBS11695 LIBS="-ldl $LIBS"11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11697 /* end confdefs.h. */11698 11699 /* Override any GCC internal prototype to avoid an error.11700 Use char because int might match the return type of a GCC11701 builtin and then its argument prototype would still apply. */11702 #ifdef __cplusplus11703 extern "C"11704 #endif11705 char dlopen ();11706 int11707 main ()11708 {11709 return dlopen ();11710 ;11711 return 0;11712 }11713 _ACEOF11714 if ac_fn_c_try_link "$LINENO"; then :11715 ac_cv_lib_dl_dlopen=yes11716 else11717 ac_cv_lib_dl_dlopen=no11718 fi11719 rm -f core conftest.err conftest.$ac_objext \11720 conftest$ac_exeext conftest.$ac_ext11721 LIBS=$ac_check_lib_save_LIBS11722 fi11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&511724 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }11725 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :11726 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl11727 else11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&511729 $as_echo_n "checking for dlopen in -lsvld... " >&6; }11730 if ${ac_cv_lib_svld_dlopen+:} false; then :11731 $as_echo_n "(cached) " >&611732 else11733 ac_check_lib_save_LIBS=$LIBS11734 LIBS="-lsvld $LIBS"11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11736 /* end confdefs.h. */11737 11738 /* Override any GCC internal prototype to avoid an error.11739 Use char because int might match the return type of a GCC11740 builtin and then its argument prototype would still apply. */11741 #ifdef __cplusplus11742 extern "C"11743 #endif11744 char dlopen ();11745 int11746 main ()11747 {11748 return dlopen ();11749 ;11750 return 0;11751 }11752 _ACEOF11753 if ac_fn_c_try_link "$LINENO"; then :11754 ac_cv_lib_svld_dlopen=yes11755 else11756 ac_cv_lib_svld_dlopen=no11757 fi11758 rm -f core conftest.err conftest.$ac_objext \11759 conftest$ac_exeext conftest.$ac_ext11760 LIBS=$ac_check_lib_save_LIBS11761 fi11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&511763 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }11764 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :11765 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld11766 else11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&511768 $as_echo_n "checking for dld_link in -ldld... " >&6; }11769 if ${ac_cv_lib_dld_dld_link+:} false; then :11770 $as_echo_n "(cached) " >&611771 else11772 ac_check_lib_save_LIBS=$LIBS11773 LIBS="-ldld $LIBS"11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext11775 /* end confdefs.h. */11776 11777 /* Override any GCC internal prototype to avoid an error.11778 Use char because int might match the return type of a GCC11779 builtin and then its argument prototype would still apply. */11780 #ifdef __cplusplus11781 extern "C"11782 #endif11783 char dld_link ();11784 int11785 main ()11786 {11787 return dld_link ();11788 ;11789 return 0;11790 }11791 _ACEOF11792 if ac_fn_c_try_link "$LINENO"; then :11793 ac_cv_lib_dld_dld_link=yes11794 else11795 ac_cv_lib_dld_dld_link=no11796 fi11797 rm -f core conftest.err conftest.$ac_objext \11798 conftest$ac_exeext conftest.$ac_ext11799 LIBS=$ac_check_lib_save_LIBS11800 fi11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&511802 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }11803 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :11804 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld11805 fi11806 11807 11808 fi11809 11810 11811 fi11812 11813 11814 fi11815 11816 11817 fi11818 11819 11820 fi11821 11822 ;;11823 esac11824 11825 if test no = "$lt_cv_dlopen"; then11826 enable_dlopen=no11827 else11828 enable_dlopen=yes11829 fi11830 11831 case $lt_cv_dlopen in11832 dlopen)11833 save_CPPFLAGS=$CPPFLAGS11834 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"11835 11836 save_LDFLAGS=$LDFLAGS11837 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"11838 11839 save_LIBS=$LIBS11840 LIBS="$lt_cv_dlopen_libs $LIBS"11841 11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&511843 $as_echo_n "checking whether a program can dlopen itself... " >&6; }11844 if ${lt_cv_dlopen_self+:} false; then :11845 $as_echo_n "(cached) " >&611846 else11847 if test yes = "$cross_compiling"; then :11848 lt_cv_dlopen_self=cross11849 else11850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211851 lt_status=$lt_dlunknown11852 cat > conftest.$ac_ext <<_LT_EOF11853 #line $LINENO "configure"11854 #include "confdefs.h"11855 11856 #if HAVE_DLFCN_H11857 #include <dlfcn.h>11858 #endif11859 11860 #include <stdio.h>11861 11862 #ifdef RTLD_GLOBAL11863 # define LT_DLGLOBAL RTLD_GLOBAL11864 #else11865 # ifdef DL_GLOBAL11866 # define LT_DLGLOBAL DL_GLOBAL11867 # else11868 # define LT_DLGLOBAL 011869 # endif11870 #endif11871 11872 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we11873 find out it does not work in some platform. */11874 #ifndef LT_DLLAZY_OR_NOW11875 # ifdef RTLD_LAZY11876 # define LT_DLLAZY_OR_NOW RTLD_LAZY11877 # else11878 # ifdef DL_LAZY11879 # define LT_DLLAZY_OR_NOW DL_LAZY11880 # else11881 # ifdef RTLD_NOW11882 # define LT_DLLAZY_OR_NOW RTLD_NOW11883 # else11884 # ifdef DL_NOW11885 # define LT_DLLAZY_OR_NOW DL_NOW11886 # else11887 # define LT_DLLAZY_OR_NOW 011888 # endif11889 # endif11890 # endif11891 # endif11892 #endif11893 11894 /* When -fvisibility=hidden is used, assume the code has been annotated11895 correspondingly for the symbols needed. */11896 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))11897 int fnord () __attribute__((visibility("default")));11898 #endif11899 11900 int fnord () { return 42; }11901 int main ()11902 {11903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);11904 int status = $lt_dlunknown;11905 11906 if (self)11907 {11908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;11909 else11910 {11911 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;11912 else puts (dlerror ());11913 }11914 /* dlclose (self); */11915 }11916 else11917 puts (dlerror ());11918 11919 return status;11920 }11921 _LT_EOF11922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&511923 (eval $ac_link) 2>&511924 ac_status=$?11925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&511926 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then11927 (./conftest; exit; ) >&5 2>/dev/null11928 lt_status=$?11929 case x$lt_status in11930 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;11931 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;11932 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;11933 esac11934 else :11935 # compilation failed11936 lt_cv_dlopen_self=no11937 fi11938 fi11939 rm -fr conftest*11940 11941 11942 fi11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&511944 $as_echo "$lt_cv_dlopen_self" >&6; }11945 11946 if test yes = "$lt_cv_dlopen_self"; then11947 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&511949 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }11950 if ${lt_cv_dlopen_self_static+:} false; then :11951 $as_echo_n "(cached) " >&611952 else11953 if test yes = "$cross_compiling"; then :11954 lt_cv_dlopen_self_static=cross11955 else11956 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=211957 lt_status=$lt_dlunknown11958 cat > conftest.$ac_ext <<_LT_EOF11959 #line $LINENO "configure"11960 #include "confdefs.h"11961 11962 #if HAVE_DLFCN_H11963 #include <dlfcn.h>11964 #endif11965 11966 #include <stdio.h>11967 11968 #ifdef RTLD_GLOBAL11969 # define LT_DLGLOBAL RTLD_GLOBAL11970 #else11971 # ifdef DL_GLOBAL11972 # define LT_DLGLOBAL DL_GLOBAL11973 # else11974 # define LT_DLGLOBAL 011975 # endif11976 #endif11977 11978 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we11979 find out it does not work in some platform. */11980 #ifndef LT_DLLAZY_OR_NOW11981 # ifdef RTLD_LAZY11982 # define LT_DLLAZY_OR_NOW RTLD_LAZY11983 # else11984 # ifdef DL_LAZY11985 # define LT_DLLAZY_OR_NOW DL_LAZY11986 # else11987 # ifdef RTLD_NOW11988 # define LT_DLLAZY_OR_NOW RTLD_NOW11989 # else11990 # ifdef DL_NOW11991 # define LT_DLLAZY_OR_NOW DL_NOW11992 # else11993 # define LT_DLLAZY_OR_NOW 011994 # endif11995 # endif11996 # endif11997 # endif11998 #endif11999 12000 /* When -fvisibility=hidden is used, assume the code has been annotated12001 correspondingly for the symbols needed. */12002 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))12003 int fnord () __attribute__((visibility("default")));12004 #endif12005 12006 int fnord () { return 42; }12007 int main ()12008 {12009 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);12010 int status = $lt_dlunknown;12011 12012 if (self)12013 {12014 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;12015 else12016 {12017 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;12018 else puts (dlerror ());12019 }12020 /* dlclose (self); */12021 }12022 else12023 puts (dlerror ());12024 12025 return status;12026 }12027 _LT_EOF12028 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&512029 (eval $ac_link) 2>&512030 ac_status=$?12031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512032 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then12033 (./conftest; exit; ) >&5 2>/dev/null12034 lt_status=$?12035 case x$lt_status in12036 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;12037 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;12038 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;12039 esac12040 else :12041 # compilation failed12042 lt_cv_dlopen_self_static=no12043 fi12044 fi12045 rm -fr conftest*12046 12047 12048 fi12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&512050 $as_echo "$lt_cv_dlopen_self_static" >&6; }12051 fi12052 12053 CPPFLAGS=$save_CPPFLAGS12054 LDFLAGS=$save_LDFLAGS12055 LIBS=$save_LIBS12056 ;;12057 esac12058 12059 case $lt_cv_dlopen_self in12060 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;12061 *) enable_dlopen_self=unknown ;;12062 esac12063 12064 case $lt_cv_dlopen_self_static in12065 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;12066 *) enable_dlopen_self_static=unknown ;;12067 esac12068 fi12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 striplib=12087 old_striplib=12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&512089 $as_echo_n "checking whether stripping libraries is possible... " >&6; }12090 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then12091 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"12092 test -z "$striplib" && striplib="$STRIP --strip-unneeded"12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&512094 $as_echo "yes" >&6; }12095 else12096 # FIXME - insert some real tests, host_os isn't really good enough12097 case $host_os in12098 darwin*)12099 if test -n "$STRIP"; then12100 striplib="$STRIP -x"12101 old_striplib="$STRIP -S"12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&512103 $as_echo "yes" >&6; }12104 else12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512106 $as_echo "no" >&6; }12107 fi12108 ;;12109 *)12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512111 $as_echo "no" >&6; }12112 ;;12113 esac12114 fi12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 # Report what library types will actually be built12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&512129 $as_echo_n "checking if libtool supports shared libraries... " >&6; }12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&512131 $as_echo "$can_build_shared" >&6; }12132 12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&512134 $as_echo_n "checking whether to build shared libraries... " >&6; }12135 test no = "$can_build_shared" && enable_shared=no12136 12137 # On AIX, shared libraries and static libraries use the same namespace, and12138 # are all built from PIC.12139 case $host_os in12140 aix3*)12141 test yes = "$enable_shared" && enable_static=no12142 if test -n "$RANLIB"; then12143 archive_cmds="$archive_cmds~\$RANLIB \$lib"12144 postinstall_cmds='$RANLIB $lib'12145 fi12146 ;;12147 12148 aix[4-9]*)12149 if test ia64 != "$host_cpu"; then12150 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in12151 yes,aix,yes) ;; # shared object as lib.so file only12152 yes,svr4,*) ;; # shared object as lib.so archive member only12153 yes,*) enable_static=no ;; # shared object in lib.a archive as well12154 esac12155 fi12156 ;;12157 esac12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&512159 $as_echo "$enable_shared" >&6; }12160 12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&512162 $as_echo_n "checking whether to build static libraries... " >&6; }12163 # Make sure either enable_shared or enable_static is yes.12164 test yes = "$enable_shared" || enable_static=yes12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&512166 $as_echo "$enable_static" >&6; }12167 12168 12169 12170 12171 fi12172 ac_ext=c12173 ac_cpp='$CPP $CPPFLAGS'12174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12176 ac_compiler_gnu=$ac_cv_c_compiler_gnu12177 12178 CC=$lt_save_CC12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 ac_config_commands="$ac_config_commands libtool"12195 12196 12197 12198 12199 # Only expand once:12200 12201 12202 12203 ac_ext=cpp12204 ac_cpp='$CXXCPP $CPPFLAGS'12205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12208 if test -z "$CXX"; then12209 if test -n "$CCC"; then12210 CXX=$CCC12211 else12212 if test -n "$ac_tool_prefix"; then12213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC12214 do12215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.12216 set dummy $ac_tool_prefix$ac_prog; ac_word=$212217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512218 $as_echo_n "checking for $ac_word... " >&6; }12219 if ${ac_cv_prog_CXX+:} false; then :12220 $as_echo_n "(cached) " >&612221 else12222 if test -n "$CXX"; then12223 ac_cv_prog_CXX="$CXX" # Let the user override the test.12224 else12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR12226 for as_dir in $PATH12227 do12228 IFS=$as_save_IFS12229 test -z "$as_dir" && as_dir=.12230 for ac_exec_ext in '' $ac_executable_extensions; do12231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"12233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512234 break 212235 fi12236 done12237 done12238 IFS=$as_save_IFS12239 12240 fi12241 fi12242 CXX=$ac_cv_prog_CXX12243 if test -n "$CXX"; then12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&512245 $as_echo "$CXX" >&6; }12246 else12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512248 $as_echo "no" >&6; }12249 fi12250 12251 12252 test -n "$CXX" && break12253 done12254 fi12255 if test -z "$CXX"; then12256 ac_ct_CXX=$CXX12257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC12258 do12259 # Extract the first word of "$ac_prog", so it can be a program name with args.12260 set dummy $ac_prog; ac_word=$212261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&512262 $as_echo_n "checking for $ac_word... " >&6; }12263 if ${ac_cv_prog_ac_ct_CXX+:} false; then :12264 $as_echo_n "(cached) " >&612265 else12266 if test -n "$ac_ct_CXX"; then12267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.12268 else12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR12270 for as_dir in $PATH12271 do12272 IFS=$as_save_IFS12273 test -z "$as_dir" && as_dir=.12274 for ac_exec_ext in '' $ac_executable_extensions; do12275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then12276 ac_cv_prog_ac_ct_CXX="$ac_prog"12277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&512278 break 212279 fi12280 done12281 done12282 IFS=$as_save_IFS12283 12284 fi12285 fi12286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX12287 if test -n "$ac_ct_CXX"; then12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&512289 $as_echo "$ac_ct_CXX" >&6; }12290 else12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512292 $as_echo "no" >&6; }12293 fi12294 12295 12296 test -n "$ac_ct_CXX" && break12297 done12298 12299 if test "x$ac_ct_CXX" = x; then12300 CXX="g++"12301 else12302 case $cross_compiling:$ac_tool_warned in12303 yes:)12304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&512305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}12306 ac_tool_warned=yes ;;12307 esac12308 CXX=$ac_ct_CXX12309 fi12310 fi12311 12312 fi12313 fi12314 # Provide some information about the compiler.12315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&512316 set X $ac_compile12317 ac_compiler=$212318 for ac_option in --version -v -V -qversion; do12319 { { ac_try="$ac_compiler $ac_option >&5"12320 case "(($ac_try" in12321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;12322 *) ac_try_echo=$ac_try;;12323 esac12324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""12325 $as_echo "$ac_try_echo"; } >&512326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err12327 ac_status=$?12328 if test -s conftest.err; then12329 sed '10a\12330 ... rest of stderr output deleted ...12331 10q' conftest.err >conftest.er112332 cat conftest.er1 >&512333 fi12334 rm -f conftest.er1 conftest.err12335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&512336 test $ac_status = 0; }12337 done12338 12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&512340 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }12341 if ${ac_cv_cxx_compiler_gnu+:} false; then :12342 $as_echo_n "(cached) " >&612343 else12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12345 /* end confdefs.h. */12346 12347 int12348 main ()12349 {12350 #ifndef __GNUC__12351 choke me12352 #endif12353 12354 ;12355 return 0;12356 }12357 _ACEOF12358 if ac_fn_cxx_try_compile "$LINENO"; then :12359 ac_compiler_gnu=yes12360 else12361 ac_compiler_gnu=no12362 fi12363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12364 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu12365 12366 fi12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&512368 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }12369 if test $ac_compiler_gnu = yes; then12370 GXX=yes12371 else12372 GXX=12373 fi12374 ac_test_CXXFLAGS=${CXXFLAGS+set}12375 ac_save_CXXFLAGS=$CXXFLAGS12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&512377 $as_echo_n "checking whether $CXX accepts -g... " >&6; }12378 if ${ac_cv_prog_cxx_g+:} false; then :12379 $as_echo_n "(cached) " >&612380 else12381 ac_save_cxx_werror_flag=$ac_cxx_werror_flag12382 ac_cxx_werror_flag=yes12383 ac_cv_prog_cxx_g=no12384 CXXFLAGS="-g"12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12386 /* end confdefs.h. */12387 12388 int12389 main ()12390 {12391 12392 ;12393 return 0;12394 }12395 _ACEOF12396 if ac_fn_cxx_try_compile "$LINENO"; then :12397 ac_cv_prog_cxx_g=yes12398 else12399 CXXFLAGS=""12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12401 /* end confdefs.h. */12402 12403 int12404 main ()12405 {12406 12407 ;12408 return 0;12409 }12410 _ACEOF12411 if ac_fn_cxx_try_compile "$LINENO"; then :12412 12413 else12414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag12415 CXXFLAGS="-g"12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12417 /* end confdefs.h. */12418 12419 int12420 main ()12421 {12422 12423 ;12424 return 0;12425 }12426 _ACEOF12427 if ac_fn_cxx_try_compile "$LINENO"; then :12428 ac_cv_prog_cxx_g=yes12429 fi12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12431 fi12432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12433 fi12434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext12435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag12436 fi12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&512438 $as_echo "$ac_cv_prog_cxx_g" >&6; }12439 if test "$ac_test_CXXFLAGS" = set; then12440 CXXFLAGS=$ac_save_CXXFLAGS12441 elif test $ac_cv_prog_cxx_g = yes; then12442 if test "$GXX" = yes; then12443 CXXFLAGS="-g -O2"12444 else12445 CXXFLAGS="-g"12446 fi12447 else12448 if test "$GXX" = yes; then12449 CXXFLAGS="-O2"12450 else12451 CXXFLAGS=12452 fi12453 fi12454 ac_ext=c12455 ac_cpp='$CPP $CPPFLAGS'12456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12458 ac_compiler_gnu=$ac_cv_c_compiler_gnu12459 12460 depcc="$CXX" am_compiler_list=12461 12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&512463 $as_echo_n "checking dependency style of $depcc... " >&6; }12464 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :12465 $as_echo_n "(cached) " >&612466 else12467 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then12468 # We make a subdir and do the tests there. Otherwise we can end up12469 # making bogus files that we don't know about and never remove. For12470 # instance it was reported that on HP-UX the gcc test will end up12471 # making a dummy file named 'D' -- because '-MD' means "put the output12472 # in D".12473 rm -rf conftest.dir12474 mkdir conftest.dir12475 # Copy depcomp to subdir because otherwise we won't find it if we're12476 # using a relative directory.12477 cp "$am_depcomp" conftest.dir12478 cd conftest.dir12479 # We will build objects and dependencies in a subdirectory because12480 # it helps to detect inapplicable dependency modes. For instance12481 # both Tru64's cc and ICC support -MD to output dependencies as a12482 # side effect of compilation, but ICC will put the dependencies in12483 # the current directory while Tru64 will put them in the object12484 # directory.12485 mkdir sub12486 12487 am_cv_CXX_dependencies_compiler_type=none12488 if test "$am_compiler_list" = ""; then12489 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`12490 fi12491 am__universal=false12492 case " $depcc " in #(12493 *\ -arch\ *\ -arch\ *) am__universal=true ;;12494 esac12495 12496 for depmode in $am_compiler_list; do12497 # Setup a source with many dependencies, because some compilers12498 # like to wrap large dependency lists on column 80 (with \), and12499 # we should not choose a depcomp mode which is confused by this.12500 #12501 # We need to recreate these files for each test, as the compiler may12502 # overwrite some of them when testing with obscure command lines.12503 # This happens at least with the AIX C compiler.12504 : > sub/conftest.c12505 for i in 1 2 3 4 5 6; do12506 echo '#include "conftst'$i'.h"' >> sub/conftest.c12507 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with12508 # Solaris 10 /bin/sh.12509 echo '/* dummy */' > sub/conftst$i.h12510 done12511 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf12512 12513 # We check with '-c' and '-o' for the sake of the "dashmstdout"12514 # mode. It turns out that the SunPro C++ compiler does not properly12515 # handle '-M -o', and we need to detect this. Also, some Intel12516 # versions had trouble with output in subdirs.12517 am__obj=sub/conftest.${OBJEXT-o}12518 am__minus_obj="-o $am__obj"12519 case $depmode in12520 gcc)12521 # This depmode causes a compiler race in universal mode.12522 test "$am__universal" = false || continue12523 ;;12524 nosideeffect)12525 # After this tag, mechanisms are not by side-effect, so they'll12526 # only be used when explicitly requested.12527 if test "x$enable_dependency_tracking" = xyes; then12528 continue12529 else12530 break12531 fi12532 ;;12533 msvc7 | msvc7msys | msvisualcpp | msvcmsys)12534 # This compiler won't grok '-c -o', but also, the minuso test has12535 # not run yet. These depmodes are late enough in the game, and12536 # so weak that their functioning should not be impacted.12537 am__obj=conftest.${OBJEXT-o}12538 am__minus_obj=12539 ;;12540 none) break ;;12541 esac12542 if depmode=$depmode \12543 source=sub/conftest.c object=$am__obj \12544 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \12545 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \12546 >/dev/null 2>conftest.err &&12547 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&12548 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&12549 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&12550 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then12551 # icc doesn't choke on unknown options, it will just issue warnings12552 # or remarks (even with -Werror). So we grep stderr for any message12553 # that says an option was ignored or not supported.12554 # When given -MP, icc 7.0 and 7.1 complain thusly:12555 # icc: Command line warning: ignoring option '-M'; no argument required12556 # The diagnosis changed in icc 8.0:12557 # icc: Command line remark: option '-MP' not supported12558 if (grep 'ignoring option' conftest.err ||12559 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else12560 am_cv_CXX_dependencies_compiler_type=$depmode12561 break12562 fi12563 fi12564 done12565 12566 cd ..12567 rm -rf conftest.dir12568 else12569 am_cv_CXX_dependencies_compiler_type=none12570 fi12571 12572 fi12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&512574 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }12575 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type12576 12577 if12578 test "x$enable_dependency_tracking" != xno \12579 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then12580 am__fastdepCXX_TRUE=12581 am__fastdepCXX_FALSE='#'12582 else12583 am__fastdepCXX_TRUE='#'12584 am__fastdepCXX_FALSE=12585 fi12586 12587 12588 12589 12590 func_stripname_cnf ()12591 {12592 case $2 in12593 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;12594 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;12595 esac12596 } # func_stripname_cnf12597 12598 if test -n "$CXX" && ( test no != "$CXX" &&12599 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||12600 (test g++ != "$CXX"))); then12601 ac_ext=cpp12602 ac_cpp='$CXXCPP $CPPFLAGS'12603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&512607 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }12608 if test -z "$CXXCPP"; then12609 if ${ac_cv_prog_CXXCPP+:} false; then :12610 $as_echo_n "(cached) " >&612611 else12612 # Double quotes because CXXCPP needs to be expanded12613 for CXXCPP in "$CXX -E" "/lib/cpp"12614 do12615 ac_preproc_ok=false12616 for ac_cxx_preproc_warn_flag in '' yes12617 do12618 # Use a header file that comes with gcc, so configuring glibc12619 # with a fresh cross-compiler works.12620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since12621 # <limits.h> exists even on freestanding compilers.12622 # On the NeXT, cc -E runs the code through the compiler's parser,12623 # not just through cpp. "Syntax error" is here to catch this case.12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12625 /* end confdefs.h. */12626 #ifdef __STDC__12627 # include <limits.h>12628 #else12629 # include <assert.h>12630 #endif12631 Syntax error12632 _ACEOF12633 if ac_fn_cxx_try_cpp "$LINENO"; then :12634 12635 else12636 # Broken: fails on valid input.12637 continue12638 fi12639 rm -f conftest.err conftest.i conftest.$ac_ext12640 12641 # OK, works on sane cases. Now check whether nonexistent headers12642 # can be detected and how.12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12644 /* end confdefs.h. */12645 #include <ac_nonexistent.h>12646 _ACEOF12647 if ac_fn_cxx_try_cpp "$LINENO"; then :12648 # Broken: success on invalid input.12649 continue12650 else12651 # Passes both tests.12652 ac_preproc_ok=:12653 break12654 fi12655 rm -f conftest.err conftest.i conftest.$ac_ext12656 12657 done12658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.12659 rm -f conftest.i conftest.err conftest.$ac_ext12660 if $ac_preproc_ok; then :12661 break12662 fi12663 12664 done12665 ac_cv_prog_CXXCPP=$CXXCPP12666 12667 fi12668 CXXCPP=$ac_cv_prog_CXXCPP12669 else12670 ac_cv_prog_CXXCPP=$CXXCPP12671 fi12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&512673 $as_echo "$CXXCPP" >&6; }12674 ac_preproc_ok=false12675 for ac_cxx_preproc_warn_flag in '' yes12676 do12677 # Use a header file that comes with gcc, so configuring glibc12678 # with a fresh cross-compiler works.12679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since12680 # <limits.h> exists even on freestanding compilers.12681 # On the NeXT, cc -E runs the code through the compiler's parser,12682 # not just through cpp. "Syntax error" is here to catch this case.12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12684 /* end confdefs.h. */12685 #ifdef __STDC__12686 # include <limits.h>12687 #else12688 # include <assert.h>12689 #endif12690 Syntax error12691 _ACEOF12692 if ac_fn_cxx_try_cpp "$LINENO"; then :12693 12694 else12695 # Broken: fails on valid input.12696 continue12697 fi12698 rm -f conftest.err conftest.i conftest.$ac_ext12699 12700 # OK, works on sane cases. Now check whether nonexistent headers12701 # can be detected and how.12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext12703 /* end confdefs.h. */12704 #include <ac_nonexistent.h>12705 _ACEOF12706 if ac_fn_cxx_try_cpp "$LINENO"; then :12707 # Broken: success on invalid input.12708 continue12709 else12710 # Passes both tests.12711 ac_preproc_ok=:12712 break12713 fi12714 rm -f conftest.err conftest.i conftest.$ac_ext12715 12716 done12717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.12718 rm -f conftest.i conftest.err conftest.$ac_ext12719 if $ac_preproc_ok; then :12720 12721 else12722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&512723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}12724 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check12725 See \`config.log' for more details" "$LINENO" 5; }12726 fi12727 12728 ac_ext=c12729 ac_cpp='$CPP $CPPFLAGS'12730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'12731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12732 ac_compiler_gnu=$ac_cv_c_compiler_gnu12733 12734 else12735 _lt_caught_CXX_error=yes12736 fi12737 12738 ac_ext=cpp12739 ac_cpp='$CXXCPP $CPPFLAGS'12740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'12741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'12742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu12743 12744 archive_cmds_need_lc_CXX=no12745 allow_undefined_flag_CXX=12746 always_export_symbols_CXX=no12747 archive_expsym_cmds_CXX=12748 compiler_needs_object_CXX=no12749 export_dynamic_flag_spec_CXX=12750 hardcode_direct_CXX=no12751 hardcode_direct_absolute_CXX=no12752 hardcode_libdir_flag_spec_CXX=12753 hardcode_libdir_separator_CXX=12754 hardcode_minus_L_CXX=no12755 hardcode_shlibpath_var_CXX=unsupported12756 hardcode_automatic_CXX=no12757 inherit_rpath_CXX=no12758 module_cmds_CXX=12759 module_expsym_cmds_CXX=12760 link_all_deplibs_CXX=unknown12761 old_archive_cmds_CXX=$old_archive_cmds12762 reload_flag_CXX=$reload_flag12763 reload_cmds_CXX=$reload_cmds12764 no_undefined_flag_CXX=12765 whole_archive_flag_spec_CXX=12766 enable_shared_with_static_runtimes_CXX=no12767 12768 # Source file extension for C++ test sources.12769 ac_ext=cpp12770 12771 # Object file extension for compiled C++ test sources.12772 objext=o12773 objext_CXX=$objext12774 12775 # No sense in running all these tests if we already determined that12776 # the CXX compiler isn't working. Some variables (like enable_shared)12777 # are currently assumed to apply to all compilers on this platform,12778 # and will be corrupted by setting them based on a non-working compiler.12779 if test yes != "$_lt_caught_CXX_error"; then12780 # Code to be used in simple compile tests12781 lt_simple_compile_test_code="int some_variable = 0;"12782 12783 # Code to be used in simple link tests12784 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'12785 12786 # ltmain only uses $CC for tagged configurations so make sure $CC is set.12787 12788 12789 12790 12791 12792 12793 # If no C compiler was specified, use CC.12794 LTCC=${LTCC-"$CC"}12795 12796 # If no C compiler flags were specified, use CFLAGS.12797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}12798 12799 # Allow CC to be a program name with arguments.12800 compiler=$CC12801 12802 12803 # save warnings/boilerplate of simple test code12804 ac_outfile=conftest.$ac_objext12805 echo "$lt_simple_compile_test_code" >conftest.$ac_ext12806 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err12807 _lt_compiler_boilerplate=`cat conftest.err`12808 $RM conftest*12809 12810 ac_outfile=conftest.$ac_objext12811 echo "$lt_simple_link_test_code" >conftest.$ac_ext12812 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err12813 _lt_linker_boilerplate=`cat conftest.err`12814 $RM -r conftest*12815 12816 12817 # Allow CC to be a program name with arguments.12818 lt_save_CC=$CC12819 lt_save_CFLAGS=$CFLAGS12820 lt_save_LD=$LD12821 lt_save_GCC=$GCC12822 GCC=$GXX12823 lt_save_with_gnu_ld=$with_gnu_ld12824 lt_save_path_LD=$lt_cv_path_LD12825 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then12826 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx12827 else12828 $as_unset lt_cv_prog_gnu_ld12829 fi12830 if test -n "${lt_cv_path_LDCXX+set}"; then12831 lt_cv_path_LD=$lt_cv_path_LDCXX12832 else12833 $as_unset lt_cv_path_LD12834 fi12835 test -z "${LDCXX+set}" || LD=$LDCXX12836 CC=${CXX-"c++"}12837 CFLAGS=$CXXFLAGS12838 compiler=$CC12839 compiler_CXX=$CC12840 func_cc_basename $compiler12841 cc_basename=$func_cc_basename_result12842 12843 12844 if test -n "$compiler"; then12845 # We don't want -fno-exception when compiling C++ code, so set the12846 # no_builtin_flag separately12847 if test yes = "$GXX"; then12848 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'12849 else12850 lt_prog_compiler_no_builtin_flag_CXX=12851 fi12852 12853 if test yes = "$GXX"; then12854 # Set up default GNU C++ configuration12855 12856 12857 12858 # Check whether --with-gnu-ld was given.12859 if test "${with_gnu_ld+set}" = set; then :12860 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes12861 else12862 with_gnu_ld=no12863 fi12864 12865 ac_prog=ld12866 if test yes = "$GCC"; then12867 # Check if gcc -print-prog-name=ld gives a path.12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&512869 $as_echo_n "checking for ld used by $CC... " >&6; }12870 case $host in12871 *-*-mingw*)12872 # gcc leaves a trailing carriage return, which upsets mingw12873 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;12874 *)12875 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;12876 esac12877 case $ac_prog in12878 # Accept absolute paths.12879 [\\/]* | ?:[\\/]*)12880 re_direlt='/[^/][^/]*/\.\./'12881 # Canonicalize the pathname of ld12882 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`12883 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do12884 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`12885 done12886 test -z "$LD" && LD=$ac_prog12887 ;;12888 "")12889 # If it fails, then pretend we aren't using GCC.12890 ac_prog=ld12891 ;;12892 *)12893 # If it is relative, then search for the first ld in PATH.12894 with_gnu_ld=unknown12895 ;;12896 esac12897 elif test yes = "$with_gnu_ld"; then12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&512899 $as_echo_n "checking for GNU ld... " >&6; }12900 else12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&512902 $as_echo_n "checking for non-GNU ld... " >&6; }12903 fi12904 if ${lt_cv_path_LD+:} false; then :12905 $as_echo_n "(cached) " >&612906 else12907 if test -z "$LD"; then12908 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR12909 for ac_dir in $PATH; do12910 IFS=$lt_save_ifs12911 test -z "$ac_dir" && ac_dir=.12912 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then12913 lt_cv_path_LD=$ac_dir/$ac_prog12914 # Check to see if the program is GNU ld. I'd rather use --version,12915 # but apparently some variants of GNU ld only accept -v.12916 # Break only if it was the GNU/non-GNU ld that we prefer.12917 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in12918 *GNU* | *'with BFD'*)12919 test no != "$with_gnu_ld" && break12920 ;;12921 *)12922 test yes != "$with_gnu_ld" && break12923 ;;12924 esac12925 fi12926 done12927 IFS=$lt_save_ifs12928 else12929 lt_cv_path_LD=$LD # Let the user override the test with a path.12930 fi12931 fi12932 12933 LD=$lt_cv_path_LD12934 if test -n "$LD"; then12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&512936 $as_echo "$LD" >&6; }12937 else12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&512939 $as_echo "no" >&6; }12940 fi12941 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 512942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&512943 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }12944 if ${lt_cv_prog_gnu_ld+:} false; then :12945 $as_echo_n "(cached) " >&612946 else12947 # I'd rather use --version here, but apparently some GNU lds only accept -v.12948 case `$LD -v 2>&1 </dev/null` in12949 *GNU* | *'with BFD'*)12950 lt_cv_prog_gnu_ld=yes12951 ;;12952 *)12953 lt_cv_prog_gnu_ld=no12954 ;;12955 esac12956 fi12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&512958 $as_echo "$lt_cv_prog_gnu_ld" >&6; }12959 with_gnu_ld=$lt_cv_prog_gnu_ld12960 12961 12962 12963 12964 12965 12966 12967 # Check if GNU C++ uses GNU ld as the underlying linker, since the12968 # archiving commands below assume that GNU ld is being used.12969 if test yes = "$with_gnu_ld"; then12970 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'12971 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'12972 12973 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'12974 export_dynamic_flag_spec_CXX='$wl--export-dynamic'12975 12976 # If archive_cmds runs LD, not CC, wlarc should be empty12977 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to12978 # investigate it a little bit more. (MM)12979 wlarc='$wl'12980 12981 # ancient GNU ld didn't support --whole-archive et. al.12982 if eval "`$CC -print-prog-name=ld` --help 2>&1" |12983 $GREP 'no-whole-archive' > /dev/null; then12984 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'12985 else12986 whole_archive_flag_spec_CXX=12987 fi12988 else12989 with_gnu_ld=no12990 wlarc=12991 12992 # A generic and very simple default shared library creation12993 # command for GNU C++ for the case where it uses the native12994 # linker, instead of GNU ld. If possible, this setting should12995 # overridden to take advantage of the native linker features on12996 # the platform it is being used on.12997 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'12998 fi12999 13000 # Commands to make compiler produce verbose output that lists13001 # what "hidden" libraries, object files and flags are used when13002 # linking a shared library.13003 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13004 13005 else13006 GXX=no13007 with_gnu_ld=no13008 wlarc=13009 fi13010 13011 # PORTME: fill in a description of your system's C++ link characteristics13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&513013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }13014 ld_shlibs_CXX=yes13015 case $host_os in13016 aix3*)13017 # FIXME: insert proper C++ library support13018 ld_shlibs_CXX=no13019 ;;13020 aix[4-9]*)13021 if test ia64 = "$host_cpu"; then13022 # On IA64, the linker does run time linking by default, so we don't13023 # have to do anything special.13024 aix_use_runtimelinking=no13025 exp_sym_flag='-Bexport'13026 no_entry_flag=13027 else13028 aix_use_runtimelinking=no13029 13030 # Test if we are trying to use run time linking or normal13031 # AIX style linking. If -brtl is somewhere in LDFLAGS, we13032 # have runtime linking enabled, and use it for executables.13033 # For shared libraries, we enable/disable runtime linking13034 # depending on the kind of the shared library created -13035 # when "with_aix_soname,aix_use_runtimelinking" is:13036 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables13037 # "aix,yes" lib.so shared, rtl:yes, for executables13038 # lib.a static archive13039 # "both,no" lib.so.V(shr.o) shared, rtl:yes13040 # lib.a(lib.so.V) shared, rtl:no, for executables13041 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables13042 # lib.a(lib.so.V) shared, rtl:no13043 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables13044 # lib.a static archive13045 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)13046 for ld_flag in $LDFLAGS; do13047 case $ld_flag in13048 *-brtl*)13049 aix_use_runtimelinking=yes13050 break13051 ;;13052 esac13053 done13054 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then13055 # With aix-soname=svr4, we create the lib.so.V shared archives only,13056 # so we don't have lib.a shared libs to link our executables.13057 # We have to force runtime linking in this case.13058 aix_use_runtimelinking=yes13059 LDFLAGS="$LDFLAGS -Wl,-brtl"13060 fi13061 ;;13062 esac13063 13064 exp_sym_flag='-bexport'13065 no_entry_flag='-bnoentry'13066 fi13067 13068 # When large executables or shared objects are built, AIX ld can13069 # have problems creating the table of contents. If linking a library13070 # or program results in "error TOC overflow" add -mminimal-toc to13071 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not13072 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.13073 13074 archive_cmds_CXX=''13075 hardcode_direct_CXX=yes13076 hardcode_direct_absolute_CXX=yes13077 hardcode_libdir_separator_CXX=':'13078 link_all_deplibs_CXX=yes13079 file_list_spec_CXX='$wl-f,'13080 case $with_aix_soname,$aix_use_runtimelinking in13081 aix,*) ;; # no import file13082 svr4,* | *,yes) # use import file13083 # The Import File defines what to hardcode.13084 hardcode_direct_CXX=no13085 hardcode_direct_absolute_CXX=no13086 ;;13087 esac13088 13089 if test yes = "$GXX"; then13090 case $host_os in aix4.[012]|aix4.[012].*)13091 # We only want to do this on AIX 4.2 and lower, the check13092 # below for broken collect2 doesn't work under 4.3+13093 collect2name=`$CC -print-prog-name=collect2`13094 if test -f "$collect2name" &&13095 strings "$collect2name" | $GREP resolve_lib_name >/dev/null13096 then13097 # We have reworked collect213098 :13099 else13100 # We have old collect213101 hardcode_direct_CXX=unsupported13102 # It fails to find uninstalled libraries when the uninstalled13103 # path is not listed in the libpath. Setting hardcode_minus_L13104 # to unsupported forces relinking13105 hardcode_minus_L_CXX=yes13106 hardcode_libdir_flag_spec_CXX='-L$libdir'13107 hardcode_libdir_separator_CXX=13108 fi13109 esac13110 shared_flag='-shared'13111 if test yes = "$aix_use_runtimelinking"; then13112 shared_flag=$shared_flag' $wl-G'13113 fi13114 # Need to ensure runtime linking is disabled for the traditional13115 # shared library, or the linker may eventually find shared libraries13116 # /with/ Import File - we do not want to mix them.13117 shared_flag_aix='-shared'13118 shared_flag_svr4='-shared $wl-G'13119 else13120 # not using gcc13121 if test ia64 = "$host_cpu"; then13122 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release13123 # chokes on -Wl,-G. The following line is correct:13124 shared_flag='-G'13125 else13126 if test yes = "$aix_use_runtimelinking"; then13127 shared_flag='$wl-G'13128 else13129 shared_flag='$wl-bM:SRE'13130 fi13131 shared_flag_aix='$wl-bM:SRE'13132 shared_flag_svr4='$wl-G'13133 fi13134 fi13135 13136 export_dynamic_flag_spec_CXX='$wl-bexpall'13137 # It seems that -bexpall does not export symbols beginning with13138 # underscore (_), so it is better to generate a list of symbols to13139 # export.13140 always_export_symbols_CXX=yes13141 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then13142 # Warning - without using the other runtime loading flags (-brtl),13143 # -berok will link without error, but may produce a broken library.13144 # The "-G" linker flag allows undefined symbols.13145 no_undefined_flag_CXX='-bernotok'13146 # Determine the default libpath from the value encoded in an empty13147 # executable.13148 if test set = "${lt_cv_aix_libpath+set}"; then13149 aix_libpath=$lt_cv_aix_libpath13150 else13151 if ${lt_cv_aix_libpath__CXX+:} false; then :13152 $as_echo_n "(cached) " >&613153 else13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext13155 /* end confdefs.h. */13156 13157 int13158 main ()13159 {13160 13161 ;13162 return 0;13163 }13164 _ACEOF13165 if ac_fn_cxx_try_link "$LINENO"; then :13166 13167 lt_aix_libpath_sed='13168 /Import File Strings/,/^$/ {13169 /^0/ {13170 s/^0 *\([^ ]*\) *$/\1/13171 p13172 }13173 }'13174 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13175 # Check for a 64-bit object if we didn't find anything.13176 if test -z "$lt_cv_aix_libpath__CXX"; then13177 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13178 fi13179 fi13180 rm -f core conftest.err conftest.$ac_objext \13181 conftest$ac_exeext conftest.$ac_ext13182 if test -z "$lt_cv_aix_libpath__CXX"; then13183 lt_cv_aix_libpath__CXX=/usr/lib:/lib13184 fi13185 13186 fi13187 13188 aix_libpath=$lt_cv_aix_libpath__CXX13189 fi13190 13191 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"13192 13193 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_flag13194 else13195 if test ia64 = "$host_cpu"; then13196 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'13197 allow_undefined_flag_CXX="-z nodefs"13198 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"13199 else13200 # Determine the default libpath from the value encoded in an13201 # empty executable.13202 if test set = "${lt_cv_aix_libpath+set}"; then13203 aix_libpath=$lt_cv_aix_libpath13204 else13205 if ${lt_cv_aix_libpath__CXX+:} false; then :13206 $as_echo_n "(cached) " >&613207 else13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext13209 /* end confdefs.h. */13210 13211 int13212 main ()13213 {13214 13215 ;13216 return 0;13217 }13218 _ACEOF13219 if ac_fn_cxx_try_link "$LINENO"; then :13220 13221 lt_aix_libpath_sed='13222 /Import File Strings/,/^$/ {13223 /^0/ {13224 s/^0 *\([^ ]*\) *$/\1/13225 p13226 }13227 }'13228 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13229 # Check for a 64-bit object if we didn't find anything.13230 if test -z "$lt_cv_aix_libpath__CXX"; then13231 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`13232 fi13233 fi13234 rm -f core conftest.err conftest.$ac_objext \13235 conftest$ac_exeext conftest.$ac_ext13236 if test -z "$lt_cv_aix_libpath__CXX"; then13237 lt_cv_aix_libpath__CXX=/usr/lib:/lib13238 fi13239 13240 fi13241 13242 aix_libpath=$lt_cv_aix_libpath__CXX13243 fi13244 13245 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"13246 # Warning - without using the other run time loading flags,13247 # -berok will link without error, but may produce a broken library.13248 no_undefined_flag_CXX=' $wl-bernotok'13249 allow_undefined_flag_CXX=' $wl-berok'13250 if test yes = "$with_gnu_ld"; then13251 # We only use this code for GNU lds that support --whole-archive.13252 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'13253 else13254 # Exported symbols can be pulled into shared objects from archives13255 whole_archive_flag_spec_CXX='$convenience'13256 fi13257 archive_cmds_need_lc_CXX=yes13258 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'13259 # -brtl affects multiple linker settings, -berok does not and is overridden later13260 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'13261 if test svr4 != "$with_aix_soname"; then13262 # This is similar to how AIX traditionally builds its shared13263 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.13264 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'13265 fi13266 if test aix != "$with_aix_soname"; then13267 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'13268 else13269 # used by -dlpreopen to get the symbols13270 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'13271 fi13272 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'13273 fi13274 fi13275 ;;13276 13277 beos*)13278 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then13279 allow_undefined_flag_CXX=unsupported13280 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc13281 # support --undefined. This deserves some investigation. FIXME13282 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13283 else13284 ld_shlibs_CXX=no13285 fi13286 ;;13287 13288 chorus*)13289 case $cc_basename in13290 *)13291 # FIXME: insert proper C++ library support13292 ld_shlibs_CXX=no13293 ;;13294 esac13295 ;;13296 13297 cygwin* | mingw* | pw32* | cegcc*)13298 case $GXX,$cc_basename in13299 ,cl* | no,cl*)13300 # Native MSVC13301 # hardcode_libdir_flag_spec is actually meaningless, as there is13302 # no search path for DLLs.13303 hardcode_libdir_flag_spec_CXX=' '13304 allow_undefined_flag_CXX=unsupported13305 always_export_symbols_CXX=yes13306 file_list_spec_CXX='@'13307 # Tell ltmain to make .lib files, not .a files.13308 libext=lib13309 # Tell ltmain to make .dll files, not .so files.13310 shrext_cmds=.dll13311 # FIXME: Setting linknames here is a bad hack.13312 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='13313 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then13314 cp "$export_symbols" "$output_objdir/$soname.def";13315 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";13316 else13317 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;13318 fi~13319 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~13320 linknames='13321 # The linker will not automatically build a static lib if we build a DLL.13322 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'13323 enable_shared_with_static_runtimes_CXX=yes13324 # Don't use ranlib13325 old_postinstall_cmds_CXX='chmod 644 $oldlib'13326 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~13327 lt_tool_outputfile="@TOOL_OUTPUT@"~13328 case $lt_outputfile in13329 *.exe|*.EXE) ;;13330 *)13331 lt_outputfile=$lt_outputfile.exe13332 lt_tool_outputfile=$lt_tool_outputfile.exe13333 ;;13334 esac~13335 func_to_tool_file "$lt_outputfile"~13336 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then13337 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;13338 $RM "$lt_outputfile.manifest";13339 fi'13340 ;;13341 *)13342 # g++13343 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,13344 # as there is no search path for DLLs.13345 hardcode_libdir_flag_spec_CXX='-L$libdir'13346 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'13347 allow_undefined_flag_CXX=unsupported13348 always_export_symbols_CXX=no13349 enable_shared_with_static_runtimes_CXX=yes13350 13351 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then13352 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'13353 # If the export-symbols file already is a .def file, use it as13354 # is; otherwise, prepend EXPORTS...13355 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then13356 cp $export_symbols $output_objdir/$soname.def;13357 else13358 echo EXPORTS > $output_objdir/$soname.def;13359 cat $export_symbols >> $output_objdir/$soname.def;13360 fi~13361 $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'13362 else13363 ld_shlibs_CXX=no13364 fi13365 ;;13366 esac13367 ;;13368 darwin* | rhapsody*)13369 13370 13371 archive_cmds_need_lc_CXX=no13372 hardcode_direct_CXX=no13373 hardcode_automatic_CXX=yes13374 hardcode_shlibpath_var_CXX=unsupported13375 if test yes = "$lt_cv_ld_force_load"; then13376 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\"`'13377 13378 else13379 whole_archive_flag_spec_CXX=''13380 fi13381 link_all_deplibs_CXX=yes13382 allow_undefined_flag_CXX=$_lt_dar_allow_undefined13383 case $cc_basename in13384 ifort*|nagfor*) _lt_dar_can_shared=yes ;;13385 *) _lt_dar_can_shared=$GCC ;;13386 esac13387 if test yes = "$_lt_dar_can_shared"; then13388 output_verbose_link_cmd=func_echo_all13389 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"13390 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"13391 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"13392 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"13393 if test yes != "$lt_cv_apple_cc_single_mod"; then13394 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"13395 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"13396 fi13397 13398 else13399 ld_shlibs_CXX=no13400 fi13401 13402 ;;13403 13404 os2*)13405 hardcode_libdir_flag_spec_CXX='-L$libdir'13406 hardcode_minus_L_CXX=yes13407 allow_undefined_flag_CXX=unsupported13408 shrext_cmds=.dll13409 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~13410 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~13411 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~13412 $ECHO EXPORTS >> $output_objdir/$libname.def~13413 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~13414 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~13415 emximp -o $lib $output_objdir/$libname.def'13416 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~13417 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~13418 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~13419 $ECHO EXPORTS >> $output_objdir/$libname.def~13420 prefix_cmds="$SED"~13421 if test EXPORTS = "`$SED 1q $export_symbols`"; then13422 prefix_cmds="$prefix_cmds -e 1d";13423 fi~13424 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~13425 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~13426 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~13427 emximp -o $lib $output_objdir/$libname.def'13428 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'13429 enable_shared_with_static_runtimes_CXX=yes13430 ;;13431 13432 dgux*)13433 case $cc_basename in13434 ec++*)13435 # FIXME: insert proper C++ library support13436 ld_shlibs_CXX=no13437 ;;13438 ghcx*)13439 # Green Hills C++ Compiler13440 # FIXME: insert proper C++ library support13441 ld_shlibs_CXX=no13442 ;;13443 *)13444 # FIXME: insert proper C++ library support13445 ld_shlibs_CXX=no13446 ;;13447 esac13448 ;;13449 13450 freebsd2.*)13451 # C++ shared libraries reported to be fairly broken before13452 # switch to ELF13453 ld_shlibs_CXX=no13454 ;;13455 13456 freebsd-elf*)13457 archive_cmds_need_lc_CXX=no13458 ;;13459 13460 freebsd* | dragonfly*)13461 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF13462 # conventions13463 ld_shlibs_CXX=yes13464 ;;13465 13466 haiku*)13467 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13468 link_all_deplibs_CXX=yes13469 ;;13470 13471 hpux9*)13472 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'13473 hardcode_libdir_separator_CXX=:13474 export_dynamic_flag_spec_CXX='$wl-E'13475 hardcode_direct_CXX=yes13476 hardcode_minus_L_CXX=yes # Not in the search PATH,13477 # but as the default13478 # location of the library.13479 13480 case $cc_basename in13481 CC*)13482 # FIXME: insert proper C++ library support13483 ld_shlibs_CXX=no13484 ;;13485 aCC*)13486 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'13487 # Commands to make compiler produce verbose output that lists13488 # what "hidden" libraries, object files and flags are used when13489 # linking a shared library.13490 #13491 # There doesn't appear to be a way to prevent this compiler from13492 # explicitly linking system object files so we need to strip them13493 # from the output so that they don't get included in the library13494 # dependencies.13495 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"'13496 ;;13497 *)13498 if test yes = "$GXX"; then13499 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'13500 else13501 # FIXME: insert proper C++ library support13502 ld_shlibs_CXX=no13503 fi13504 ;;13505 esac13506 ;;13507 13508 hpux10*|hpux11*)13509 if test no = "$with_gnu_ld"; then13510 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'13511 hardcode_libdir_separator_CXX=:13512 13513 case $host_cpu in13514 hppa*64*|ia64*)13515 ;;13516 *)13517 export_dynamic_flag_spec_CXX='$wl-E'13518 ;;13519 esac13520 fi13521 case $host_cpu in13522 hppa*64*|ia64*)13523 hardcode_direct_CXX=no13524 hardcode_shlibpath_var_CXX=no13525 ;;13526 *)13527 hardcode_direct_CXX=yes13528 hardcode_direct_absolute_CXX=yes13529 hardcode_minus_L_CXX=yes # Not in the search PATH,13530 # but as the default13531 # location of the library.13532 ;;13533 esac13534 13535 case $cc_basename in13536 CC*)13537 # FIXME: insert proper C++ library support13538 ld_shlibs_CXX=no13539 ;;13540 aCC*)13541 case $host_cpu in13542 hppa*64*)13543 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13544 ;;13545 ia64*)13546 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13547 ;;13548 *)13549 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13550 ;;13551 esac13552 # Commands to make compiler produce verbose output that lists13553 # what "hidden" libraries, object files and flags are used when13554 # linking a shared library.13555 #13556 # There doesn't appear to be a way to prevent this compiler from13557 # explicitly linking system object files so we need to strip them13558 # from the output so that they don't get included in the library13559 # dependencies.13560 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"'13561 ;;13562 *)13563 if test yes = "$GXX"; then13564 if test no = "$with_gnu_ld"; then13565 case $host_cpu in13566 hppa*64*)13567 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13568 ;;13569 ia64*)13570 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13571 ;;13572 *)13573 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'13574 ;;13575 esac13576 fi13577 else13578 # FIXME: insert proper C++ library support13579 ld_shlibs_CXX=no13580 fi13581 ;;13582 esac13583 ;;13584 13585 interix[3-9]*)13586 hardcode_direct_CXX=no13587 hardcode_shlibpath_var_CXX=no13588 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13589 export_dynamic_flag_spec_CXX='$wl-E'13590 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.13591 # Instead, shared libraries are loaded at an image base (0x10000000 by13592 # default) and relocated if they conflict, which is a slow very memory13593 # consuming and fragmenting process. To avoid this, we pick a random,13594 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link13595 # time. Moving up from 0x10000000 also allows more sbrk(2) space.13596 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'13597 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'13598 ;;13599 irix5* | irix6*)13600 case $cc_basename in13601 CC*)13602 # SGI C++13603 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'13604 13605 # Archives containing C++ object files must be created using13606 # "CC -ar", where "CC" is the IRIX C++ compiler. This is13607 # necessary to make sure instantiated templates are included13608 # in the archive.13609 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'13610 ;;13611 *)13612 if test yes = "$GXX"; then13613 if test no = "$with_gnu_ld"; then13614 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'13615 else13616 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'13617 fi13618 fi13619 link_all_deplibs_CXX=yes13620 ;;13621 esac13622 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13623 hardcode_libdir_separator_CXX=:13624 inherit_rpath_CXX=yes13625 ;;13626 13627 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)13628 case $cc_basename in13629 KCC*)13630 # Kuck and Associates, Inc. (KAI) C++ Compiler13631 13632 # KCC will only create a shared library if the output file13633 # ends with ".so" (or ".sl" for HP-UX), so rename the library13634 # to its proper name (with version) after linking.13635 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'13636 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'13637 # Commands to make compiler produce verbose output that lists13638 # what "hidden" libraries, object files and flags are used when13639 # linking a shared library.13640 #13641 # There doesn't appear to be a way to prevent this compiler from13642 # explicitly linking system object files so we need to strip them13643 # from the output so that they don't get included in the library13644 # dependencies.13645 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"'13646 13647 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13648 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13649 13650 # Archives containing C++ object files must be created using13651 # "CC -Bstatic", where "CC" is the KAI C++ compiler.13652 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'13653 ;;13654 icpc* | ecpc* )13655 # Intel C++13656 with_gnu_ld=yes13657 # version 8.0 and above of icpc choke on multiply defined symbols13658 # if we add $predep_objects and $postdep_objects, however 7.1 and13659 # earlier do not add the objects themselves.13660 case `$CC -V 2>&1` in13661 *"Version 7."*)13662 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13663 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'13664 ;;13665 *) # Version 8.0 or newer13666 tmp_idyn=13667 case $host_cpu in13668 ia64*) tmp_idyn=' -i_dynamic';;13669 esac13670 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13671 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'13672 ;;13673 esac13674 archive_cmds_need_lc_CXX=no13675 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13676 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13677 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'13678 ;;13679 pgCC* | pgcpp*)13680 # Portland Group C++ compiler13681 case `$CC -V` in13682 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)13683 prelink_cmds_CXX='tpldir=Template.dir~13684 rm -rf $tpldir~13685 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~13686 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'13687 old_archive_cmds_CXX='tpldir=Template.dir~13688 rm -rf $tpldir~13689 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~13690 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~13691 $RANLIB $oldlib'13692 archive_cmds_CXX='tpldir=Template.dir~13693 rm -rf $tpldir~13694 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~13695 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13696 archive_expsym_cmds_CXX='tpldir=Template.dir~13697 rm -rf $tpldir~13698 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~13699 $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'13700 ;;13701 *) # Version 6 and above use weak symbols13702 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13703 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'13704 ;;13705 esac13706 13707 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'13708 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13709 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'13710 ;;13711 cxx*)13712 # Compaq C++13713 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'13714 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'13715 13716 runpath_var=LD_RUN_PATH13717 hardcode_libdir_flag_spec_CXX='-rpath $libdir'13718 hardcode_libdir_separator_CXX=:13719 13720 # Commands to make compiler produce verbose output that lists13721 # what "hidden" libraries, object files and flags are used when13722 # linking a shared library.13723 #13724 # There doesn't appear to be a way to prevent this compiler from13725 # explicitly linking system object files so we need to strip them13726 # from the output so that they don't get included in the library13727 # dependencies.13728 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'13729 ;;13730 xl* | mpixl* | bgxl*)13731 # IBM XL 8.0 on PPC, with GNU ld13732 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13733 export_dynamic_flag_spec_CXX='$wl--export-dynamic'13734 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'13735 if test yes = "$supports_anon_versioning"; then13736 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~13737 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~13738 echo "local: *; };" >> $output_objdir/$libname.ver~13739 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'13740 fi13741 ;;13742 *)13743 case `$CC -V 2>&1 | sed 5q` in13744 *Sun\ C*)13745 # Sun C++ 5.913746 no_undefined_flag_CXX=' -zdefs'13747 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13748 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'13749 hardcode_libdir_flag_spec_CXX='-R$libdir'13750 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'13751 compiler_needs_object_CXX=yes13752 13753 # Not sure whether something based on13754 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&113755 # would be better.13756 output_verbose_link_cmd='func_echo_all'13757 13758 # Archives containing C++ object files must be created using13759 # "CC -xar", where "CC" is the Sun C++ compiler. This is13760 # necessary to make sure instantiated templates are included13761 # in the archive.13762 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'13763 ;;13764 esac13765 ;;13766 esac13767 ;;13768 13769 lynxos*)13770 # FIXME: insert proper C++ library support13771 ld_shlibs_CXX=no13772 ;;13773 13774 m88k*)13775 # FIXME: insert proper C++ library support13776 ld_shlibs_CXX=no13777 ;;13778 13779 mvs*)13780 case $cc_basename in13781 cxx*)13782 # FIXME: insert proper C++ library support13783 ld_shlibs_CXX=no13784 ;;13785 *)13786 # FIXME: insert proper C++ library support13787 ld_shlibs_CXX=no13788 ;;13789 esac13790 ;;13791 13792 netbsd*)13793 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then13794 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'13795 wlarc=13796 hardcode_libdir_flag_spec_CXX='-R$libdir'13797 hardcode_direct_CXX=yes13798 hardcode_shlibpath_var_CXX=no13799 fi13800 # Workaround some broken pre-1.5 toolchains13801 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'13802 ;;13803 13804 *nto* | *qnx*)13805 ld_shlibs_CXX=yes13806 ;;13807 13808 openbsd* | bitrig*)13809 if test -f /usr/libexec/ld.so; then13810 hardcode_direct_CXX=yes13811 hardcode_shlibpath_var_CXX=no13812 hardcode_direct_absolute_CXX=yes13813 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'13814 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13815 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then13816 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'13817 export_dynamic_flag_spec_CXX='$wl-E'13818 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'13819 fi13820 output_verbose_link_cmd=func_echo_all13821 else13822 ld_shlibs_CXX=no13823 fi13824 ;;13825 13826 osf3* | osf4* | osf5*)13827 case $cc_basename in13828 KCC*)13829 # Kuck and Associates, Inc. (KAI) C++ Compiler13830 13831 # KCC will only create a shared library if the output file13832 # ends with ".so" (or ".sl" for HP-UX), so rename the library13833 # to its proper name (with version) after linking.13834 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'13835 13836 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'13837 hardcode_libdir_separator_CXX=:13838 13839 # Archives containing C++ object files must be created using13840 # the KAI C++ compiler.13841 case $host in13842 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;13843 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;13844 esac13845 ;;13846 RCC*)13847 # Rational C++ 2.4.113848 # FIXME: insert proper C++ library support13849 ld_shlibs_CXX=no13850 ;;13851 cxx*)13852 case $host in13853 osf3*)13854 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'13855 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'13856 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13857 ;;13858 *)13859 allow_undefined_flag_CXX=' -expect_unresolved \*'13860 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'13861 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~13862 echo "-hidden">> $lib.exp~13863 $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~13864 $RM $lib.exp'13865 hardcode_libdir_flag_spec_CXX='-rpath $libdir'13866 ;;13867 esac13868 13869 hardcode_libdir_separator_CXX=:13870 13871 # Commands to make compiler produce verbose output that lists13872 # what "hidden" libraries, object files and flags are used when13873 # linking a shared library.13874 #13875 # There doesn't appear to be a way to prevent this compiler from13876 # explicitly linking system object files so we need to strip them13877 # from the output so that they don't get included in the library13878 # dependencies.13879 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"'13880 ;;13881 *)13882 if test yes,no = "$GXX,$with_gnu_ld"; then13883 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'13884 case $host in13885 osf3*)13886 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'13887 ;;13888 *)13889 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'13890 ;;13891 esac13892 13893 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'13894 hardcode_libdir_separator_CXX=:13895 13896 # Commands to make compiler produce verbose output that lists13897 # what "hidden" libraries, object files and flags are used when13898 # linking a shared library.13899 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13900 13901 else13902 # FIXME: insert proper C++ library support13903 ld_shlibs_CXX=no13904 fi13905 ;;13906 esac13907 ;;13908 13909 psos*)13910 # FIXME: insert proper C++ library support13911 ld_shlibs_CXX=no13912 ;;13913 13914 sunos4*)13915 case $cc_basename in13916 CC*)13917 # Sun C++ 4.x13918 # FIXME: insert proper C++ library support13919 ld_shlibs_CXX=no13920 ;;13921 lcc*)13922 # Lucid13923 # FIXME: insert proper C++ library support13924 ld_shlibs_CXX=no13925 ;;13926 *)13927 # FIXME: insert proper C++ library support13928 ld_shlibs_CXX=no13929 ;;13930 esac13931 ;;13932 13933 solaris*)13934 case $cc_basename in13935 CC* | sunCC*)13936 # Sun C++ 4.2, 5.x and Centerline C++13937 archive_cmds_need_lc_CXX=yes13938 no_undefined_flag_CXX=' -zdefs'13939 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'13940 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13941 $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'13942 13943 hardcode_libdir_flag_spec_CXX='-R$libdir'13944 hardcode_shlibpath_var_CXX=no13945 case $host_os in13946 solaris2.[0-5] | solaris2.[0-5].*) ;;13947 *)13948 # The compiler driver will combine and reorder linker options,13949 # but understands '-z linker_flag'.13950 # Supported since Solaris 2.6 (maybe 2.5.1?)13951 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'13952 ;;13953 esac13954 link_all_deplibs_CXX=yes13955 13956 output_verbose_link_cmd='func_echo_all'13957 13958 # Archives containing C++ object files must be created using13959 # "CC -xar", where "CC" is the Sun C++ compiler. This is13960 # necessary to make sure instantiated templates are included13961 # in the archive.13962 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'13963 ;;13964 gcx*)13965 # Green Hills C++ Compiler13966 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13967 13968 # The C++ compiler must be used to create the archive.13969 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'13970 ;;13971 *)13972 # GNU C++ compiler with Solaris linker13973 if test yes,no = "$GXX,$with_gnu_ld"; then13974 no_undefined_flag_CXX=' $wl-z ${wl}defs'13975 if $CC --version | $GREP -v '^2\.7' > /dev/null; then13976 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13977 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13978 $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'13979 13980 # Commands to make compiler produce verbose output that lists13981 # what "hidden" libraries, object files and flags are used when13982 # linking a shared library.13983 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13984 else13985 # g++ 2.7 appears to require '-G' NOT '-shared' on this13986 # platform.13987 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'13988 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~13989 $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'13990 13991 # Commands to make compiler produce verbose output that lists13992 # what "hidden" libraries, object files and flags are used when13993 # linking a shared library.13994 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'13995 fi13996 13997 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'13998 case $host_os in13999 solaris2.[0-5] | solaris2.[0-5].*) ;;14000 *)14001 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'14002 ;;14003 esac14004 fi14005 ;;14006 esac14007 ;;14008 14009 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)14010 no_undefined_flag_CXX='$wl-z,text'14011 archive_cmds_need_lc_CXX=no14012 hardcode_shlibpath_var_CXX=no14013 runpath_var='LD_RUN_PATH'14014 14015 case $cc_basename in14016 CC*)14017 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14018 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14019 ;;14020 *)14021 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14022 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14023 ;;14024 esac14025 ;;14026 14027 sysv5* | sco3.2v5* | sco5v6*)14028 # Note: We CANNOT use -z defs as we might desire, because we do not14029 # link with -lc, and that would cause any symbols used from libc to14030 # always be unresolved, which means just about no library would14031 # ever link correctly. If we're not using GNU ld we use -z text14032 # though, which does catch some bad symbols but isn't as heavy-handed14033 # as -z defs.14034 no_undefined_flag_CXX='$wl-z,text'14035 allow_undefined_flag_CXX='$wl-z,nodefs'14036 archive_cmds_need_lc_CXX=no14037 hardcode_shlibpath_var_CXX=no14038 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'14039 hardcode_libdir_separator_CXX=':'14040 link_all_deplibs_CXX=yes14041 export_dynamic_flag_spec_CXX='$wl-Bexport'14042 runpath_var='LD_RUN_PATH'14043 14044 case $cc_basename in14045 CC*)14046 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14047 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14048 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~14049 '"$old_archive_cmds_CXX"14050 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~14051 '"$reload_cmds_CXX"14052 ;;14053 *)14054 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14055 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'14056 ;;14057 esac14058 ;;14059 14060 tandem*)14061 case $cc_basename in14062 NCC*)14063 # NonStop-UX NCC 3.2014064 # FIXME: insert proper C++ library support14065 ld_shlibs_CXX=no14066 ;;14067 *)14068 # FIXME: insert proper C++ library support14069 ld_shlibs_CXX=no14070 ;;14071 esac14072 ;;14073 14074 vxworks*)14075 # FIXME: insert proper C++ library support14076 ld_shlibs_CXX=no14077 ;;14078 14079 *)14080 # FIXME: insert proper C++ library support14081 ld_shlibs_CXX=no14082 ;;14083 esac14084 14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&514086 $as_echo "$ld_shlibs_CXX" >&6; }14087 test no = "$ld_shlibs_CXX" && can_build_shared=no14088 14089 GCC_CXX=$GXX14090 LD_CXX=$LD14091 14092 ## CAVEAT EMPTOR:14093 ## There is no encapsulation within the following macros, do not change14094 ## the running order or otherwise move them around unless you know exactly14095 ## what you are doing...14096 # Dependencies to place before and after the object being linked:14097 predep_objects_CXX=14098 postdep_objects_CXX=14099 predeps_CXX=14100 postdeps_CXX=14101 compiler_lib_search_path_CXX=14102 14103 cat > conftest.$ac_ext <<_LT_EOF14104 class Foo14105 {14106 public:14107 Foo (void) { a = 0; }14108 private:14109 int a;14110 };14111 _LT_EOF14112 14113 14114 _lt_libdeps_save_CFLAGS=$CFLAGS14115 case "$CC $CFLAGS " in #(14116 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;14117 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;14118 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;14119 esac14120 14121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&514122 (eval $ac_compile) 2>&514123 ac_status=$?14124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514125 test $ac_status = 0; }; then14126 # Parse the compiler output and extract the necessary14127 # objects, libraries and library flags.14128 14129 # Sentinel used to keep track of whether or not we are before14130 # the conftest object file.14131 pre_test_object_deps_done=no14132 14133 for p in `eval "$output_verbose_link_cmd"`; do14134 case $prev$p in14135 14136 -L* | -R* | -l*)14137 # Some compilers place space between "-{L,R}" and the path.14138 # Remove the space.14139 if test x-L = "$p" ||14140 test x-R = "$p"; then14141 prev=$p14142 continue14143 fi14144 14145 # Expand the sysroot to ease extracting the directories later.14146 if test -z "$prev"; then14147 case $p in14148 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;14149 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;14150 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;14151 esac14152 fi14153 case $p in14154 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;14155 esac14156 if test no = "$pre_test_object_deps_done"; then14157 case $prev in14158 -L | -R)14159 # Internal compiler library paths should come after those14160 # provided the user. The postdeps already come after the14161 # user supplied libs so there is no need to process them.14162 if test -z "$compiler_lib_search_path_CXX"; then14163 compiler_lib_search_path_CXX=$prev$p14164 else14165 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"14166 fi14167 ;;14168 # The "-l" case would never come before the object being14169 # linked, so don't bother handling this case.14170 esac14171 else14172 if test -z "$postdeps_CXX"; then14173 postdeps_CXX=$prev$p14174 else14175 postdeps_CXX="${postdeps_CXX} $prev$p"14176 fi14177 fi14178 prev=14179 ;;14180 14181 *.lto.$objext) ;; # Ignore GCC LTO objects14182 *.$objext)14183 # This assumes that the test object file only shows up14184 # once in the compiler output.14185 if test "$p" = "conftest.$objext"; then14186 pre_test_object_deps_done=yes14187 continue14188 fi14189 14190 if test no = "$pre_test_object_deps_done"; then14191 if test -z "$predep_objects_CXX"; then14192 predep_objects_CXX=$p14193 else14194 predep_objects_CXX="$predep_objects_CXX $p"14195 fi14196 else14197 if test -z "$postdep_objects_CXX"; then14198 postdep_objects_CXX=$p14199 else14200 postdep_objects_CXX="$postdep_objects_CXX $p"14201 fi14202 fi14203 ;;14204 14205 *) ;; # Ignore the rest.14206 14207 esac14208 done14209 14210 # Clean up.14211 rm -f a.out a.exe14212 else14213 echo "libtool.m4: error: problem compiling CXX test program"14214 fi14215 14216 $RM -f confest.$objext14217 CFLAGS=$_lt_libdeps_save_CFLAGS14218 14219 # PORTME: override above test on systems where it is broken14220 case $host_os in14221 interix[3-9]*)14222 # Interix 3.5 installs completely hosed .la files for C++, so rather than14223 # hack all around it, let's just trust "g++" to DTRT.14224 predep_objects_CXX=14225 postdep_objects_CXX=14226 postdeps_CXX=14227 ;;14228 esac14229 14230 14231 case " $postdeps_CXX " in14232 *" -lc "*) archive_cmds_need_lc_CXX=no ;;14233 esac14234 compiler_lib_search_dirs_CXX=14235 if test -n "${compiler_lib_search_path_CXX}"; then14236 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`14237 fi14238 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 14267 14268 14269 lt_prog_compiler_wl_CXX=14270 lt_prog_compiler_pic_CXX=14271 lt_prog_compiler_static_CXX=14272 14273 14274 # C++ specific cases for pic, static, wl, etc.14275 if test yes = "$GXX"; then14276 lt_prog_compiler_wl_CXX='-Wl,'14277 lt_prog_compiler_static_CXX='-static'14278 14279 case $host_os in14280 aix*)14281 # All AIX code is PIC.14282 if test ia64 = "$host_cpu"; then14283 # AIX 5 now supports IA64 processor14284 lt_prog_compiler_static_CXX='-Bstatic'14285 fi14286 lt_prog_compiler_pic_CXX='-fPIC'14287 ;;14288 14289 amigaos*)14290 case $host_cpu in14291 powerpc)14292 # see comment about AmigaOS4 .so support14293 lt_prog_compiler_pic_CXX='-fPIC'14294 ;;14295 m68k)14296 # FIXME: we need at least 68020 code to build shared libraries, but14297 # adding the '-m68020' flag to GCC prevents building anything better,14298 # like '-m68040'.14299 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'14300 ;;14301 esac14302 ;;14303 14304 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)14305 # PIC is the default for these OSes.14306 ;;14307 mingw* | cygwin* | os2* | pw32* | cegcc*)14308 # This hack is so that the source file can tell whether it is being14309 # built for inclusion in a dll (and should export symbols for example).14310 # Although the cygwin gcc ignores -fPIC, still need this for old-style14311 # (--disable-auto-import) libraries14312 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'14313 case $host_os in14314 os2*)14315 lt_prog_compiler_static_CXX='$wl-static'14316 ;;14317 esac14318 ;;14319 darwin* | rhapsody*)14320 # PIC is the default on this platform14321 # Common symbols not allowed in MH_DYLIB files14322 lt_prog_compiler_pic_CXX='-fno-common'14323 ;;14324 *djgpp*)14325 # DJGPP does not support shared libraries at all14326 lt_prog_compiler_pic_CXX=14327 ;;14328 haiku*)14329 # PIC is the default for Haiku.14330 # The "-static" flag exists, but is broken.14331 lt_prog_compiler_static_CXX=14332 ;;14333 interix[3-9]*)14334 # Interix 3.x gcc -fpic/-fPIC options generate broken code.14335 # Instead, we relocate shared libraries at runtime.14336 ;;14337 sysv4*MP*)14338 if test -d /usr/nec; then14339 lt_prog_compiler_pic_CXX=-Kconform_pic14340 fi14341 ;;14342 hpux*)14343 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit14344 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag14345 # sets the default TLS model and affects inlining.14346 case $host_cpu in14347 hppa*64*)14348 ;;14349 *)14350 lt_prog_compiler_pic_CXX='-fPIC'14351 ;;14352 esac14353 ;;14354 *qnx* | *nto*)14355 # QNX uses GNU C++, but need to define -shared option too, otherwise14356 # it will coredump.14357 lt_prog_compiler_pic_CXX='-fPIC -shared'14358 ;;14359 *)14360 lt_prog_compiler_pic_CXX='-fPIC'14361 ;;14362 esac14363 else14364 case $host_os in14365 aix[4-9]*)14366 # All AIX code is PIC.14367 if test ia64 = "$host_cpu"; then14368 # AIX 5 now supports IA64 processor14369 lt_prog_compiler_static_CXX='-Bstatic'14370 else14371 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'14372 fi14373 ;;14374 chorus*)14375 case $cc_basename in14376 cxch68*)14377 # Green Hills C++ Compiler14378 # _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"14379 ;;14380 esac14381 ;;14382 mingw* | cygwin* | os2* | pw32* | cegcc*)14383 # This hack is so that the source file can tell whether it is being14384 # built for inclusion in a dll (and should export symbols for example).14385 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'14386 ;;14387 dgux*)14388 case $cc_basename in14389 ec++*)14390 lt_prog_compiler_pic_CXX='-KPIC'14391 ;;14392 ghcx*)14393 # Green Hills C++ Compiler14394 lt_prog_compiler_pic_CXX='-pic'14395 ;;14396 *)14397 ;;14398 esac14399 ;;14400 freebsd* | dragonfly*)14401 # FreeBSD uses GNU C++14402 ;;14403 hpux9* | hpux10* | hpux11*)14404 case $cc_basename in14405 CC*)14406 lt_prog_compiler_wl_CXX='-Wl,'14407 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'14408 if test ia64 != "$host_cpu"; then14409 lt_prog_compiler_pic_CXX='+Z'14410 fi14411 ;;14412 aCC*)14413 lt_prog_compiler_wl_CXX='-Wl,'14414 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'14415 case $host_cpu in14416 hppa*64*|ia64*)14417 # +Z the default14418 ;;14419 *)14420 lt_prog_compiler_pic_CXX='+Z'14421 ;;14422 esac14423 ;;14424 *)14425 ;;14426 esac14427 ;;14428 interix*)14429 # This is c89, which is MS Visual C++ (no shared libs)14430 # Anyone wants to do a port?14431 ;;14432 irix5* | irix6* | nonstopux*)14433 case $cc_basename in14434 CC*)14435 lt_prog_compiler_wl_CXX='-Wl,'14436 lt_prog_compiler_static_CXX='-non_shared'14437 # CC pic flag -KPIC is the default.14438 ;;14439 *)14440 ;;14441 esac14442 ;;14443 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)14444 case $cc_basename in14445 KCC*)14446 # KAI C++ Compiler14447 lt_prog_compiler_wl_CXX='--backend -Wl,'14448 lt_prog_compiler_pic_CXX='-fPIC'14449 ;;14450 ecpc* )14451 # old Intel C++ for x86_64, which still supported -KPIC.14452 lt_prog_compiler_wl_CXX='-Wl,'14453 lt_prog_compiler_pic_CXX='-KPIC'14454 lt_prog_compiler_static_CXX='-static'14455 ;;14456 icpc* )14457 # Intel C++, used to be incompatible with GCC.14458 # ICC 10 doesn't accept -KPIC any more.14459 lt_prog_compiler_wl_CXX='-Wl,'14460 lt_prog_compiler_pic_CXX='-fPIC'14461 lt_prog_compiler_static_CXX='-static'14462 ;;14463 pgCC* | pgcpp*)14464 # Portland Group C++ compiler14465 lt_prog_compiler_wl_CXX='-Wl,'14466 lt_prog_compiler_pic_CXX='-fpic'14467 lt_prog_compiler_static_CXX='-Bstatic'14468 ;;14469 cxx*)14470 # Compaq C++14471 # Make sure the PIC flag is empty. It appears that all Alpha14472 # Linux and Compaq Tru64 Unix objects are PIC.14473 lt_prog_compiler_pic_CXX=14474 lt_prog_compiler_static_CXX='-non_shared'14475 ;;14476 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)14477 # IBM XL 8.0, 9.0 on PPC and BlueGene14478 lt_prog_compiler_wl_CXX='-Wl,'14479 lt_prog_compiler_pic_CXX='-qpic'14480 lt_prog_compiler_static_CXX='-qstaticlink'14481 ;;14482 *)14483 case `$CC -V 2>&1 | sed 5q` in14484 *Sun\ C*)14485 # Sun C++ 5.914486 lt_prog_compiler_pic_CXX='-KPIC'14487 lt_prog_compiler_static_CXX='-Bstatic'14488 lt_prog_compiler_wl_CXX='-Qoption ld '14489 ;;14490 esac14491 ;;14492 esac14493 ;;14494 lynxos*)14495 ;;14496 m88k*)14497 ;;14498 mvs*)14499 case $cc_basename in14500 cxx*)14501 lt_prog_compiler_pic_CXX='-W c,exportall'14502 ;;14503 *)14504 ;;14505 esac14506 ;;14507 netbsd* | netbsdelf*-gnu)14508 ;;14509 *qnx* | *nto*)14510 # QNX uses GNU C++, but need to define -shared option too, otherwise14511 # it will coredump.14512 lt_prog_compiler_pic_CXX='-fPIC -shared'14513 ;;14514 osf3* | osf4* | osf5*)14515 case $cc_basename in14516 KCC*)14517 lt_prog_compiler_wl_CXX='--backend -Wl,'14518 ;;14519 RCC*)14520 # Rational C++ 2.4.114521 lt_prog_compiler_pic_CXX='-pic'14522 ;;14523 cxx*)14524 # Digital/Compaq C++14525 lt_prog_compiler_wl_CXX='-Wl,'14526 # Make sure the PIC flag is empty. It appears that all Alpha14527 # Linux and Compaq Tru64 Unix objects are PIC.14528 lt_prog_compiler_pic_CXX=14529 lt_prog_compiler_static_CXX='-non_shared'14530 ;;14531 *)14532 ;;14533 esac14534 ;;14535 psos*)14536 ;;14537 solaris*)14538 case $cc_basename in14539 CC* | sunCC*)14540 # Sun C++ 4.2, 5.x and Centerline C++14541 lt_prog_compiler_pic_CXX='-KPIC'14542 lt_prog_compiler_static_CXX='-Bstatic'14543 lt_prog_compiler_wl_CXX='-Qoption ld '14544 ;;14545 gcx*)14546 # Green Hills C++ Compiler14547 lt_prog_compiler_pic_CXX='-PIC'14548 ;;14549 *)14550 ;;14551 esac14552 ;;14553 sunos4*)14554 case $cc_basename in14555 CC*)14556 # Sun C++ 4.x14557 lt_prog_compiler_pic_CXX='-pic'14558 lt_prog_compiler_static_CXX='-Bstatic'14559 ;;14560 lcc*)14561 # Lucid14562 lt_prog_compiler_pic_CXX='-pic'14563 ;;14564 *)14565 ;;14566 esac14567 ;;14568 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)14569 case $cc_basename in14570 CC*)14571 lt_prog_compiler_wl_CXX='-Wl,'14572 lt_prog_compiler_pic_CXX='-KPIC'14573 lt_prog_compiler_static_CXX='-Bstatic'14574 ;;14575 esac14576 ;;14577 tandem*)14578 case $cc_basename in14579 NCC*)14580 # NonStop-UX NCC 3.2014581 lt_prog_compiler_pic_CXX='-KPIC'14582 ;;14583 *)14584 ;;14585 esac14586 ;;14587 vxworks*)14588 ;;14589 *)14590 lt_prog_compiler_can_build_shared_CXX=no14591 ;;14592 esac14593 fi14594 14595 case $host_os in14596 # For platforms that do not support PIC, -DPIC is meaningless:14597 *djgpp*)14598 lt_prog_compiler_pic_CXX=14599 ;;14600 *)14601 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"14602 ;;14603 esac14604 14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&514606 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }14607 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :14608 $as_echo_n "(cached) " >&614609 else14610 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX14611 fi14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&514613 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }14614 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX14615 14616 #14617 # Check to make sure the PIC flag actually works.14618 #14619 if test -n "$lt_prog_compiler_pic_CXX"; then14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&514621 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }14622 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :14623 $as_echo_n "(cached) " >&614624 else14625 lt_cv_prog_compiler_pic_works_CXX=no14626 ac_outfile=conftest.$ac_objext14627 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14628 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment14629 # Insert the option either (1) after the last *FLAGS variable, or14630 # (2) before a word containing "conftest.", or (3) at the end.14631 # Note that $ac_compile itself does not contain backslashes and begins14632 # with a dollar sign (not a hyphen), so the echo should work correctly.14633 # The option is referenced via a variable to avoid confusing sed.14634 lt_compile=`echo "$ac_compile" | $SED \14635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14637 -e 's:$: $lt_compiler_flag:'`14638 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14639 (eval "$lt_compile" 2>conftest.err)14640 ac_status=$?14641 cat conftest.err >&514642 echo "$as_me:$LINENO: \$? = $ac_status" >&514643 if (exit $ac_status) && test -s "$ac_outfile"; then14644 # The compiler can only warn and ignore the option if not recognized14645 # So say no if there are warnings other than the usual output.14646 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp14647 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er214648 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then14649 lt_cv_prog_compiler_pic_works_CXX=yes14650 fi14651 fi14652 $RM conftest*14653 14654 fi14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&514656 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }14657 14658 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then14659 case $lt_prog_compiler_pic_CXX in14660 "" | " "*) ;;14661 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;14662 esac14663 else14664 lt_prog_compiler_pic_CXX=14665 lt_prog_compiler_can_build_shared_CXX=no14666 fi14667 14668 fi14669 14670 14671 14672 14673 14674 #14675 # Check to make sure the static flag actually works.14676 #14677 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&514679 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }14680 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :14681 $as_echo_n "(cached) " >&614682 else14683 lt_cv_prog_compiler_static_works_CXX=no14684 save_LDFLAGS=$LDFLAGS14685 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"14686 echo "$lt_simple_link_test_code" > conftest.$ac_ext14687 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then14688 # The linker can only warn and ignore the option if not recognized14689 # So say no if there are warnings14690 if test -s conftest.err; then14691 # Append any errors to the config.log.14692 cat conftest.err 1>&514693 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp14694 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er214695 if diff conftest.exp conftest.er2 >/dev/null; then14696 lt_cv_prog_compiler_static_works_CXX=yes14697 fi14698 else14699 lt_cv_prog_compiler_static_works_CXX=yes14700 fi14701 fi14702 $RM -r conftest*14703 LDFLAGS=$save_LDFLAGS14704 14705 fi14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&514707 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }14708 14709 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then14710 :14711 else14712 lt_prog_compiler_static_CXX=14713 fi14714 14715 14716 14717 14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&514719 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }14720 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :14721 $as_echo_n "(cached) " >&614722 else14723 lt_cv_prog_compiler_c_o_CXX=no14724 $RM -r conftest 2>/dev/null14725 mkdir conftest14726 cd conftest14727 mkdir out14728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14729 14730 lt_compiler_flag="-o out/conftest2.$ac_objext"14731 # Insert the option either (1) after the last *FLAGS variable, or14732 # (2) before a word containing "conftest.", or (3) at the end.14733 # Note that $ac_compile itself does not contain backslashes and begins14734 # with a dollar sign (not a hyphen), so the echo should work correctly.14735 lt_compile=`echo "$ac_compile" | $SED \14736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14738 -e 's:$: $lt_compiler_flag:'`14739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14740 (eval "$lt_compile" 2>out/conftest.err)14741 ac_status=$?14742 cat out/conftest.err >&514743 echo "$as_me:$LINENO: \$? = $ac_status" >&514744 if (exit $ac_status) && test -s out/conftest2.$ac_objext14745 then14746 # The compiler can only warn and ignore the option if not recognized14747 # So say no if there are warnings14748 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp14749 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er214750 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then14751 lt_cv_prog_compiler_c_o_CXX=yes14752 fi14753 fi14754 chmod u+w . 2>&514755 $RM conftest*14756 # SGI C++ compiler will create directory out/ii_files/ for14757 # template instantiation14758 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files14759 $RM out/* && rmdir out14760 cd ..14761 $RM -r conftest14762 $RM conftest*14763 14764 fi14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&514766 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }14767 14768 14769 14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&514771 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }14772 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :14773 $as_echo_n "(cached) " >&614774 else14775 lt_cv_prog_compiler_c_o_CXX=no14776 $RM -r conftest 2>/dev/null14777 mkdir conftest14778 cd conftest14779 mkdir out14780 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14781 14782 lt_compiler_flag="-o out/conftest2.$ac_objext"14783 # Insert the option either (1) after the last *FLAGS variable, or14784 # (2) before a word containing "conftest.", or (3) at the end.14785 # Note that $ac_compile itself does not contain backslashes and begins14786 # with a dollar sign (not a hyphen), so the echo should work correctly.14787 lt_compile=`echo "$ac_compile" | $SED \14788 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \14789 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \14790 -e 's:$: $lt_compiler_flag:'`14791 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)14792 (eval "$lt_compile" 2>out/conftest.err)14793 ac_status=$?14794 cat out/conftest.err >&514795 echo "$as_me:$LINENO: \$? = $ac_status" >&514796 if (exit $ac_status) && test -s out/conftest2.$ac_objext14797 then14798 # The compiler can only warn and ignore the option if not recognized14799 # So say no if there are warnings14800 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp14801 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er214802 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then14803 lt_cv_prog_compiler_c_o_CXX=yes14804 fi14805 fi14806 chmod u+w . 2>&514807 $RM conftest*14808 # SGI C++ compiler will create directory out/ii_files/ for14809 # template instantiation14810 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files14811 $RM out/* && rmdir out14812 cd ..14813 $RM -r conftest14814 $RM conftest*14815 14816 fi14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&514818 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }14819 14820 14821 14822 14823 hard_links=nottested14824 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then14825 # do not overwrite the value of need_locks provided by the user14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&514827 $as_echo_n "checking if we can lock with hard links... " >&6; }14828 hard_links=yes14829 $RM conftest*14830 ln conftest.a conftest.b 2>/dev/null && hard_links=no14831 touch conftest.a14832 ln conftest.a conftest.b 2>&5 || hard_links=no14833 ln conftest.a conftest.b 2>/dev/null && hard_links=no14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&514835 $as_echo "$hard_links" >&6; }14836 if test no = "$hard_links"; then14837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&514838 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}14839 need_locks=warn14840 fi14841 else14842 need_locks=no14843 fi14844 14845 14846 14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&514848 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }14849 14850 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'14851 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'14852 case $host_os in14853 aix[4-9]*)14854 # If we're using GNU nm, then we don't want the "-C" option.14855 # -C means demangle to GNU nm, but means don't demangle to AIX nm.14856 # Without the "-l" option, or with the "-B" option, AIX nm treats14857 # weak defined symbols like other global defined symbols, whereas14858 # GNU nm marks them as "W".14859 # While the 'weak' keyword is ignored in the Export File, we need14860 # it in the Import File for the 'aix-soname' feature, so we have14861 # to replace the "-B" option with "-P" for AIX nm.14862 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then14863 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'14864 else14865 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'14866 fi14867 ;;14868 pw32*)14869 export_symbols_cmds_CXX=$ltdll_cmds14870 ;;14871 cygwin* | mingw* | cegcc*)14872 case $cc_basename in14873 cl*)14874 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'14875 ;;14876 *)14877 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'14878 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'14879 ;;14880 esac14881 ;;14882 linux* | k*bsd*-gnu | gnu*)14883 link_all_deplibs_CXX=no14884 ;;14885 *)14886 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'14887 ;;14888 esac14889 14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&514891 $as_echo "$ld_shlibs_CXX" >&6; }14892 test no = "$ld_shlibs_CXX" && can_build_shared=no14893 14894 with_gnu_ld_CXX=$with_gnu_ld14895 14896 14897 14898 14899 14900 14901 #14902 # Do we need to explicitly link libc?14903 #14904 case "x$archive_cmds_need_lc_CXX" in14905 x|xyes)14906 # Assume -lc should be added14907 archive_cmds_need_lc_CXX=yes14908 14909 if test yes,yes = "$GCC,$enable_shared"; then14910 case $archive_cmds_CXX in14911 *'~'*)14912 # FIXME: we may have to deal with multi-command sequences.14913 ;;14914 '$CC '*)14915 # Test whether the compiler implicitly links with -lc since on some14916 # systems, -lgcc has to come before -lc. If gcc already passes -lc14917 # to ld, don't add -lc before -lgcc.14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&514919 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }14920 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :14921 $as_echo_n "(cached) " >&614922 else14923 $RM conftest*14924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext14925 14926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&514927 (eval $ac_compile) 2>&514928 ac_status=$?14929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514930 test $ac_status = 0; } 2>conftest.err; then14931 soname=conftest14932 lib=conftest14933 libobjs=conftest.$ac_objext14934 deplibs=14935 wl=$lt_prog_compiler_wl_CXX14936 pic_flag=$lt_prog_compiler_pic_CXX14937 compiler_flags=-v14938 linker_flags=-v14939 verstring=14940 output_objdir=.14941 libname=conftest14942 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX14943 allow_undefined_flag_CXX=14944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&514945 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&514946 ac_status=$?14947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&514948 test $ac_status = 0; }14949 then14950 lt_cv_archive_cmds_need_lc_CXX=no14951 else14952 lt_cv_archive_cmds_need_lc_CXX=yes14953 fi14954 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag14955 else14956 cat conftest.err 1>&514957 fi14958 $RM conftest*14959 14960 fi14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&514962 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }14963 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX14964 ;;14965 esac14966 fi14967 ;;14968 esac14969 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 15029 15030 15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&515032 $as_echo_n "checking dynamic linker characteristics... " >&6; }15033 15034 library_names_spec=15035 libname_spec='lib$name'15036 soname_spec=15037 shrext_cmds=.so15038 postinstall_cmds=15039 postuninstall_cmds=15040 finish_cmds=15041 finish_eval=15042 shlibpath_var=15043 shlibpath_overrides_runpath=unknown15044 version_type=none15045 dynamic_linker="$host_os ld.so"15046 sys_lib_dlsearch_path_spec="/lib /usr/lib"15047 need_lib_prefix=unknown15048 hardcode_into_libs=no15049 15050 # when you set need_version to no, make sure it does not cause -set_version15051 # flags to be left without arguments15052 need_version=unknown15053 15054 15055 15056 case $host_os in15057 aix3*)15058 version_type=linux # correct to gnu/linux during the next big refactor15059 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'15060 shlibpath_var=LIBPATH15061 15062 # AIX 3 has no versioning support, so we append a major version to the name.15063 soname_spec='$libname$release$shared_ext$major'15064 ;;15065 15066 aix[4-9]*)15067 version_type=linux # correct to gnu/linux during the next big refactor15068 need_lib_prefix=no15069 need_version=no15070 hardcode_into_libs=yes15071 if test ia64 = "$host_cpu"; then15072 # AIX 5 supports IA6415073 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'15074 shlibpath_var=LD_LIBRARY_PATH15075 else15076 # With GCC up to 2.95.x, collect2 would create an import file15077 # for dependence libraries. The import file would start with15078 # the line '#! .'. This would cause the generated library to15079 # depend on '.', always an invalid library. This was fixed in15080 # development snapshots of GCC prior to 3.0.15081 case $host_os in15082 aix4 | aix4.[01] | aix4.[01].*)15083 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'15084 echo ' yes '15085 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then15086 :15087 else15088 can_build_shared=no15089 fi15090 ;;15091 esac15092 # Using Import Files as archive members, it is possible to support15093 # filename-based versioning of shared library archives on AIX. While15094 # this would work for both with and without runtime linking, it will15095 # prevent static linking of such archives. So we do filename-based15096 # shared library versioning with .so extension only, which is used15097 # when both runtime linking and shared linking is enabled.15098 # Unfortunately, runtime linking may impact performance, so we do15099 # not want this to be the default eventually. Also, we use the15100 # versioned .so libs for executables only if there is the -brtl15101 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.15102 # To allow for filename-based versioning support, we need to create15103 # libNAME.so.V as an archive file, containing:15104 # *) an Import File, referring to the versioned filename of the15105 # archive as well as the shared archive member, telling the15106 # bitwidth (32 or 64) of that shared object, and providing the15107 # list of exported symbols of that shared object, eventually15108 # decorated with the 'weak' keyword15109 # *) the shared object with the F_LOADONLY flag set, to really avoid15110 # it being seen by the linker.15111 # At run time we better use the real file rather than another symlink,15112 # but for link time we create the symlink libNAME.so -> libNAME.so.V15113 15114 case $with_aix_soname,$aix_use_runtimelinking in15115 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct15116 # soname into executable. Probably we can add versioning support to15117 # collect2, so additional links can be useful in future.15118 aix,yes) # traditional libtool15119 dynamic_linker='AIX unversionable lib.so'15120 # If using run time linking (on AIX 4.2 or later) use lib<name>.so15121 # instead of lib<name>.a to let people know that these are not15122 # typical AIX shared libraries.15123 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15124 ;;15125 aix,no) # traditional AIX only15126 dynamic_linker='AIX lib.a(lib.so.V)'15127 # We preserve .a as extension for shared libraries through AIX4.215128 # and later when we are not doing run time linking.15129 library_names_spec='$libname$release.a $libname.a'15130 soname_spec='$libname$release$shared_ext$major'15131 ;;15132 svr4,*) # full svr4 only15133 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"15134 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'15135 # We do not specify a path in Import Files, so LIBPATH fires.15136 shlibpath_overrides_runpath=yes15137 ;;15138 *,yes) # both, prefer svr415139 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"15140 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'15141 # unpreferred sharedlib libNAME.a needs extra handling15142 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"'15143 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"'15144 # We do not specify a path in Import Files, so LIBPATH fires.15145 shlibpath_overrides_runpath=yes15146 ;;15147 *,no) # both, prefer aix15148 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"15149 library_names_spec='$libname$release.a $libname.a'15150 soname_spec='$libname$release$shared_ext$major'15151 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling15152 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)'15153 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"'15154 ;;15155 esac15156 shlibpath_var=LIBPATH15157 fi15158 ;;15159 15160 amigaos*)15161 case $host_cpu in15162 powerpc)15163 # Since July 2007 AmigaOS4 officially supports .so libraries.15164 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.15165 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15166 ;;15167 m68k)15168 library_names_spec='$libname.ixlibrary $libname.a'15169 # Create ${libname}_ixlibrary.a entries in /sys/libs.15170 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'15171 ;;15172 esac15173 ;;15174 15175 beos*)15176 library_names_spec='$libname$shared_ext'15177 dynamic_linker="$host_os ld.so"15178 shlibpath_var=LIBRARY_PATH15179 ;;15180 15181 bsdi[45]*)15182 version_type=linux # correct to gnu/linux during the next big refactor15183 need_version=no15184 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15185 soname_spec='$libname$release$shared_ext$major'15186 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'15187 shlibpath_var=LD_LIBRARY_PATH15188 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"15189 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"15190 # the default ld.so.conf also contains /usr/contrib/lib and15191 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow15192 # libtool to hard-code these into programs15193 ;;15194 15195 cygwin* | mingw* | pw32* | cegcc*)15196 version_type=windows15197 shrext_cmds=.dll15198 need_version=no15199 need_lib_prefix=no15200 15201 case $GCC,$cc_basename in15202 yes,*)15203 # gcc15204 library_names_spec='$libname.dll.a'15205 # DLL is installed to $(libdir)/../bin by postinstall_cmds15206 postinstall_cmds='base_file=`basename \$file`~15207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~15208 dldir=$destdir/`dirname \$dlpath`~15209 test -d \$dldir || mkdir -p \$dldir~15210 $install_prog $dir/$dlname \$dldir/$dlname~15211 chmod a+x \$dldir/$dlname~15212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then15213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;15214 fi'15215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~15216 dlpath=$dir/\$dldll~15217 $RM \$dlpath'15218 shlibpath_overrides_runpath=yes15219 15220 case $host_os in15221 cygwin*)15222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'15223 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15224 15225 ;;15226 mingw* | cegcc*)15227 # MinGW DLLs use traditional 'lib' prefix15228 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15229 ;;15230 pw32*)15231 # pw32 DLLs use 'pw' prefix rather than 'lib'15232 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15233 ;;15234 esac15235 dynamic_linker='Win32 ld.exe'15236 ;;15237 15238 *,cl*)15239 # Native MSVC15240 libname_spec='$name'15241 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'15242 library_names_spec='$libname.dll.lib'15243 15244 case $build_os in15245 mingw*)15246 sys_lib_search_path_spec=15247 lt_save_ifs=$IFS15248 IFS=';'15249 for lt_path in $LIB15250 do15251 IFS=$lt_save_ifs15252 # Let DOS variable expansion print the short 8.3 style file name.15253 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`15254 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"15255 done15256 IFS=$lt_save_ifs15257 # Convert to MSYS style.15258 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`15259 ;;15260 cygwin*)15261 # Convert to unix form, then to dos form, then back to unix form15262 # but this time dos style (no spaces!) so that the unix form looks15263 # like /cygdrive/c/PROGRA~1:/cygdr...15264 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`15265 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`15266 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`15267 ;;15268 *)15269 sys_lib_search_path_spec=$LIB15270 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then15271 # It is most probably a Windows format PATH.15272 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`15273 else15274 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`15275 fi15276 # FIXME: find the short name or the path components, as spaces are15277 # common. (e.g. "Program Files" -> "PROGRA~1")15278 ;;15279 esac15280 15281 # DLL is installed to $(libdir)/../bin by postinstall_cmds15282 postinstall_cmds='base_file=`basename \$file`~15283 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~15284 dldir=$destdir/`dirname \$dlpath`~15285 test -d \$dldir || mkdir -p \$dldir~15286 $install_prog $dir/$dlname \$dldir/$dlname'15287 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~15288 dlpath=$dir/\$dldll~15289 $RM \$dlpath'15290 shlibpath_overrides_runpath=yes15291 dynamic_linker='Win32 link.exe'15292 ;;15293 15294 *)15295 # Assume MSVC wrapper15296 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'15297 dynamic_linker='Win32 ld.exe'15298 ;;15299 esac15300 # FIXME: first we should search . and the directory the executable is in15301 shlibpath_var=PATH15302 ;;15303 15304 darwin* | rhapsody*)15305 dynamic_linker="$host_os dyld"15306 version_type=darwin15307 need_lib_prefix=no15308 need_version=no15309 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'15310 soname_spec='$libname$release$major$shared_ext'15311 shlibpath_overrides_runpath=yes15312 shlibpath_var=DYLD_LIBRARY_PATH15313 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'15314 15315 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'15316 ;;15317 15318 dgux*)15319 version_type=linux # correct to gnu/linux during the next big refactor15320 need_lib_prefix=no15321 need_version=no15322 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15323 soname_spec='$libname$release$shared_ext$major'15324 shlibpath_var=LD_LIBRARY_PATH15325 ;;15326 15327 freebsd* | dragonfly*)15328 # DragonFly does not have aout. When/if they implement a new15329 # versioning mechanism, adjust this.15330 if test -x /usr/bin/objformat; then15331 objformat=`/usr/bin/objformat`15332 else15333 case $host_os in15334 freebsd[23].*) objformat=aout ;;15335 *) objformat=elf ;;15336 esac15337 fi15338 version_type=freebsd-$objformat15339 case $version_type in15340 freebsd-elf*)15341 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15342 soname_spec='$libname$release$shared_ext$major'15343 need_version=no15344 need_lib_prefix=no15345 ;;15346 freebsd-*)15347 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15348 need_version=yes15349 ;;15350 esac15351 shlibpath_var=LD_LIBRARY_PATH15352 case $host_os in15353 freebsd2.*)15354 shlibpath_overrides_runpath=yes15355 ;;15356 freebsd3.[01]* | freebsdelf3.[01]*)15357 shlibpath_overrides_runpath=yes15358 hardcode_into_libs=yes15359 ;;15360 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \15361 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)15362 shlibpath_overrides_runpath=no15363 hardcode_into_libs=yes15364 ;;15365 *) # from 4.6 on, and DragonFly15366 shlibpath_overrides_runpath=yes15367 hardcode_into_libs=yes15368 ;;15369 esac15370 ;;15371 15372 haiku*)15373 version_type=linux # correct to gnu/linux during the next big refactor15374 need_lib_prefix=no15375 need_version=no15376 dynamic_linker="$host_os runtime_loader"15377 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15378 soname_spec='$libname$release$shared_ext$major'15379 shlibpath_var=LIBRARY_PATH15380 shlibpath_overrides_runpath=no15381 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'15382 hardcode_into_libs=yes15383 ;;15384 15385 hpux9* | hpux10* | hpux11*)15386 # Give a soname corresponding to the major version so that dld.sl refuses to15387 # link against other versions.15388 version_type=sunos15389 need_lib_prefix=no15390 need_version=no15391 case $host_cpu in15392 ia64*)15393 shrext_cmds='.so'15394 hardcode_into_libs=yes15395 dynamic_linker="$host_os dld.so"15396 shlibpath_var=LD_LIBRARY_PATH15397 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.15398 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15399 soname_spec='$libname$release$shared_ext$major'15400 if test 32 = "$HPUX_IA64_MODE"; then15401 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"15402 sys_lib_dlsearch_path_spec=/usr/lib/hpux3215403 else15404 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"15405 sys_lib_dlsearch_path_spec=/usr/lib/hpux6415406 fi15407 ;;15408 hppa*64*)15409 shrext_cmds='.sl'15410 hardcode_into_libs=yes15411 dynamic_linker="$host_os dld.sl"15412 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH15413 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.15414 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15415 soname_spec='$libname$release$shared_ext$major'15416 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"15417 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15418 ;;15419 *)15420 shrext_cmds='.sl'15421 dynamic_linker="$host_os dld.sl"15422 shlibpath_var=SHLIB_PATH15423 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH15424 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15425 soname_spec='$libname$release$shared_ext$major'15426 ;;15427 esac15428 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...15429 postinstall_cmds='chmod 555 $lib'15430 # or fails outright, so override atomically:15431 install_override_mode=55515432 ;;15433 15434 interix[3-9]*)15435 version_type=linux # correct to gnu/linux during the next big refactor15436 need_lib_prefix=no15437 need_version=no15438 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15439 soname_spec='$libname$release$shared_ext$major'15440 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'15441 shlibpath_var=LD_LIBRARY_PATH15442 shlibpath_overrides_runpath=no15443 hardcode_into_libs=yes15444 ;;15445 15446 irix5* | irix6* | nonstopux*)15447 case $host_os in15448 nonstopux*) version_type=nonstopux ;;15449 *)15450 if test yes = "$lt_cv_prog_gnu_ld"; then15451 version_type=linux # correct to gnu/linux during the next big refactor15452 else15453 version_type=irix15454 fi ;;15455 esac15456 need_lib_prefix=no15457 need_version=no15458 soname_spec='$libname$release$shared_ext$major'15459 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'15460 case $host_os in15461 irix5* | nonstopux*)15462 libsuff= shlibsuff=15463 ;;15464 *)15465 case $LD in # libtool.m4 will add one of these switches to LD15466 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")15467 libsuff= shlibsuff= libmagic=32-bit;;15468 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")15469 libsuff=32 shlibsuff=N32 libmagic=N32;;15470 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")15471 libsuff=64 shlibsuff=64 libmagic=64-bit;;15472 *) libsuff= shlibsuff= libmagic=never-match;;15473 esac15474 ;;15475 esac15476 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH15477 shlibpath_overrides_runpath=no15478 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"15479 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"15480 hardcode_into_libs=yes15481 ;;15482 15483 # No shared lib support for Linux oldld, aout, or coff.15484 linux*oldld* | linux*aout* | linux*coff*)15485 dynamic_linker=no15486 ;;15487 15488 linux*android*)15489 version_type=none # Android doesn't support versioned libraries.15490 need_lib_prefix=no15491 need_version=no15492 library_names_spec='$libname$release$shared_ext'15493 soname_spec='$libname$release$shared_ext'15494 finish_cmds=15495 shlibpath_var=LD_LIBRARY_PATH15496 shlibpath_overrides_runpath=yes15497 15498 # This implies no fast_install, which is unacceptable.15499 # Some rework will be needed to allow for fast_install15500 # before this can be enabled.15501 hardcode_into_libs=yes15502 15503 dynamic_linker='Android linker'15504 # Don't embed -rpath directories since the linker doesn't support them.15505 hardcode_libdir_flag_spec_CXX='-L$libdir'15506 ;;15507 15508 # This must be glibc/ELF.15509 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)15510 version_type=linux # correct to gnu/linux during the next big refactor15511 need_lib_prefix=no15512 need_version=no15513 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15514 soname_spec='$libname$release$shared_ext$major'15515 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'15516 shlibpath_var=LD_LIBRARY_PATH15517 shlibpath_overrides_runpath=no15518 15519 # Some binutils ld are patched to set DT_RUNPATH15520 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :15521 $as_echo_n "(cached) " >&615522 else15523 lt_cv_shlibpath_overrides_runpath=no15524 save_LDFLAGS=$LDFLAGS15525 save_libdir=$libdir15526 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \15527 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext15529 /* end confdefs.h. */15530 15531 int15532 main ()15533 {15534 15535 ;15536 return 0;15537 }15538 _ACEOF15539 if ac_fn_cxx_try_link "$LINENO"; then :15540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :15541 lt_cv_shlibpath_overrides_runpath=yes15542 fi15543 fi15544 rm -f core conftest.err conftest.$ac_objext \15545 conftest$ac_exeext conftest.$ac_ext15546 LDFLAGS=$save_LDFLAGS15547 libdir=$save_libdir15548 15549 fi15550 15551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath15552 15553 # This implies no fast_install, which is unacceptable.15554 # Some rework will be needed to allow for fast_install15555 # before this can be enabled.15556 hardcode_into_libs=yes15557 15558 # Ideally, we could use ldconfig to report *all* directores which are15559 # searched for libraries, however this is still not possible. Aside from not15560 # being certain /sbin/ldconfig is available, command15561 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,15562 # even though it is searched at run-time. Try to do the best guess by15563 # appending ld.so.conf contents (and includes) to the search path.15564 if test -f /etc/ld.so.conf; then15565 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' ' '`15566 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"15567 fi15568 15569 # We used to test for /lib/ld.so.1 and disable shared libraries on15570 # powerpc, because MkLinux only supported shared libraries with the15571 # GNU dynamic linker. Since this was broken with cross compilers,15572 # most powerpc-linux boxes support dynamic linking these days and15573 # people can always --disable-shared, the test was removed, and we15574 # assume the GNU/Linux dynamic linker is in use.15575 dynamic_linker='GNU/Linux ld.so'15576 ;;15577 15578 netbsdelf*-gnu)15579 version_type=linux15580 need_lib_prefix=no15581 need_version=no15582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'15583 soname_spec='${libname}${release}${shared_ext}$major'15584 shlibpath_var=LD_LIBRARY_PATH15585 shlibpath_overrides_runpath=no15586 hardcode_into_libs=yes15587 dynamic_linker='NetBSD ld.elf_so'15588 ;;15589 15590 netbsd*)15591 version_type=sunos15592 need_lib_prefix=no15593 need_version=no15594 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then15595 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15596 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'15597 dynamic_linker='NetBSD (a.out) ld.so'15598 else15599 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15600 soname_spec='$libname$release$shared_ext$major'15601 dynamic_linker='NetBSD ld.elf_so'15602 fi15603 shlibpath_var=LD_LIBRARY_PATH15604 shlibpath_overrides_runpath=yes15605 hardcode_into_libs=yes15606 ;;15607 15608 newsos6)15609 version_type=linux # correct to gnu/linux during the next big refactor15610 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15611 shlibpath_var=LD_LIBRARY_PATH15612 shlibpath_overrides_runpath=yes15613 ;;15614 15615 *nto* | *qnx*)15616 version_type=qnx15617 need_lib_prefix=no15618 need_version=no15619 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15620 soname_spec='$libname$release$shared_ext$major'15621 shlibpath_var=LD_LIBRARY_PATH15622 shlibpath_overrides_runpath=no15623 hardcode_into_libs=yes15624 dynamic_linker='ldqnx.so'15625 ;;15626 15627 openbsd* | bitrig*)15628 version_type=sunos15629 sys_lib_dlsearch_path_spec=/usr/lib15630 need_lib_prefix=no15631 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then15632 need_version=no15633 else15634 need_version=yes15635 fi15636 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15637 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'15638 shlibpath_var=LD_LIBRARY_PATH15639 shlibpath_overrides_runpath=yes15640 ;;15641 15642 os2*)15643 libname_spec='$name'15644 version_type=windows15645 shrext_cmds=.dll15646 need_version=no15647 need_lib_prefix=no15648 # OS/2 can only load a DLL with a base name of 8 characters or less.15649 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";15650 v=$($ECHO $release$versuffix | tr -d .-);15651 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);15652 $ECHO $n$v`$shared_ext'15653 library_names_spec='${libname}_dll.$libext'15654 dynamic_linker='OS/2 ld.exe'15655 shlibpath_var=BEGINLIBPATH15656 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"15657 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15658 postinstall_cmds='base_file=`basename \$file`~15659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~15660 dldir=$destdir/`dirname \$dlpath`~15661 test -d \$dldir || mkdir -p \$dldir~15662 $install_prog $dir/$dlname \$dldir/$dlname~15663 chmod a+x \$dldir/$dlname~15664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then15665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;15666 fi'15667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~15668 dlpath=$dir/\$dldll~15669 $RM \$dlpath'15670 ;;15671 15672 osf3* | osf4* | osf5*)15673 version_type=osf15674 need_lib_prefix=no15675 need_version=no15676 soname_spec='$libname$release$shared_ext$major'15677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15678 shlibpath_var=LD_LIBRARY_PATH15679 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"15680 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec15681 ;;15682 15683 rdos*)15684 dynamic_linker=no15685 ;;15686 15687 solaris*)15688 version_type=linux # correct to gnu/linux during the next big refactor15689 need_lib_prefix=no15690 need_version=no15691 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15692 soname_spec='$libname$release$shared_ext$major'15693 shlibpath_var=LD_LIBRARY_PATH15694 shlibpath_overrides_runpath=yes15695 hardcode_into_libs=yes15696 # ldd complains unless libraries are executable15697 postinstall_cmds='chmod +x $lib'15698 ;;15699 15700 sunos4*)15701 version_type=sunos15702 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'15703 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'15704 shlibpath_var=LD_LIBRARY_PATH15705 shlibpath_overrides_runpath=yes15706 if test yes = "$with_gnu_ld"; then15707 need_lib_prefix=no15708 fi15709 need_version=yes15710 ;;15711 15712 sysv4 | sysv4.3*)15713 version_type=linux # correct to gnu/linux during the next big refactor15714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15715 soname_spec='$libname$release$shared_ext$major'15716 shlibpath_var=LD_LIBRARY_PATH15717 case $host_vendor in15718 sni)15719 shlibpath_overrides_runpath=no15720 need_lib_prefix=no15721 runpath_var=LD_RUN_PATH15722 ;;15723 siemens)15724 need_lib_prefix=no15725 ;;15726 motorola)15727 need_lib_prefix=no15728 need_version=no15729 shlibpath_overrides_runpath=no15730 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'15731 ;;15732 esac15733 ;;15734 15735 sysv4*MP*)15736 if test -d /usr/nec; then15737 version_type=linux # correct to gnu/linux during the next big refactor15738 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'15739 soname_spec='$libname$shared_ext.$major'15740 shlibpath_var=LD_LIBRARY_PATH15741 fi15742 ;;15743 15744 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)15745 version_type=sco15746 need_lib_prefix=no15747 need_version=no15748 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'15749 soname_spec='$libname$release$shared_ext$major'15750 shlibpath_var=LD_LIBRARY_PATH15751 shlibpath_overrides_runpath=yes15752 hardcode_into_libs=yes15753 if test yes = "$with_gnu_ld"; then15754 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'15755 else15756 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'15757 case $host_os in15758 sco3.2v5*)15759 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"15760 ;;15761 esac15762 fi15763 sys_lib_dlsearch_path_spec='/usr/lib'15764 ;;15765 15766 tpf*)15767 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.15768 version_type=linux # correct to gnu/linux during the next big refactor15769 need_lib_prefix=no15770 need_version=no15771 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15772 shlibpath_var=LD_LIBRARY_PATH15773 shlibpath_overrides_runpath=no15774 hardcode_into_libs=yes15775 ;;15776 15777 uts4*)15778 version_type=linux # correct to gnu/linux during the next big refactor15779 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'15780 soname_spec='$libname$release$shared_ext$major'15781 shlibpath_var=LD_LIBRARY_PATH15782 ;;15783 15784 *)15785 dynamic_linker=no15786 ;;15787 esac15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&515789 $as_echo "$dynamic_linker" >&6; }15790 test no = "$dynamic_linker" && can_build_shared=no15791 15792 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"15793 if test yes = "$GCC"; then15794 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"15795 fi15796 15797 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then15798 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec15799 fi15800 15801 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then15802 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec15803 fi15804 15805 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...15806 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec15807 15808 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code15809 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"15810 15811 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool15812 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH15813 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 15851 15852 15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&515854 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }15855 hardcode_action_CXX=15856 if test -n "$hardcode_libdir_flag_spec_CXX" ||15857 test -n "$runpath_var_CXX" ||15858 test yes = "$hardcode_automatic_CXX"; then15859 15860 # We can hardcode non-existent directories.15861 if test no != "$hardcode_direct_CXX" &&15862 # If the only mechanism to avoid hardcoding is shlibpath_var, we15863 # have to relink, otherwise we might link with an installed library15864 # when we should be linking with a yet-to-be-installed one15865 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&15866 test no != "$hardcode_minus_L_CXX"; then15867 # Linking always hardcodes the temporary library directory.15868 hardcode_action_CXX=relink15869 else15870 # We can link without hardcoding, and we can hardcode nonexisting dirs.15871 hardcode_action_CXX=immediate15872 fi15873 else15874 # We cannot hardcode anything, or else we can only hardcode existing15875 # directories.15876 hardcode_action_CXX=unsupported15877 fi15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&515879 $as_echo "$hardcode_action_CXX" >&6; }15880 15881 if test relink = "$hardcode_action_CXX" ||15882 test yes = "$inherit_rpath_CXX"; then15883 # Fast installation is not supported15884 enable_fast_install=no15885 elif test yes = "$shlibpath_overrides_runpath" ||15886 test no = "$enable_shared"; then15887 # Fast installation is not necessary15888 enable_fast_install=needless15889 fi15890 15891 15892 15893 15894 15895 15896 15897 fi # test -n "$compiler"15898 15899 CC=$lt_save_CC15900 CFLAGS=$lt_save_CFLAGS15901 LDCXX=$LD15902 LD=$lt_save_LD15903 GCC=$lt_save_GCC15904 with_gnu_ld=$lt_save_with_gnu_ld15905 lt_cv_path_LDCXX=$lt_cv_path_LD15906 lt_cv_path_LD=$lt_save_path_LD15907 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld15908 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld15909 fi # test yes != "$_lt_caught_CXX_error"15910 15911 ac_ext=c15912 ac_cpp='$CPP $CPPFLAGS'15913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'15914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'15915 ac_compiler_gnu=$ac_cv_c_compiler_gnu15916 15917 15918 ac_ext=c15919 ac_cpp='$CPP $CPPFLAGS'15920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'15921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'15922 ac_compiler_gnu=$ac_cv_c_compiler_gnu15923 if test -n "$ac_tool_prefix"; then15924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.15925 set dummy ${ac_tool_prefix}gcc; ac_word=$215926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&515927 $as_echo_n "checking for $ac_word... " >&6; }15928 if ${ac_cv_prog_CC+:} false; then :15929 $as_echo_n "(cached) " >&615930 else15931 if test -n "$CC"; then15932 ac_cv_prog_CC="$CC" # Let the user override the test.15933 else15934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15935 for as_dir in $PATH15936 do15937 IFS=$as_save_IFS15938 test -z "$as_dir" && as_dir=.15939 for ac_exec_ext in '' $ac_executable_extensions; do15940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15941 ac_cv_prog_CC="${ac_tool_prefix}gcc"15942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&515943 break 215944 fi15945 done15946 done15947 IFS=$as_save_IFS15948 15949 fi15950 fi15951 CC=$ac_cv_prog_CC15952 if test -n "$CC"; then15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&515954 $as_echo "$CC" >&6; }15955 else15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&515957 $as_echo "no" >&6; }15958 fi15959 15960 15961 fi15962 if test -z "$ac_cv_prog_CC"; then15963 ac_ct_CC=$CC15964 # Extract the first word of "gcc", so it can be a program name with args.15965 set dummy gcc; ac_word=$215966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&515967 $as_echo_n "checking for $ac_word... " >&6; }15968 if ${ac_cv_prog_ac_ct_CC+:} false; then :15969 $as_echo_n "(cached) " >&615970 else15971 if test -n "$ac_ct_CC"; then15972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.15973 else15974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR15975 for as_dir in $PATH15976 do15977 IFS=$as_save_IFS15978 test -z "$as_dir" && as_dir=.15979 for ac_exec_ext in '' $ac_executable_extensions; do15980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then15981 ac_cv_prog_ac_ct_CC="gcc"15982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&515983 break 215984 fi15985 done15986 done15987 IFS=$as_save_IFS15988 15989 fi15990 fi15991 ac_ct_CC=$ac_cv_prog_ac_ct_CC15992 if test -n "$ac_ct_CC"; then15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&515994 $as_echo "$ac_ct_CC" >&6; }15995 else15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&515997 $as_echo "no" >&6; }15998 fi15999 16000 if test "x$ac_ct_CC" = x; then16001 CC=""16002 else16003 case $cross_compiling:$ac_tool_warned in16004 yes:)16005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&516006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}16007 ac_tool_warned=yes ;;16008 esac16009 CC=$ac_ct_CC16010 fi16011 else16012 CC="$ac_cv_prog_CC"16013 fi16014 16015 if test -z "$CC"; then16016 if test -n "$ac_tool_prefix"; then16017 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.16018 set dummy ${ac_tool_prefix}cc; ac_word=$216019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516020 $as_echo_n "checking for $ac_word... " >&6; }16021 if ${ac_cv_prog_CC+:} false; then :16022 $as_echo_n "(cached) " >&616023 else16024 if test -n "$CC"; then16025 ac_cv_prog_CC="$CC" # Let the user override the test.16026 else16027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16028 for as_dir in $PATH16029 do16030 IFS=$as_save_IFS16031 test -z "$as_dir" && as_dir=.16032 for ac_exec_ext in '' $ac_executable_extensions; do16033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16034 ac_cv_prog_CC="${ac_tool_prefix}cc"16035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516036 break 216037 fi16038 done16039 done16040 IFS=$as_save_IFS16041 16042 fi16043 fi16044 CC=$ac_cv_prog_CC16045 if test -n "$CC"; then16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516047 $as_echo "$CC" >&6; }16048 else16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516050 $as_echo "no" >&6; }16051 fi16052 16053 16054 fi16055 fi16056 if test -z "$CC"; then16057 # Extract the first word of "cc", so it can be a program name with args.16058 set dummy cc; ac_word=$216059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516060 $as_echo_n "checking for $ac_word... " >&6; }16061 if ${ac_cv_prog_CC+:} false; then :16062 $as_echo_n "(cached) " >&616063 else16064 if test -n "$CC"; then16065 ac_cv_prog_CC="$CC" # Let the user override the test.16066 else16067 ac_prog_rejected=no16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16069 for as_dir in $PATH16070 do16071 IFS=$as_save_IFS16072 test -z "$as_dir" && as_dir=.16073 for ac_exec_ext in '' $ac_executable_extensions; do16074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16075 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then16076 ac_prog_rejected=yes16077 continue16078 fi16079 ac_cv_prog_CC="cc"16080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516081 break 216082 fi16083 done16084 done16085 IFS=$as_save_IFS16086 16087 if test $ac_prog_rejected = yes; then16088 # We found a bogon in the path, so make sure we never use it.16089 set dummy $ac_cv_prog_CC16090 shift16091 if test $# != 0; then16092 # We chose a different compiler from the bogus one.16093 # However, it has the same basename, so the bogon will be chosen16094 # first if we set CC to just the basename; use the full file name.16095 shift16096 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"16097 fi16098 fi16099 fi16100 fi16101 CC=$ac_cv_prog_CC16102 if test -n "$CC"; then16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516104 $as_echo "$CC" >&6; }16105 else16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516107 $as_echo "no" >&6; }16108 fi16109 16110 16111 fi16112 if test -z "$CC"; then16113 if test -n "$ac_tool_prefix"; then16114 for ac_prog in cl.exe16115 do16116 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.16117 set dummy $ac_tool_prefix$ac_prog; ac_word=$216118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516119 $as_echo_n "checking for $ac_word... " >&6; }16120 if ${ac_cv_prog_CC+:} false; then :16121 $as_echo_n "(cached) " >&616122 else16123 if test -n "$CC"; then16124 ac_cv_prog_CC="$CC" # Let the user override the test.16125 else16126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16127 for as_dir in $PATH16128 do16129 IFS=$as_save_IFS16130 test -z "$as_dir" && as_dir=.16131 for ac_exec_ext in '' $ac_executable_extensions; do16132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16133 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"16134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516135 break 216136 fi16137 done16138 done16139 IFS=$as_save_IFS16140 16141 fi16142 fi16143 CC=$ac_cv_prog_CC16144 if test -n "$CC"; then16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&516146 $as_echo "$CC" >&6; }16147 else16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516149 $as_echo "no" >&6; }16150 fi16151 16152 16153 test -n "$CC" && break16154 done16155 fi16156 if test -z "$CC"; then16157 ac_ct_CC=$CC16158 for ac_prog in cl.exe16159 do16160 # Extract the first word of "$ac_prog", so it can be a program name with args.16161 set dummy $ac_prog; ac_word=$216162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&516163 $as_echo_n "checking for $ac_word... " >&6; }16164 if ${ac_cv_prog_ac_ct_CC+:} false; then :16165 $as_echo_n "(cached) " >&616166 else16167 if test -n "$ac_ct_CC"; then16168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.16169 else16170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR16171 for as_dir in $PATH16172 do16173 IFS=$as_save_IFS16174 test -z "$as_dir" && as_dir=.16175 for ac_exec_ext in '' $ac_executable_extensions; do16176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then16177 ac_cv_prog_ac_ct_CC="$ac_prog"16178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&516179 break 216180 fi16181 done16182 done16183 IFS=$as_save_IFS16184 16185 fi16186 fi16187 ac_ct_CC=$ac_cv_prog_ac_ct_CC16188 if test -n "$ac_ct_CC"; then16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&516190 $as_echo "$ac_ct_CC" >&6; }16191 else16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&516193 $as_echo "no" >&6; }16194 fi16195 16196 16197 test -n "$ac_ct_CC" && break16198 done16199 16200 if test "x$ac_ct_CC" = x; then16201 CC=""16202 else16203 case $cross_compiling:$ac_tool_warned in16204 yes:)16205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&516206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}16207 ac_tool_warned=yes ;;16208 esac16209 CC=$ac_ct_CC16210 fi16211 fi16212 16213 fi16214 16215 16216 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&516217 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}16218 as_fn_error $? "no acceptable C compiler found in \$PATH16219 See \`config.log' for more details" "$LINENO" 5; }16220 16221 # Provide some information about the compiler.16222 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&516223 set X $ac_compile16224 ac_compiler=$216225 for ac_option in --version -v -V -qversion; do16226 { { ac_try="$ac_compiler $ac_option >&5"16227 case "(($ac_try" in16228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;16229 *) ac_try_echo=$ac_try;;16230 esac16231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""16232 $as_echo "$ac_try_echo"; } >&516233 (eval "$ac_compiler $ac_option >&5") 2>conftest.err16234 ac_status=$?16235 if test -s conftest.err; then16236 sed '10a\16237 ... rest of stderr output deleted ...16238 10q' conftest.err >conftest.er116239 cat conftest.er1 >&516240 fi16241 rm -f conftest.er1 conftest.err16242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&516243 test $ac_status = 0; }16244 done16245 16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&516247 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }16248 if ${ac_cv_c_compiler_gnu+:} false; then :16249 $as_echo_n "(cached) " >&616250 else16251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16252 /* end confdefs.h. */16253 16254 int16255 main ()16256 {16257 #ifndef __GNUC__16258 choke me16259 #endif16260 16261 ;16262 return 0;16263 }16264 _ACEOF16265 if ac_fn_c_try_compile "$LINENO"; then :16266 ac_compiler_gnu=yes16267 else16268 ac_compiler_gnu=no16269 fi16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16271 ac_cv_c_compiler_gnu=$ac_compiler_gnu16272 16273 fi16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&516275 $as_echo "$ac_cv_c_compiler_gnu" >&6; }16276 if test $ac_compiler_gnu = yes; then16277 GCC=yes16278 else16279 GCC=16280 fi16281 ac_test_CFLAGS=${CFLAGS+set}16282 ac_save_CFLAGS=$CFLAGS16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&516284 $as_echo_n "checking whether $CC accepts -g... " >&6; }16285 if ${ac_cv_prog_cc_g+:} false; then :16286 $as_echo_n "(cached) " >&616287 else16288 ac_save_c_werror_flag=$ac_c_werror_flag16289 ac_c_werror_flag=yes16290 ac_cv_prog_cc_g=no16291 CFLAGS="-g"16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16293 /* end confdefs.h. */16294 16295 int16296 main ()16297 {16298 16299 ;16300 return 0;16301 }16302 _ACEOF16303 if ac_fn_c_try_compile "$LINENO"; then :16304 ac_cv_prog_cc_g=yes16305 else16306 CFLAGS=""16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16308 /* end confdefs.h. */16309 16310 int16311 main ()16312 {16313 16314 ;16315 return 0;16316 }16317 _ACEOF16318 if ac_fn_c_try_compile "$LINENO"; then :16319 16320 else16321 ac_c_werror_flag=$ac_save_c_werror_flag16322 CFLAGS="-g"16323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16324 /* end confdefs.h. */16325 16326 int16327 main ()16328 {16329 16330 ;16331 return 0;16332 }16333 _ACEOF16334 if ac_fn_c_try_compile "$LINENO"; then :16335 ac_cv_prog_cc_g=yes16336 fi16337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16338 fi16339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16340 fi16341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext16342 ac_c_werror_flag=$ac_save_c_werror_flag16343 fi16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&516345 $as_echo "$ac_cv_prog_cc_g" >&6; }16346 if test "$ac_test_CFLAGS" = set; then16347 CFLAGS=$ac_save_CFLAGS16348 elif test $ac_cv_prog_cc_g = yes; then16349 if test "$GCC" = yes; then16350 CFLAGS="-g -O2"16351 else16352 CFLAGS="-g"16353 fi16354 else16355 if test "$GCC" = yes; then16356 CFLAGS="-O2"16357 else16358 CFLAGS=16359 fi16360 fi16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&516362 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }16363 if ${ac_cv_prog_cc_c89+:} false; then :16364 $as_echo_n "(cached) " >&616365 else16366 ac_cv_prog_cc_c89=no16367 ac_save_CC=$CC16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16369 /* end confdefs.h. */16370 #include <stdarg.h>16371 #include <stdio.h>16372 struct stat;16373 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */16374 struct buf { int x; };16375 FILE * (*rcsopen) (struct buf *, struct stat *, int);16376 static char *e (p, i)16377 char **p;16378 int i;16379 {16380 return p[i];16381 }16382 static char *f (char * (*g) (char **, int), char **p, ...)16383 {16384 char *s;16385 va_list v;16386 va_start (v,p);16387 s = g (p, va_arg (v,int));16388 va_end (v);16389 return s;16390 }16391 16392 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has16393 function prototypes and stuff, but not '\xHH' hex character constants.16394 These don't provoke an error unfortunately, instead are silently treated16395 as 'x'. The following induces an error, until -std is added to get16396 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an16397 array size at least. It's necessary to write '\x00'==0 to get something16398 that's true only with -std. */16399 int osf4_cc_array ['\x00' == 0 ? 1 : -1];16400 16401 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters16402 inside strings and character constants. */16403 #define FOO(x) 'x'16404 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];16405 16406 int test (int i, double x);16407 struct s1 {int (*f) (int a);};16408 struct s2 {int (*f) (double a);};16409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);16410 int argc;16411 char **argv;16412 int16413 main ()16414 {16415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];16416 ;16417 return 0;16418 }16419 _ACEOF16420 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \16421 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"16422 do16423 CC="$ac_save_CC $ac_arg"16424 if ac_fn_c_try_compile "$LINENO"; then :16425 ac_cv_prog_cc_c89=$ac_arg16426 fi16427 rm -f core conftest.err conftest.$ac_objext16428 test "x$ac_cv_prog_cc_c89" != "xno" && break16429 done16430 rm -f conftest.$ac_ext16431 CC=$ac_save_CC16432 16433 fi16434 # AC_CACHE_VAL16435 case "x$ac_cv_prog_cc_c89" in16436 x)16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&516438 $as_echo "none needed" >&6; } ;;16439 xno)16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&516441 $as_echo "unsupported" >&6; } ;;16442 *)16443 CC="$CC $ac_cv_prog_cc_c89"16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&516445 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;16446 esac16447 if test "x$ac_cv_prog_cc_c89" != xno; then :16448 16449 fi16450 16451 ac_ext=c16452 ac_cpp='$CPP $CPPFLAGS'16453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16455 ac_compiler_gnu=$ac_cv_c_compiler_gnu16456 16457 ac_ext=c16458 ac_cpp='$CPP $CPPFLAGS'16459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16461 ac_compiler_gnu=$ac_cv_c_compiler_gnu16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&516463 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }16464 if ${am_cv_prog_cc_c_o+:} false; then :16465 $as_echo_n "(cached) " >&616466 else16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext16468 /* end confdefs.h. */16469 16470 int16471 main ()16472 {16473 16474 ;16475 return 0;16476 }16477 _ACEOF16478 # Make sure it works both with $CC and with simple cc.16479 # Following AC_PROG_CC_C_O, we do the test twice because some16480 # compilers refuse to overwrite an existing .o file with -o,16481 # though they will create one.16482 am_cv_prog_cc_c_o=yes16483 for am_i in 1 2; do16484 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&516485 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&516486 ac_status=$?16487 echo "$as_me:$LINENO: \$? = $ac_status" >&516488 (exit $ac_status); } \16489 && test -f conftest2.$ac_objext; then16490 : OK16491 else16492 am_cv_prog_cc_c_o=no16493 break16494 fi16495 done16496 rm -f core conftest*16497 unset am_i16498 fi16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&516500 $as_echo "$am_cv_prog_cc_c_o" >&6; }16501 if test "$am_cv_prog_cc_c_o" != yes; then16502 # Losing compiler, so override with the script.16503 # FIXME: It is wrong to rewrite CC.16504 # But if we don't then we get into trouble of one sort or another.16505 # A longer-term fix would be to have automake use am__CC in this case,16506 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"16507 CC="$am_aux_dir/compile $CC"16508 fi16509 ac_ext=c16510 ac_cpp='$CPP $CPPFLAGS'16511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'16512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'16513 ac_compiler_gnu=$ac_cv_c_compiler_gnu16514 16515 16516 depcc="$CC" am_compiler_list=16517 16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&516519 $as_echo_n "checking dependency style of $depcc... " >&6; }16520 if ${am_cv_CC_dependencies_compiler_type+:} false; then :16521 $as_echo_n "(cached) " >&616522 else16523 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then16524 # We make a subdir and do the tests there. Otherwise we can end up16525 # making bogus files that we don't know about and never remove. For16526 # instance it was reported that on HP-UX the gcc test will end up16527 # making a dummy file named 'D' -- because '-MD' means "put the output16528 # in D".16529 rm -rf conftest.dir16530 mkdir conftest.dir16531 # Copy depcomp to subdir because otherwise we won't find it if we're16532 # using a relative directory.16533 cp "$am_depcomp" conftest.dir16534 cd conftest.dir16535 # We will build objects and dependencies in a subdirectory because16536 # it helps to detect inapplicable dependency modes. For instance16537 # both Tru64's cc and ICC support -MD to output dependencies as a16538 # side effect of compilation, but ICC will put the dependencies in16539 # the current directory while Tru64 will put them in the object16540 # directory.16541 mkdir sub16542 16543 am_cv_CC_dependencies_compiler_type=none16544 if test "$am_compiler_list" = ""; then16545 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`16546 fi16547 am__universal=false16548 case " $depcc " in #(16549 *\ -arch\ *\ -arch\ *) am__universal=true ;;16550 esac16551 16552 for depmode in $am_compiler_list; do16553 # Setup a source with many dependencies, because some compilers16554 # like to wrap large dependency lists on column 80 (with \), and16555 # we should not choose a depcomp mode which is confused by this.16556 #16557 # We need to recreate these files for each test, as the compiler may16558 # overwrite some of them when testing with obscure command lines.16559 # This happens at least with the AIX C compiler.16560 : > sub/conftest.c16561 for i in 1 2 3 4 5 6; do16562 echo '#include "conftst'$i'.h"' >> sub/conftest.c16563 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with16564 # Solaris 10 /bin/sh.16565 echo '/* dummy */' > sub/conftst$i.h16566 done16567 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf16568 16569 # We check with '-c' and '-o' for the sake of the "dashmstdout"16570 # mode. It turns out that the SunPro C++ compiler does not properly16571 # handle '-M -o', and we need to detect this. Also, some Intel16572 # versions had trouble with output in subdirs.16573 am__obj=sub/conftest.${OBJEXT-o}16574 am__minus_obj="-o $am__obj"16575 case $depmode in16576 gcc)16577 # This depmode causes a compiler race in universal mode.16578 test "$am__universal" = false || continue16579 ;;16580 nosideeffect)16581 # After this tag, mechanisms are not by side-effect, so they'll16582 # only be used when explicitly requested.16583 if test "x$enable_dependency_tracking" = xyes; then16584 continue16585 else16586 break16587 fi16588 ;;16589 msvc7 | msvc7msys | msvisualcpp | msvcmsys)16590 # This compiler won't grok '-c -o', but also, the minuso test has16591 # not run yet. These depmodes are late enough in the game, and16592 # so weak that their functioning should not be impacted.16593 am__obj=conftest.${OBJEXT-o}16594 am__minus_obj=16595 ;;16596 none) break ;;16597 esac16598 if depmode=$depmode \16599 source=sub/conftest.c object=$am__obj \16600 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \16601 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \16602 >/dev/null 2>conftest.err &&16603 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&16604 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&16605 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&16606 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then16607 # icc doesn't choke on unknown options, it will just issue warnings16608 # or remarks (even with -Werror). So we grep stderr for any message16609 # that says an option was ignored or not supported.16610 # When given -MP, icc 7.0 and 7.1 complain thusly:16611 # icc: Command line warning: ignoring option '-M'; no argument required16612 # The diagnosis changed in icc 8.0:16613 # icc: Command line remark: option '-MP' not supported16614 if (grep 'ignoring option' conftest.err ||16615 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else16616 am_cv_CC_dependencies_compiler_type=$depmode16617 break16618 fi16619 fi16620 done16621 16622 cd ..16623 rm -rf conftest.dir16624 else16625 am_cv_CC_dependencies_compiler_type=none16626 fi16627 16628 fi16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&516630 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }16631 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type16632 16633 if16634 test "x$enable_dependency_tracking" != xno \16635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then16636 am__fastdepCC_TRUE=16637 am__fastdepCC_FALSE='#'16638 else16639 am__fastdepCC_TRUE='#'16640 am__fastdepCC_FALSE=16641 fi16642 16643 16644 4074 # By default we simply use the C compiler to build assembly code. 16645 4075 … … 16776 4206 16777 4207 16778 16779 4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 16780 4209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } … … 16806 4235 $as_echo "no" >&6; } 16807 4236 SET_MAKE="MAKE=${MAKE-make}" 4237 fi 4238 4239 if 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. 4241 set 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; } 4244 if ${ac_cv_prog_RANLIB+:} false; then : 4245 $as_echo_n "(cached) " >&6 4246 else 4247 if test -n "$RANLIB"; then 4248 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4249 else 4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4251 for as_dir in $PATH 4252 do 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 4261 done 4262 done 4263 IFS=$as_save_IFS 4264 4265 fi 4266 fi 4267 RANLIB=$ac_cv_prog_RANLIB 4268 if test -n "$RANLIB"; then 4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4270 $as_echo "$RANLIB" >&6; } 4271 else 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4273 $as_echo "no" >&6; } 4274 fi 4275 4276 4277 fi 4278 if 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. 4281 set 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; } 4284 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4285 $as_echo_n "(cached) " >&6 4286 else 4287 if test -n "$ac_ct_RANLIB"; then 4288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4289 else 4290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4291 for as_dir in $PATH 4292 do 4293 IFS=$as_save_IFS 4294 test -z "$as_dir" && as_dir=. 4295 for ac_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 4301 done 4302 done 4303 IFS=$as_save_IFS 4304 4305 fi 4306 fi 4307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4308 if 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; } 4311 else 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4313 $as_echo "no" >&6; } 4314 fi 4315 4316 if test "x$ac_ct_RANLIB" = x; then 4317 RANLIB=":" 4318 else 4319 case $cross_compiling:$ac_tool_warned in 4320 yes:) 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;} 4323 ac_tool_warned=yes ;; 4324 esac 4325 RANLIB=$ac_ct_RANLIB 4326 fi 4327 else 4328 RANLIB="$ac_cv_prog_RANLIB" 16808 4329 fi 16809 4330 … … 16981 4502 Usually this means the macro was only invoked conditionally." "$LINENO" 5 16982 4503 fi 16983 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then16984 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.16985 Usually this means the macro was only invoked conditionally." "$LINENO" 516986 fi16987 4504 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 16988 4505 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. … … 17561 5078 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 17562 5079 17563 17564 # The HP-UX ksh and POSIX shell print the target directory to stdout17565 # if CDPATH is set.17566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH17567 17568 sed_quote_subst='$sed_quote_subst'17569 double_quote_subst='$double_quote_subst'17570 delay_variable_subst='$delay_variable_subst'17571 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'17572 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'17573 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'17574 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'17575 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'17576 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'17577 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'17578 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'17579 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'17580 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'17581 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'17582 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'17583 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'17584 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'17585 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'17586 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'17587 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'17588 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'17589 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'17590 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'17591 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'17592 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'17593 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'17594 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'17595 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'17596 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'17597 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'17598 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'17599 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'17600 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'17601 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'17602 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'17603 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'17604 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'17605 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'17606 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'17607 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'17608 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'17609 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'17610 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'17611 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'17612 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'17613 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'17614 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'17615 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'17616 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'17617 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'17618 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'17619 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'17620 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'17621 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'17622 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'17623 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'17624 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'17625 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'17626 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'17627 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'17628 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'17629 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"`'17630 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'17631 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'17632 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'17633 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'17634 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'17635 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'17636 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'17637 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'17638 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'17639 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'17640 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'17641 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'17642 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'17643 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'17644 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'17645 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'17646 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'17647 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'17648 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'17649 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'17650 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'17651 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'17652 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'17653 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'17654 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'17655 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'17656 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'17657 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'17658 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'17659 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'17660 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'17661 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'17662 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'17663 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'17664 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'17665 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'17666 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'17667 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'17668 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'17669 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'17670 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'17671 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'17672 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'17673 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'17674 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'17675 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'17676 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'17677 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'17678 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'17679 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'17680 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'17681 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'17682 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'17683 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'17684 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'17685 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'17686 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'17687 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'17688 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'17689 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'17690 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'17691 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'17692 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'17693 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'17694 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'17695 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'17696 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'17697 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'17698 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'17699 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'17700 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'17701 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'17702 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'17703 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'17704 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'17705 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'17706 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'17707 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'17708 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'17709 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'17710 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'17711 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'17712 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'17713 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'17714 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'17715 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'17716 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'17717 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'17718 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'17719 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'17720 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'17721 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'17722 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'17723 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'17724 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'17725 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17726 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17727 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'17728 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'17729 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'17730 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'17731 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'17732 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'17733 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'17734 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'17735 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'17736 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'17737 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'17738 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'17739 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'17740 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'17741 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'17742 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'17743 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'17744 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'17745 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'17746 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'17747 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'17748 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'17749 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'17750 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'17751 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'17752 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'17753 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'17754 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'17755 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'17756 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'17757 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'17758 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'17759 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'17760 17761 LTCC='$LTCC'17762 LTCFLAGS='$LTCFLAGS'17763 compiler='$compiler_DEFAULT'17764 17765 # A function that is used when there is no print builtin or printf.17766 func_fallback_echo ()17767 {17768 eval 'cat <<_LTECHO_EOF17769 \$117770 _LTECHO_EOF'17771 }17772 17773 # Quote evaled strings.17774 for var in SHELL \17775 ECHO \17776 PATH_SEPARATOR \17777 SED \17778 GREP \17779 EGREP \17780 FGREP \17781 LD \17782 NM \17783 LN_S \17784 lt_SP2NL \17785 lt_NL2SP \17786 reload_flag \17787 OBJDUMP \17788 deplibs_check_method \17789 file_magic_cmd \17790 file_magic_glob \17791 want_nocaseglob \17792 DLLTOOL \17793 sharedlib_from_linklib_cmd \17794 AR \17795 AR_FLAGS \17796 archiver_list_spec \17797 STRIP \17798 RANLIB \17799 CC \17800 CFLAGS \17801 compiler \17802 lt_cv_sys_global_symbol_pipe \17803 lt_cv_sys_global_symbol_to_cdecl \17804 lt_cv_sys_global_symbol_to_import \17805 lt_cv_sys_global_symbol_to_c_name_address \17806 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \17807 lt_cv_nm_interface \17808 nm_file_list_spec \17809 lt_cv_truncate_bin \17810 lt_prog_compiler_no_builtin_flag \17811 lt_prog_compiler_pic \17812 lt_prog_compiler_wl \17813 lt_prog_compiler_static \17814 lt_cv_prog_compiler_c_o \17815 need_locks \17816 MANIFEST_TOOL \17817 DSYMUTIL \17818 NMEDIT \17819 LIPO \17820 OTOOL \17821 OTOOL64 \17822 shrext_cmds \17823 export_dynamic_flag_spec \17824 whole_archive_flag_spec \17825 compiler_needs_object \17826 with_gnu_ld \17827 allow_undefined_flag \17828 no_undefined_flag \17829 hardcode_libdir_flag_spec \17830 hardcode_libdir_separator \17831 exclude_expsyms \17832 include_expsyms \17833 file_list_spec \17834 variables_saved_for_relink \17835 libname_spec \17836 library_names_spec \17837 soname_spec \17838 install_override_mode \17839 finish_eval \17840 old_striplib \17841 striplib \17842 compiler_lib_search_dirs \17843 predep_objects \17844 postdep_objects \17845 predeps \17846 postdeps \17847 compiler_lib_search_path \17848 LD_CXX \17849 reload_flag_CXX \17850 compiler_CXX \17851 lt_prog_compiler_no_builtin_flag_CXX \17852 lt_prog_compiler_pic_CXX \17853 lt_prog_compiler_wl_CXX \17854 lt_prog_compiler_static_CXX \17855 lt_cv_prog_compiler_c_o_CXX \17856 export_dynamic_flag_spec_CXX \17857 whole_archive_flag_spec_CXX \17858 compiler_needs_object_CXX \17859 with_gnu_ld_CXX \17860 allow_undefined_flag_CXX \17861 no_undefined_flag_CXX \17862 hardcode_libdir_flag_spec_CXX \17863 hardcode_libdir_separator_CXX \17864 exclude_expsyms_CXX \17865 include_expsyms_CXX \17866 file_list_spec_CXX \17867 compiler_lib_search_dirs_CXX \17868 predep_objects_CXX \17869 postdep_objects_CXX \17870 predeps_CXX \17871 postdeps_CXX \17872 compiler_lib_search_path_CXX; do17873 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in17874 *[\\\\\\\`\\"\\\$]*)17875 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes17876 ;;17877 *)17878 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""17879 ;;17880 esac17881 done17882 17883 # Double-quote double-evaled strings.17884 for var in reload_cmds \17885 old_postinstall_cmds \17886 old_postuninstall_cmds \17887 old_archive_cmds \17888 extract_expsyms_cmds \17889 old_archive_from_new_cmds \17890 old_archive_from_expsyms_cmds \17891 archive_cmds \17892 archive_expsym_cmds \17893 module_cmds \17894 module_expsym_cmds \17895 export_symbols_cmds \17896 prelink_cmds \17897 postlink_cmds \17898 postinstall_cmds \17899 postuninstall_cmds \17900 finish_cmds \17901 sys_lib_search_path_spec \17902 configure_time_dlsearch_path \17903 configure_time_lt_sys_library_path \17904 reload_cmds_CXX \17905 old_archive_cmds_CXX \17906 old_archive_from_new_cmds_CXX \17907 old_archive_from_expsyms_cmds_CXX \17908 archive_cmds_CXX \17909 archive_expsym_cmds_CXX \17910 module_cmds_CXX \17911 module_expsym_cmds_CXX \17912 export_symbols_cmds_CXX \17913 prelink_cmds_CXX \17914 postlink_cmds_CXX; do17915 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in17916 *[\\\\\\\`\\"\\\$]*)17917 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes17918 ;;17919 *)17920 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""17921 ;;17922 esac17923 done17924 17925 ac_aux_dir='$ac_aux_dir'17926 17927 # See if we are running on zsh, and set the options that allow our17928 # commands through without removal of \ escapes INIT.17929 if test -n "\${ZSH_VERSION+set}"; then17930 setopt NO_GLOB_SUBST17931 fi17932 17933 17934 PACKAGE='$PACKAGE'17935 VERSION='$VERSION'17936 RM='$RM'17937 ofile='$ofile'17938 17939 17940 17941 17942 17943 17944 5080 _ACEOF 17945 5081 … … 17951 5087 case $ac_config_target in 17952 5088 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 17953 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;17954 5089 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 17955 5090 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; … … 18477 5612 } 18478 5613 ;; 18479 "libtool":C)18480 18481 # See if we are running on zsh, and set the options that allow our18482 # commands through without removal of \ escapes.18483 if test -n "${ZSH_VERSION+set}"; then18484 setopt NO_GLOB_SUBST18485 fi18486 18487 cfgfile=${ofile}T18488 trap "$RM \"$cfgfile\"; exit 1" 1 2 1518489 $RM "$cfgfile"18490 18491 cat <<_LT_EOF >> "$cfgfile"18492 #! $SHELL18493 # Generated automatically by $as_me ($PACKAGE) $VERSION18494 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:18495 # NOTE: Changes made to this file will be lost: look at ltmain.sh.18496 18497 # Provide generalized library-building support services.18498 # Written by Gordon Matzigkeit, 199618499 18500 # Copyright (C) 2014 Free Software Foundation, Inc.18501 # This is free software; see the source for copying conditions. There is NO18502 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.18503 18504 # GNU Libtool is free software; you can redistribute it and/or modify18505 # it under the terms of the GNU General Public License as published by18506 # the Free Software Foundation; either version 2 of of the License, or18507 # (at your option) any later version.18508 #18509 # As a special exception to the GNU General Public License, if you18510 # distribute this file as part of a program or library that is built18511 # using GNU Libtool, you may include this file under the same18512 # distribution terms that you use for the rest of that program.18513 #18514 # GNU Libtool is distributed in the hope that it will be useful, but18515 # WITHOUT ANY WARRANTY; without even the implied warranty of18516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the18517 # GNU General Public License for more details.18518 #18519 # You should have received a copy of the GNU General Public License18520 # along with this program. If not, see <http://www.gnu.org/licenses/>.18521 18522 18523 # The names of the tagged configurations supported by this script.18524 available_tags='CXX '18525 18526 # Configured defaults for sys_lib_dlsearch_path munging.18527 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}18528 18529 # ### BEGIN LIBTOOL CONFIG18530 18531 # Which release of libtool.m4 was used?18532 macro_version=$macro_version18533 macro_revision=$macro_revision18534 18535 # Whether or not to build shared libraries.18536 build_libtool_libs=$enable_shared18537 18538 # Whether or not to build static libraries.18539 build_old_libs=$enable_static18540 18541 # What type of objects to build.18542 pic_mode=$pic_mode18543 18544 # Whether or not to optimize for fast installation.18545 fast_install=$enable_fast_install18546 18547 # Shared archive member basename,for filename based shared library versioning on AIX.18548 shared_archive_member_spec=$shared_archive_member_spec18549 18550 # Shell to use when invoking shell scripts.18551 SHELL=$lt_SHELL18552 18553 # An echo program that protects backslashes.18554 ECHO=$lt_ECHO18555 18556 # The PATH separator for the build system.18557 PATH_SEPARATOR=$lt_PATH_SEPARATOR18558 18559 # The host system.18560 host_alias=$host_alias18561 host=$host18562 host_os=$host_os18563 18564 # The build system.18565 build_alias=$build_alias18566 build=$build18567 build_os=$build_os18568 18569 # A sed program that does not truncate output.18570 SED=$lt_SED18571 18572 # Sed that helps us avoid accidentally triggering echo(1) options like -n.18573 Xsed="\$SED -e 1s/^X//"18574 18575 # A grep program that handles long lines.18576 GREP=$lt_GREP18577 18578 # An ERE matcher.18579 EGREP=$lt_EGREP18580 18581 # A literal string matcher.18582 FGREP=$lt_FGREP18583 18584 # A BSD- or MS-compatible name lister.18585 NM=$lt_NM18586 18587 # Whether we need soft or hard links.18588 LN_S=$lt_LN_S18589 18590 # What is the maximum length of a command?18591 max_cmd_len=$max_cmd_len18592 18593 # Object file suffix (normally "o").18594 objext=$ac_objext18595 18596 # Executable file suffix (normally "").18597 exeext=$exeext18598 18599 # whether the shell understands "unset".18600 lt_unset=$lt_unset18601 18602 # turn spaces into newlines.18603 SP2NL=$lt_lt_SP2NL18604 18605 # turn newlines into spaces.18606 NL2SP=$lt_lt_NL2SP18607 18608 # convert \$build file names to \$host format.18609 to_host_file_cmd=$lt_cv_to_host_file_cmd18610 18611 # convert \$build files to toolchain format.18612 to_tool_file_cmd=$lt_cv_to_tool_file_cmd18613 18614 # An object symbol dumper.18615 OBJDUMP=$lt_OBJDUMP18616 18617 # Method to check whether dependent libraries are shared objects.18618 deplibs_check_method=$lt_deplibs_check_method18619 18620 # Command to use when deplibs_check_method = "file_magic".18621 file_magic_cmd=$lt_file_magic_cmd18622 18623 # How to find potential files when deplibs_check_method = "file_magic".18624 file_magic_glob=$lt_file_magic_glob18625 18626 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".18627 want_nocaseglob=$lt_want_nocaseglob18628 18629 # DLL creation program.18630 DLLTOOL=$lt_DLLTOOL18631 18632 # Command to associate shared and link libraries.18633 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd18634 18635 # The archiver.18636 AR=$lt_AR18637 18638 # Flags to create an archive.18639 AR_FLAGS=$lt_AR_FLAGS18640 18641 # How to feed a file listing to the archiver.18642 archiver_list_spec=$lt_archiver_list_spec18643 18644 # A symbol stripping program.18645 STRIP=$lt_STRIP18646 18647 # Commands used to install an old-style archive.18648 RANLIB=$lt_RANLIB18649 old_postinstall_cmds=$lt_old_postinstall_cmds18650 old_postuninstall_cmds=$lt_old_postuninstall_cmds18651 18652 # Whether to use a lock for old archive extraction.18653 lock_old_archive_extraction=$lock_old_archive_extraction18654 18655 # A C compiler.18656 LTCC=$lt_CC18657 18658 # LTCC compiler flags.18659 LTCFLAGS=$lt_CFLAGS18660 18661 # Take the output of nm and produce a listing of raw symbols and C names.18662 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe18663 18664 # Transform the output of nm in a proper C declaration.18665 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl18666 18667 # Transform the output of nm into a list of symbols to manually relocate.18668 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import18669 18670 # Transform the output of nm in a C name address pair.18671 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address18672 18673 # Transform the output of nm in a C name address pair when lib prefix is needed.18674 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix18675 18676 # The name lister interface.18677 nm_interface=$lt_lt_cv_nm_interface18678 18679 # Specify filename containing input files for \$NM.18680 nm_file_list_spec=$lt_nm_file_list_spec18681 18682 # The root where to search for dependent libraries,and where our libraries should be installed.18683 lt_sysroot=$lt_sysroot18684 18685 # Command to truncate a binary pipe.18686 lt_truncate_bin=$lt_lt_cv_truncate_bin18687 18688 # The name of the directory that contains temporary libtool files.18689 objdir=$objdir18690 18691 # Used to examine libraries when file_magic_cmd begins with "file".18692 MAGIC_CMD=$MAGIC_CMD18693 18694 # Must we lock files when doing compilation?18695 need_locks=$lt_need_locks18696 18697 # Manifest tool.18698 MANIFEST_TOOL=$lt_MANIFEST_TOOL18699 18700 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.18701 DSYMUTIL=$lt_DSYMUTIL18702 18703 # Tool to change global to local symbols on Mac OS X.18704 NMEDIT=$lt_NMEDIT18705 18706 # Tool to manipulate fat objects and archives on Mac OS X.18707 LIPO=$lt_LIPO18708 18709 # ldd/readelf like tool for Mach-O binaries on Mac OS X.18710 OTOOL=$lt_OTOOL18711 18712 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.18713 OTOOL64=$lt_OTOOL6418714 18715 # Old archive suffix (normally "a").18716 libext=$libext18717 18718 # Shared library suffix (normally ".so").18719 shrext_cmds=$lt_shrext_cmds18720 18721 # The commands to extract the exported symbol list from a shared archive.18722 extract_expsyms_cmds=$lt_extract_expsyms_cmds18723 18724 # Variables whose values should be saved in libtool wrapper scripts and18725 # restored at link time.18726 variables_saved_for_relink=$lt_variables_saved_for_relink18727 18728 # Do we need the "lib" prefix for modules?18729 need_lib_prefix=$need_lib_prefix18730 18731 # Do we need a version for libraries?18732 need_version=$need_version18733 18734 # Library versioning type.18735 version_type=$version_type18736 18737 # Shared library runtime path variable.18738 runpath_var=$runpath_var18739 18740 # Shared library path variable.18741 shlibpath_var=$shlibpath_var18742 18743 # Is shlibpath searched before the hard-coded library search path?18744 shlibpath_overrides_runpath=$shlibpath_overrides_runpath18745 18746 # Format of library name prefix.18747 libname_spec=$lt_libname_spec18748 18749 # List of archive names. First name is the real one, the rest are links.18750 # The last name is the one that the linker finds with -lNAME18751 library_names_spec=$lt_library_names_spec18752 18753 # The coded name of the library, if different from the real name.18754 soname_spec=$lt_soname_spec18755 18756 # Permission mode override for installation of shared libraries.18757 install_override_mode=$lt_install_override_mode18758 18759 # Command to use after installation of a shared archive.18760 postinstall_cmds=$lt_postinstall_cmds18761 18762 # Command to use after uninstallation of a shared archive.18763 postuninstall_cmds=$lt_postuninstall_cmds18764 18765 # Commands used to finish a libtool library installation in a directory.18766 finish_cmds=$lt_finish_cmds18767 18768 # As "finish_cmds", except a single script fragment to be evaled but18769 # not shown.18770 finish_eval=$lt_finish_eval18771 18772 # Whether we should hardcode library paths into libraries.18773 hardcode_into_libs=$hardcode_into_libs18774 18775 # Compile-time system search path for libraries.18776 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec18777 18778 # Detected run-time system search path for libraries.18779 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path18780 18781 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.18782 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path18783 18784 # Whether dlopen is supported.18785 dlopen_support=$enable_dlopen18786 18787 # Whether dlopen of programs is supported.18788 dlopen_self=$enable_dlopen_self18789 18790 # Whether dlopen of statically linked programs is supported.18791 dlopen_self_static=$enable_dlopen_self_static18792 18793 # Commands to strip libraries.18794 old_striplib=$lt_old_striplib18795 striplib=$lt_striplib18796 18797 18798 # The linker used to build libraries.18799 LD=$lt_LD18800 18801 # How to create reloadable object files.18802 reload_flag=$lt_reload_flag18803 reload_cmds=$lt_reload_cmds18804 18805 # Commands used to build an old-style archive.18806 old_archive_cmds=$lt_old_archive_cmds18807 18808 # A language specific compiler.18809 CC=$lt_compiler18810 18811 # Is the compiler the GNU compiler?18812 with_gcc=$GCC18813 18814 # Compiler flag to turn off builtin functions.18815 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag18816 18817 # Additional compiler flags for building library objects.18818 pic_flag=$lt_lt_prog_compiler_pic18819 18820 # How to pass a linker flag through the compiler.18821 wl=$lt_lt_prog_compiler_wl18822 18823 # Compiler flag to prevent dynamic linking.18824 link_static_flag=$lt_lt_prog_compiler_static18825 18826 # Does compiler simultaneously support -c and -o options?18827 compiler_c_o=$lt_lt_cv_prog_compiler_c_o18828 18829 # Whether or not to add -lc for building shared libraries.18830 build_libtool_need_lc=$archive_cmds_need_lc18831 18832 # Whether or not to disallow shared libs when runtime libs are static.18833 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes18834 18835 # Compiler flag to allow reflexive dlopens.18836 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec18837 18838 # Compiler flag to generate shared objects directly from archives.18839 whole_archive_flag_spec=$lt_whole_archive_flag_spec18840 18841 # Whether the compiler copes with passing no objects directly.18842 compiler_needs_object=$lt_compiler_needs_object18843 18844 # Create an old-style archive from a shared archive.18845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds18846 18847 # Create a temporary old-style archive to link instead of a shared archive.18848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds18849 18850 # Commands used to build a shared archive.18851 archive_cmds=$lt_archive_cmds18852 archive_expsym_cmds=$lt_archive_expsym_cmds18853 18854 # Commands used to build a loadable module if different from building18855 # a shared archive.18856 module_cmds=$lt_module_cmds18857 module_expsym_cmds=$lt_module_expsym_cmds18858 18859 # Whether we are building with GNU ld or not.18860 with_gnu_ld=$lt_with_gnu_ld18861 18862 # Flag that allows shared libraries with undefined symbols to be built.18863 allow_undefined_flag=$lt_allow_undefined_flag18864 18865 # Flag that enforces no undefined symbols.18866 no_undefined_flag=$lt_no_undefined_flag18867 18868 # Flag to hardcode \$libdir into a binary during linking.18869 # This must work even if \$libdir does not exist18870 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec18871 18872 # Whether we need a single "-rpath" flag with a separated argument.18873 hardcode_libdir_separator=$lt_hardcode_libdir_separator18874 18875 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes18876 # DIR into the resulting binary.18877 hardcode_direct=$hardcode_direct18878 18879 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes18880 # DIR into the resulting binary and the resulting library dependency is18881 # "absolute",i.e impossible to change by setting \$shlibpath_var if the18882 # library is relocated.18883 hardcode_direct_absolute=$hardcode_direct_absolute18884 18885 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR18886 # into the resulting binary.18887 hardcode_minus_L=$hardcode_minus_L18888 18889 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR18890 # into the resulting binary.18891 hardcode_shlibpath_var=$hardcode_shlibpath_var18892 18893 # Set to "yes" if building a shared library automatically hardcodes DIR18894 # into the library and all subsequent libraries and executables linked18895 # against it.18896 hardcode_automatic=$hardcode_automatic18897 18898 # Set to yes if linker adds runtime paths of dependent libraries18899 # to runtime path list.18900 inherit_rpath=$inherit_rpath18901 18902 # Whether libtool must link a program against all its dependency libraries.18903 link_all_deplibs=$link_all_deplibs18904 18905 # Set to "yes" if exported symbols are required.18906 always_export_symbols=$always_export_symbols18907 18908 # The commands to list exported symbols.18909 export_symbols_cmds=$lt_export_symbols_cmds18910 18911 # Symbols that should not be listed in the preloaded symbols.18912 exclude_expsyms=$lt_exclude_expsyms18913 18914 # Symbols that must always be exported.18915 include_expsyms=$lt_include_expsyms18916 18917 # Commands necessary for linking programs (against libraries) with templates.18918 prelink_cmds=$lt_prelink_cmds18919 18920 # Commands necessary for finishing linking programs.18921 postlink_cmds=$lt_postlink_cmds18922 18923 # Specify filename containing input files.18924 file_list_spec=$lt_file_list_spec18925 18926 # How to hardcode a shared library path into an executable.18927 hardcode_action=$hardcode_action18928 18929 # The directories searched by this compiler when creating a shared library.18930 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs18931 18932 # Dependencies to place before and after the objects being linked to18933 # create a shared library.18934 predep_objects=$lt_predep_objects18935 postdep_objects=$lt_postdep_objects18936 predeps=$lt_predeps18937 postdeps=$lt_postdeps18938 18939 # The library search path used internally by the compiler when linking18940 # a shared library.18941 compiler_lib_search_path=$lt_compiler_lib_search_path18942 18943 # ### END LIBTOOL CONFIG18944 18945 _LT_EOF18946 18947 cat <<'_LT_EOF' >> "$cfgfile"18948 18949 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE18950 18951 # func_munge_path_list VARIABLE PATH18952 # -----------------------------------18953 # VARIABLE is name of variable containing _space_ separated list of18954 # directories to be munged by the contents of PATH, which is string18955 # having a format:18956 # "DIR[:DIR]:"18957 # string "DIR[ DIR]" will be prepended to VARIABLE18958 # ":DIR[:DIR]"18959 # string "DIR[ DIR]" will be appended to VARIABLE18960 # "DIRP[:DIRP]::[DIRA:]DIRA"18961 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string18962 # "DIRA[ DIRA]" will be appended to VARIABLE18963 # "DIR[:DIR]"18964 # VARIABLE will be replaced by "DIR[ DIR]"18965 func_munge_path_list ()18966 {18967 case x$2 in18968 x)18969 ;;18970 *:)18971 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"18972 ;;18973 x:*)18974 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"18975 ;;18976 *::*)18977 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"18978 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"18979 ;;18980 *)18981 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"18982 ;;18983 esac18984 }18985 18986 18987 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.18988 func_cc_basename ()18989 {18990 for cc_temp in $*""; do18991 case $cc_temp in18992 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;18993 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;18994 \-*) ;;18995 *) break;;18996 esac18997 done18998 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`18999 }19000 19001 19002 # ### END FUNCTIONS SHARED WITH CONFIGURE19003 19004 _LT_EOF19005 19006 case $host_os in19007 aix3*)19008 cat <<\_LT_EOF >> "$cfgfile"19009 # AIX sometimes has problems with the GCC collect2 program. For some19010 # reason, if we set the COLLECT_NAMES environment variable, the problems19011 # vanish in a puff of smoke.19012 if test set != "${COLLECT_NAMES+set}"; then19013 COLLECT_NAMES=19014 export COLLECT_NAMES19015 fi19016 _LT_EOF19017 ;;19018 esac19019 19020 19021 ltmain=$ac_aux_dir/ltmain.sh19022 19023 19024 # We use sed instead of cat because bash on DJGPP gets confused if19025 # if finds mixed CR/LF and LF-only lines. Since sed operates in19026 # text mode, it properly converts lines to CR/LF. This bash problem19027 # is reportedly fixed, but why not run on old versions too?19028 sed '$q' "$ltmain" >> "$cfgfile" \19029 || (rm -f "$cfgfile"; exit 1)19030 19031 mv -f "$cfgfile" "$ofile" ||19032 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")19033 chmod +x "$ofile"19034 19035 19036 cat <<_LT_EOF >> "$ofile"19037 19038 # ### BEGIN LIBTOOL TAG CONFIG: CXX19039 19040 # The linker used to build libraries.19041 LD=$lt_LD_CXX19042 19043 # How to create reloadable object files.19044 reload_flag=$lt_reload_flag_CXX19045 reload_cmds=$lt_reload_cmds_CXX19046 19047 # Commands used to build an old-style archive.19048 old_archive_cmds=$lt_old_archive_cmds_CXX19049 19050 # A language specific compiler.19051 CC=$lt_compiler_CXX19052 19053 # Is the compiler the GNU compiler?19054 with_gcc=$GCC_CXX19055 19056 # Compiler flag to turn off builtin functions.19057 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX19058 19059 # Additional compiler flags for building library objects.19060 pic_flag=$lt_lt_prog_compiler_pic_CXX19061 19062 # How to pass a linker flag through the compiler.19063 wl=$lt_lt_prog_compiler_wl_CXX19064 19065 # Compiler flag to prevent dynamic linking.19066 link_static_flag=$lt_lt_prog_compiler_static_CXX19067 19068 # Does compiler simultaneously support -c and -o options?19069 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX19070 19071 # Whether or not to add -lc for building shared libraries.19072 build_libtool_need_lc=$archive_cmds_need_lc_CXX19073 19074 # Whether or not to disallow shared libs when runtime libs are static.19075 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX19076 19077 # Compiler flag to allow reflexive dlopens.19078 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX19079 19080 # Compiler flag to generate shared objects directly from archives.19081 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX19082 19083 # Whether the compiler copes with passing no objects directly.19084 compiler_needs_object=$lt_compiler_needs_object_CXX19085 19086 # Create an old-style archive from a shared archive.19087 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX19088 19089 # Create a temporary old-style archive to link instead of a shared archive.19090 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX19091 19092 # Commands used to build a shared archive.19093 archive_cmds=$lt_archive_cmds_CXX19094 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX19095 19096 # Commands used to build a loadable module if different from building19097 # a shared archive.19098 module_cmds=$lt_module_cmds_CXX19099 module_expsym_cmds=$lt_module_expsym_cmds_CXX19100 19101 # Whether we are building with GNU ld or not.19102 with_gnu_ld=$lt_with_gnu_ld_CXX19103 19104 # Flag that allows shared libraries with undefined symbols to be built.19105 allow_undefined_flag=$lt_allow_undefined_flag_CXX19106 19107 # Flag that enforces no undefined symbols.19108 no_undefined_flag=$lt_no_undefined_flag_CXX19109 19110 # Flag to hardcode \$libdir into a binary during linking.19111 # This must work even if \$libdir does not exist19112 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX19113 19114 # Whether we need a single "-rpath" flag with a separated argument.19115 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX19116 19117 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes19118 # DIR into the resulting binary.19119 hardcode_direct=$hardcode_direct_CXX19120 19121 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes19122 # DIR into the resulting binary and the resulting library dependency is19123 # "absolute",i.e impossible to change by setting \$shlibpath_var if the19124 # library is relocated.19125 hardcode_direct_absolute=$hardcode_direct_absolute_CXX19126 19127 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR19128 # into the resulting binary.19129 hardcode_minus_L=$hardcode_minus_L_CXX19130 19131 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR19132 # into the resulting binary.19133 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX19134 19135 # Set to "yes" if building a shared library automatically hardcodes DIR19136 # into the library and all subsequent libraries and executables linked19137 # against it.19138 hardcode_automatic=$hardcode_automatic_CXX19139 19140 # Set to yes if linker adds runtime paths of dependent libraries19141 # to runtime path list.19142 inherit_rpath=$inherit_rpath_CXX19143 19144 # Whether libtool must link a program against all its dependency libraries.19145 link_all_deplibs=$link_all_deplibs_CXX19146 19147 # Set to "yes" if exported symbols are required.19148 always_export_symbols=$always_export_symbols_CXX19149 19150 # The commands to list exported symbols.19151 export_symbols_cmds=$lt_export_symbols_cmds_CXX19152 19153 # Symbols that should not be listed in the preloaded symbols.19154 exclude_expsyms=$lt_exclude_expsyms_CXX19155 19156 # Symbols that must always be exported.19157 include_expsyms=$lt_include_expsyms_CXX19158 19159 # Commands necessary for linking programs (against libraries) with templates.19160 prelink_cmds=$lt_prelink_cmds_CXX19161 19162 # Commands necessary for finishing linking programs.19163 postlink_cmds=$lt_postlink_cmds_CXX19164 19165 # Specify filename containing input files.19166 file_list_spec=$lt_file_list_spec_CXX19167 19168 # How to hardcode a shared library path into an executable.19169 hardcode_action=$hardcode_action_CXX19170 19171 # The directories searched by this compiler when creating a shared library.19172 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX19173 19174 # Dependencies to place before and after the objects being linked to19175 # create a shared library.19176 predep_objects=$lt_predep_objects_CXX19177 postdep_objects=$lt_postdep_objects_CXX19178 predeps=$lt_predeps_CXX19179 postdeps=$lt_postdeps_CXX19180 19181 # The library search path used internally by the compiler when linking19182 # a shared library.19183 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX19184 19185 # ### END LIBTOOL TAG CONFIG: CXX19186 _LT_EOF19187 19188 ;;19189 5614 19190 5615 esac
Note:
See TracChangeset
for help on using the changeset viewer.