| OLD | NEW |
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
| 3 # Generated by GNU Autoconf 2.69. | 3 # Generated by GNU Autoconf 2.69. |
| 4 # | 4 # |
| 5 # | 5 # |
| 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 7 # | 7 # |
| 8 # | 8 # |
| 9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
| 10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 WITH_RUN_DEBUG | 656 WITH_RUN_DEBUG |
| 657 WITH_MEM_DEBUG | 657 WITH_MEM_DEBUG |
| 658 TEST_DEBUG | 658 TEST_DEBUG |
| 659 DEBUG_OBJ | 659 DEBUG_OBJ |
| 660 WITH_DEBUG | 660 WITH_DEBUG |
| 661 TEST_REGEXPS | 661 TEST_REGEXPS |
| 662 WITH_REGEXPS | 662 WITH_REGEXPS |
| 663 TEST_SCHEMAS | 663 TEST_SCHEMAS |
| 664 WITH_SCHEMAS | 664 WITH_SCHEMAS |
| 665 WITH_ISO8859X | 665 WITH_ISO8859X |
| 666 WITH_ICU |
| 666 ICU_LIBS | 667 ICU_LIBS |
| 667 WITH_ICU | 668 ICU_CFLAGS |
| 668 WITH_ICONV | 669 WITH_ICONV |
| 669 WITH_OUTPUT | 670 WITH_OUTPUT |
| 670 TEST_XPATH | 671 TEST_XPATH |
| 671 XPATH_OBJ | 672 XPATH_OBJ |
| 672 WITH_XPATH | 673 WITH_XPATH |
| 673 TEST_SCHEMATRON | 674 TEST_SCHEMATRON |
| 674 WITH_SCHEMATRON | 675 WITH_SCHEMATRON |
| 675 TEST_XINCLUDE | 676 TEST_XINCLUDE |
| 676 XINCLUDE_OBJ | 677 XINCLUDE_OBJ |
| 677 WITH_XINCLUDE | 678 WITH_XINCLUDE |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 LZMA_CFLAGS | 738 LZMA_CFLAGS |
| 738 WITH_ZLIB | 739 WITH_ZLIB |
| 739 Z_LIBS | 740 Z_LIBS |
| 740 Z_CFLAGS | 741 Z_CFLAGS |
| 741 REBUILD_DOCS_FALSE | 742 REBUILD_DOCS_FALSE |
| 742 REBUILD_DOCS_TRUE | 743 REBUILD_DOCS_TRUE |
| 743 HTML_DIR | 744 HTML_DIR |
| 744 USE_VERSION_SCRIPT_FALSE | 745 USE_VERSION_SCRIPT_FALSE |
| 745 USE_VERSION_SCRIPT_TRUE | 746 USE_VERSION_SCRIPT_TRUE |
| 746 VERSION_SCRIPT_FLAGS | 747 VERSION_SCRIPT_FLAGS |
| 747 LT_SYS_LIBRARY_PATH | |
| 748 OTOOL64 | 748 OTOOL64 |
| 749 OTOOL | 749 OTOOL |
| 750 LIPO | 750 LIPO |
| 751 NMEDIT | 751 NMEDIT |
| 752 DSYMUTIL | 752 DSYMUTIL |
| 753 MANIFEST_TOOL | 753 MANIFEST_TOOL |
| 754 RANLIB | 754 RANLIB |
| 755 ac_ct_AR | 755 ac_ct_AR |
| 756 AR | 756 AR |
| 757 DLLTOOL | 757 DLLTOOL |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 LIBXML_MINOR_VERSION | 828 LIBXML_MINOR_VERSION |
| 829 LIBXML_MAJOR_VERSION | 829 LIBXML_MAJOR_VERSION |
| 830 host_os | 830 host_os |
| 831 host_vendor | 831 host_vendor |
| 832 host_cpu | 832 host_cpu |
| 833 host | 833 host |
| 834 build_os | 834 build_os |
| 835 build_vendor | 835 build_vendor |
| 836 build_cpu | 836 build_cpu |
| 837 build | 837 build |
| 838 MAINT |
| 839 MAINTAINER_MODE_FALSE |
| 840 MAINTAINER_MODE_TRUE |
| 838 target_alias | 841 target_alias |
| 839 host_alias | 842 host_alias |
| 840 build_alias | 843 build_alias |
| 841 LIBS | 844 LIBS |
| 842 ECHO_T | 845 ECHO_T |
| 843 ECHO_N | 846 ECHO_N |
| 844 ECHO_C | 847 ECHO_C |
| 845 DEFS | 848 DEFS |
| 846 mandir | 849 mandir |
| 847 localedir | 850 localedir |
| (...skipping 21 matching lines...) Expand all Loading... |
| 869 PACKAGE_BUGREPORT | 872 PACKAGE_BUGREPORT |
| 870 PACKAGE_STRING | 873 PACKAGE_STRING |
| 871 PACKAGE_VERSION | 874 PACKAGE_VERSION |
| 872 PACKAGE_TARNAME | 875 PACKAGE_TARNAME |
| 873 PACKAGE_NAME | 876 PACKAGE_NAME |
| 874 PATH_SEPARATOR | 877 PATH_SEPARATOR |
| 875 SHELL' | 878 SHELL' |
| 876 ac_subst_files='' | 879 ac_subst_files='' |
| 877 ac_user_opts=' | 880 ac_user_opts=' |
| 878 enable_option_checking | 881 enable_option_checking |
| 882 enable_maintainer_mode |
| 879 enable_silent_rules | 883 enable_silent_rules |
| 880 enable_dependency_tracking | 884 enable_dependency_tracking |
| 881 enable_shared | 885 enable_shared |
| 882 enable_static | 886 enable_static |
| 883 with_pic | 887 with_pic |
| 884 enable_fast_install | 888 enable_fast_install |
| 885 with_aix_soname | |
| 886 with_gnu_ld | 889 with_gnu_ld |
| 887 with_sysroot | 890 with_sysroot |
| 888 enable_libtool_lock | 891 enable_libtool_lock |
| 889 with_c14n | 892 with_c14n |
| 890 with_catalog | 893 with_catalog |
| 891 with_debug | 894 with_debug |
| 892 with_docbook | 895 with_docbook |
| 893 with_fexceptions | 896 with_fexceptions |
| 894 with_ftp | 897 with_ftp |
| 895 with_history | 898 with_history |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 target_alias | 938 target_alias |
| 936 CC | 939 CC |
| 937 CFLAGS | 940 CFLAGS |
| 938 LDFLAGS | 941 LDFLAGS |
| 939 LIBS | 942 LIBS |
| 940 CPPFLAGS | 943 CPPFLAGS |
| 941 CPP | 944 CPP |
| 942 PKG_CONFIG | 945 PKG_CONFIG |
| 943 PKG_CONFIG_PATH | 946 PKG_CONFIG_PATH |
| 944 PKG_CONFIG_LIBDIR | 947 PKG_CONFIG_LIBDIR |
| 945 LT_SYS_LIBRARY_PATH | 948 Z_CFLAGS |
| 949 Z_LIBS |
| 946 LZMA_CFLAGS | 950 LZMA_CFLAGS |
| 947 LZMA_LIBS' | 951 LZMA_LIBS |
| 952 ICU_CFLAGS |
| 953 ICU_LIBS' |
| 948 | 954 |
| 949 | 955 |
| 950 # Initialize some variables set by options. | 956 # Initialize some variables set by options. |
| 951 ac_init_help= | 957 ac_init_help= |
| 952 ac_init_version=false | 958 ac_init_version=false |
| 953 ac_unrecognized_opts= | 959 ac_unrecognized_opts= |
| 954 ac_unrecognized_sep= | 960 ac_unrecognized_sep= |
| 955 # The variables have the same names as the options, with | 961 # The variables have the same names as the options, with |
| 956 # dashes changed to underlines. | 962 # dashes changed to underlines. |
| 957 cache_file=/dev/null | 963 cache_file=/dev/null |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 fi | 1560 fi |
| 1555 | 1561 |
| 1556 if test -n "$ac_init_help"; then | 1562 if test -n "$ac_init_help"; then |
| 1557 | 1563 |
| 1558 cat <<\_ACEOF | 1564 cat <<\_ACEOF |
| 1559 | 1565 |
| 1560 Optional Features: | 1566 Optional Features: |
| 1561 --disable-option-checking ignore unrecognized --enable/--with options | 1567 --disable-option-checking ignore unrecognized --enable/--with options |
| 1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1568 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1569 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1570 --disable-maintainer-mode |
| 1571 disable make rules and dependencies not useful (and |
| 1572 sometimes confusing) to the casual installer |
| 1564 --enable-silent-rules less verbose build output (undo: "make V=1") | 1573 --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1565 --disable-silent-rules verbose build output (undo: "make V=0") | 1574 --disable-silent-rules verbose build output (undo: "make V=0") |
| 1566 --enable-dependency-tracking | 1575 --enable-dependency-tracking |
| 1567 do not reject slow dependency extractors | 1576 do not reject slow dependency extractors |
| 1568 --disable-dependency-tracking | 1577 --disable-dependency-tracking |
| 1569 speeds up one-time build | 1578 speeds up one-time build |
| 1570 --enable-shared[=PKGS] build shared libraries [default=yes] | 1579 --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1571 --enable-static[=PKGS] build static libraries [default=yes] | 1580 --enable-static[=PKGS] build static libraries [default=yes] |
| 1572 --enable-fast-install[=PKGS] | 1581 --enable-fast-install[=PKGS] |
| 1573 optimize for fast installation [default=yes] | 1582 optimize for fast installation [default=yes] |
| 1574 --disable-libtool-lock avoid locking (might break parallel builds) | 1583 --disable-libtool-lock avoid locking (might break parallel builds) |
| 1575 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no] | 1584 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no] |
| 1576 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes] | 1585 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes] |
| 1577 | 1586 |
| 1578 Optional Packages: | 1587 Optional Packages: |
| 1579 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1588 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1580 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1589 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1581 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | 1590 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
| 1582 both] | 1591 both] |
| 1583 --with-aix-soname=aix|svr4|both | |
| 1584 shared library versioning (aka "SONAME") variant to | |
| 1585 provide on AIX, [default=aix]. | |
| 1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1592 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1587 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the | 1593 --with-sysroot=DIR Search for dependent libraries within DIR |
| 1588 compiler's sysroot if not specified). | 1594 (or the compiler's sysroot if not specified). |
| 1589 --with-c14n add the Canonicalization support (on) | 1595 --with-c14n add the Canonicalization support (on) |
| 1590 --with-catalog add the Catalog support (on) | 1596 --with-catalog add the Catalog support (on) |
| 1591 --with-debug add the debugging module (on) | 1597 --with-debug add the debugging module (on) |
| 1592 --with-docbook add Docbook SGML support (on) | 1598 --with-docbook add Docbook SGML support (on) |
| 1593 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off) | 1599 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off) |
| 1594 --with-ftp add the FTP support (on) | 1600 --with-ftp add the FTP support (on) |
| 1595 --with-history add history support to xmllint shell(off) | 1601 --with-history add history support to xmllint shell(off) |
| 1596 --with-html add the HTML support (on) | 1602 --with-html add the HTML support (on) |
| 1597 --with-html-dir=path path to base html directory, default | 1603 --with-html-dir=path path to base html directory, default |
| 1598 $datadir/doc/html | 1604 $datadir/doc/html |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 nonstandard directory <lib dir> | 1644 nonstandard directory <lib dir> |
| 1639 LIBS libraries to pass to the linker, e.g. -l<library> | 1645 LIBS libraries to pass to the linker, e.g. -l<library> |
| 1640 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1646 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1641 you have headers in a nonstandard directory <include dir> | 1647 you have headers in a nonstandard directory <include dir> |
| 1642 CPP C preprocessor | 1648 CPP C preprocessor |
| 1643 PKG_CONFIG path to pkg-config utility | 1649 PKG_CONFIG path to pkg-config utility |
| 1644 PKG_CONFIG_PATH | 1650 PKG_CONFIG_PATH |
| 1645 directories to add to pkg-config's search path | 1651 directories to add to pkg-config's search path |
| 1646 PKG_CONFIG_LIBDIR | 1652 PKG_CONFIG_LIBDIR |
| 1647 path overriding pkg-config's built-in search path | 1653 path overriding pkg-config's built-in search path |
| 1648 LT_SYS_LIBRARY_PATH | 1654 Z_CFLAGS C compiler flags for Z, overriding pkg-config |
| 1649 User-defined run-time library search path. | 1655 Z_LIBS linker flags for Z, overriding pkg-config |
| 1650 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config | 1656 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config |
| 1651 LZMA_LIBS linker flags for LZMA, overriding pkg-config | 1657 LZMA_LIBS linker flags for LZMA, overriding pkg-config |
| 1658 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config |
| 1659 ICU_LIBS linker flags for ICU, overriding pkg-config |
| 1652 | 1660 |
| 1653 Use these variables to override the choices made by `configure' or to help | 1661 Use these variables to override the choices made by `configure' or to help |
| 1654 it to find libraries and programs with nonstandard names/locations. | 1662 it to find libraries and programs with nonstandard names/locations. |
| 1655 | 1663 |
| 1656 Report bugs to the package provider. | 1664 Report bugs to the package provider. |
| 1657 _ACEOF | 1665 _ACEOF |
| 1658 ac_status=$? | 1666 ac_status=$? |
| 1659 fi | 1667 fi |
| 1660 | 1668 |
| 1661 if test "$ac_init_help" = "recursive"; then | 1669 if test "$ac_init_help" = "recursive"; then |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2480 ac_cpp='$CPP $CPPFLAGS' | 2488 ac_cpp='$CPP $CPPFLAGS' |
| 2481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 2490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2483 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2491 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2484 | 2492 |
| 2485 | 2493 |
| 2486 | 2494 |
| 2487 ac_config_headers="$ac_config_headers config.h" | 2495 ac_config_headers="$ac_config_headers config.h" |
| 2488 | 2496 |
| 2489 | 2497 |
| 2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-s
pecific portions of Makefiles" >&5 |
| 2499 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles
... " >&6; } |
| 2500 # Check whether --enable-maintainer-mode was given. |
| 2501 if test "${enable_maintainer_mode+set}" = set; then : |
| 2502 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2503 else |
| 2504 USE_MAINTAINER_MODE=yes |
| 2505 fi |
| 2506 |
| 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 2508 $as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 2509 if test $USE_MAINTAINER_MODE = yes; then |
| 2510 MAINTAINER_MODE_TRUE= |
| 2511 MAINTAINER_MODE_FALSE='#' |
| 2512 else |
| 2513 MAINTAINER_MODE_TRUE='#' |
| 2514 MAINTAINER_MODE_FALSE= |
| 2515 fi |
| 2516 |
| 2517 MAINT=$MAINTAINER_MODE_TRUE |
| 2518 |
| 2519 |
| 2520 |
| 2490 ac_aux_dir= | 2521 ac_aux_dir= |
| 2491 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2522 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2492 if test -f "$ac_dir/install-sh"; then | 2523 if test -f "$ac_dir/install-sh"; then |
| 2493 ac_aux_dir=$ac_dir | 2524 ac_aux_dir=$ac_dir |
| 2494 ac_install_sh="$ac_aux_dir/install-sh -c" | 2525 ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2495 break | 2526 break |
| 2496 elif test -f "$ac_dir/install.sh"; then | 2527 elif test -f "$ac_dir/install.sh"; then |
| 2497 ac_aux_dir=$ac_dir | 2528 ac_aux_dir=$ac_dir |
| 2498 ac_install_sh="$ac_aux_dir/install.sh -c" | 2529 ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2499 break | 2530 break |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2583 # Remember, the first character of IFS is used to create $*, | 2614 # Remember, the first character of IFS is used to create $*, |
| 2584 # except with old shells: | 2615 # except with old shells: |
| 2585 host_os=$* | 2616 host_os=$* |
| 2586 IFS=$ac_save_IFS | 2617 IFS=$ac_save_IFS |
| 2587 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 2618 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 2588 | 2619 |
| 2589 | 2620 |
| 2590 | 2621 |
| 2591 LIBXML_MAJOR_VERSION=2 | 2622 LIBXML_MAJOR_VERSION=2 |
| 2592 LIBXML_MINOR_VERSION=9 | 2623 LIBXML_MINOR_VERSION=9 |
| 2593 LIBXML_MICRO_VERSION=3 | 2624 LIBXML_MICRO_VERSION=4 |
| 2594 LIBXML_MICRO_VERSION_SUFFIX= | 2625 LIBXML_MICRO_VERSION_SUFFIX= |
| 2595 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
$LIBXML_MICRO_VERSION_SUFFIX | 2626 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
$LIBXML_MICRO_VERSION_SUFFIX |
| 2596 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
_MICRO_VERSION:$LIBXML_MINOR_VERSION | 2627 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
_MICRO_VERSION:$LIBXML_MINOR_VERSION |
| 2597 | 2628 |
| 2598 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSI
ON \* 100 + $LIBXML_MICRO_VERSION` | 2629 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSI
ON \* 100 + $LIBXML_MICRO_VERSION` |
| 2599 | 2630 |
| 2600 if test -f CVS/Entries ; then | 2631 if test -f CVS/Entries ; then |
| 2601 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%
% -e s\%/.*$%%` | 2632 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%
% -e s\%/.*$%%` |
| 2602 echo extra=$extra | 2633 echo extra=$extra |
| 2603 if test "$extra" != "" | 2634 if test "$extra" != "" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 2624 | 2655 |
| 2625 | 2656 |
| 2626 | 2657 |
| 2627 | 2658 |
| 2628 | 2659 |
| 2629 | 2660 |
| 2630 | 2661 |
| 2631 | 2662 |
| 2632 VERSION=${LIBXML_VERSION} | 2663 VERSION=${LIBXML_VERSION} |
| 2633 | 2664 |
| 2634 am__api_version='1.15' | 2665 am__api_version='1.14' |
| 2635 | 2666 |
| 2636 # Find a good install program. We prefer a C program (faster), | 2667 # Find a good install program. We prefer a C program (faster), |
| 2637 # so one script is as good as another. But avoid the broken or | 2668 # so one script is as good as another. But avoid the broken or |
| 2638 # incompatible versions: | 2669 # incompatible versions: |
| 2639 # SysV /etc/install, /usr/sbin/install | 2670 # SysV /etc/install, /usr/sbin/install |
| 2640 # SunOS /usr/etc/install | 2671 # SunOS /usr/etc/install |
| 2641 # IRIX /sbin/install | 2672 # IRIX /sbin/install |
| 2642 # AIX /bin/install | 2673 # AIX /bin/install |
| 2643 # AmigaOS /C/install, which installs bootblocks on floppy discs | 2674 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 2644 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2675 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2796 test "$program_prefix" != NONE && | 2827 test "$program_prefix" != NONE && |
| 2797 program_transform_name="s&^&$program_prefix&;$program_transform_name" | 2828 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 2798 # Use a double $ so make ignores it. | 2829 # Use a double $ so make ignores it. |
| 2799 test "$program_suffix" != NONE && | 2830 test "$program_suffix" != NONE && |
| 2800 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 2831 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 2801 # Double any \ or $. | 2832 # Double any \ or $. |
| 2802 # By default was `s,x,x', remove it if useless. | 2833 # By default was `s,x,x', remove it if useless. |
| 2803 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | 2834 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 2804 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | 2835 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 2805 | 2836 |
| 2806 # Expand $ac_aux_dir to an absolute path. | 2837 # expand $ac_aux_dir to an absolute path |
| 2807 am_aux_dir=`cd "$ac_aux_dir" && pwd` | 2838 am_aux_dir=`cd $ac_aux_dir && pwd` |
| 2808 | 2839 |
| 2809 if test x"${MISSING+set}" != xset; then | 2840 if test x"${MISSING+set}" != xset; then |
| 2810 case $am_aux_dir in | 2841 case $am_aux_dir in |
| 2811 *\ * | *\ *) | 2842 *\ * | *\ *) |
| 2812 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | 2843 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 2813 *) | 2844 *) |
| 2814 MISSING="\${SHELL} $am_aux_dir/missing" ;; | 2845 MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 2815 esac | 2846 esac |
| 2816 fi | 2847 fi |
| 2817 # Use eval to expand $SHELL | 2848 # Use eval to expand $SHELL |
| 2818 if eval "$MISSING --is-lightweight"; then | 2849 if eval "$MISSING --is-lightweight"; then |
| 2819 am_missing_run="$MISSING " | 2850 am_missing_run="$MISSING " |
| 2820 else | 2851 else |
| 2821 am_missing_run= | 2852 am_missing_run= |
| 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old
or missing" >&5 | 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old
or missing" >&5 |
| 2823 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | 2854 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 2824 fi | 2855 fi |
| 2825 | 2856 |
| 2826 if test x"${install_sh+set}" != xset; then | 2857 if test x"${install_sh}" != xset; then |
| 2827 case $am_aux_dir in | 2858 case $am_aux_dir in |
| 2828 *\ * | *\ *) | 2859 *\ * | *\ *) |
| 2829 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 2860 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2830 *) | 2861 *) |
| 2831 install_sh="\${SHELL} $am_aux_dir/install-sh" | 2862 install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 2832 esac | 2863 esac |
| 2833 fi | 2864 fi |
| 2834 | 2865 |
| 2835 # Installed binaries are usually stripped using 'strip' when the user | 2866 # Installed binaries are usually stripped using 'strip' when the user |
| 2836 # run "make install-strip". However 'strip' might not be the right | 2867 # run "make install-strip". However 'strip' might not be the right |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3145 | 3176 |
| 3146 | 3177 |
| 3147 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 3178 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3148 | 3179 |
| 3149 # For better backward compatibility. To be removed once Automake 1.9.x | 3180 # For better backward compatibility. To be removed once Automake 1.9.x |
| 3150 # dies out for good. For more background, see: | 3181 # dies out for good. For more background, see: |
| 3151 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | 3182 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 3152 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | 3183 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 3153 mkdir_p='$(MKDIR_P)' | 3184 mkdir_p='$(MKDIR_P)' |
| 3154 | 3185 |
| 3155 # We need awk for the "check" target (and possibly the TAP driver). The | 3186 # We need awk for the "check" target. The system "awk" is bad on |
| 3156 # system "awk" is bad on some platforms. | 3187 # some platforms. |
| 3157 # Always define AMTAR for backward compatibility. Yes, it's still used | 3188 # Always define AMTAR for backward compatibility. Yes, it's still used |
| 3158 # in the wild :-( We should find a proper way to deprecate it ... | 3189 # in the wild :-( We should find a proper way to deprecate it ... |
| 3159 AMTAR='$${TAR-tar}' | 3190 AMTAR='$${TAR-tar}' |
| 3160 | 3191 |
| 3161 | 3192 |
| 3162 # We'll loop over all known methods to create a tar archive until one works. | 3193 # We'll loop over all known methods to create a tar archive until one works. |
| 3163 _am_tools='gnutar pax cpio none' | 3194 _am_tools='gnutar pax cpio none' |
| 3164 | 3195 |
| 3165 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | 3196 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3166 | 3197 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3204 | 3235 |
| 3205 If you want to complete the configuration process using your problematic | 3236 If you want to complete the configuration process using your problematic |
| 3206 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 3237 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3207 to "yes", and re-run configure. | 3238 to "yes", and re-run configure. |
| 3208 | 3239 |
| 3209 END | 3240 END |
| 3210 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | 3241 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3211 fi | 3242 fi |
| 3212 fi | 3243 fi |
| 3213 | 3244 |
| 3214 | |
| 3215 # Support silent build rules, requires at least automake-1.11. Disable | 3245 # Support silent build rules, requires at least automake-1.11. Disable |
| 3216 # by either passing --disable-silent-rules to configure or passing V=1 | 3246 # by either passing --disable-silent-rules to configure or passing V=1 |
| 3217 # to make | 3247 # to make |
| 3218 # Check whether --enable-silent-rules was given. | 3248 # Check whether --enable-silent-rules was given. |
| 3219 if test "${enable_silent_rules+set}" = set; then : | 3249 if test "${enable_silent_rules+set}" = set; then : |
| 3220 enableval=$enable_silent_rules; | 3250 enableval=$enable_silent_rules; |
| 3221 fi | 3251 fi |
| 3222 | 3252 |
| 3223 case $enable_silent_rules in # ((( | 3253 case $enable_silent_rules in # ((( |
| 3224 yes) AM_DEFAULT_VERBOSITY=0;; | 3254 yes) AM_DEFAULT_VERBOSITY=0;; |
| (...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4812 fi | 4842 fi |
| 4813 | 4843 |
| 4814 case `pwd` in | 4844 case `pwd` in |
| 4815 *\ * | *\ *) | 4845 *\ * | *\ *) |
| 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well
with whitespace in \`pwd\`" >&5 | 4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well
with whitespace in \`pwd\`" >&5 |
| 4817 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`
" >&2;} ;; | 4847 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`
" >&2;} ;; |
| 4818 esac | 4848 esac |
| 4819 | 4849 |
| 4820 | 4850 |
| 4821 | 4851 |
| 4822 macro_version='2.4.6' | 4852 macro_version='2.4.2' |
| 4823 macro_revision='2.4.6' | 4853 macro_revision='1.3337' |
| 4824 | 4854 |
| 4825 | 4855 |
| 4826 | 4856 |
| 4827 | 4857 |
| 4828 | 4858 |
| 4829 | 4859 |
| 4830 | 4860 |
| 4831 | 4861 |
| 4832 | 4862 |
| 4833 | 4863 |
| 4834 | 4864 |
| 4835 | 4865 |
| 4836 | 4866 |
| 4837 ltmain=$ac_aux_dir/ltmain.sh | 4867 ltmain="$ac_aux_dir/ltmain.sh" |
| 4838 | 4868 |
| 4839 # Backslashify metacharacters that are still active within | 4869 # Backslashify metacharacters that are still active within |
| 4840 # double-quoted strings. | 4870 # double-quoted strings. |
| 4841 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 4871 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
| 4842 | 4872 |
| 4843 # Same as above, but do not quote variable references. | 4873 # Same as above, but do not quote variable references. |
| 4844 double_quote_subst='s/\(["`\\]\)/\\\1/g' | 4874 double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| 4845 | 4875 |
| 4846 # Sed substitution to delay expansion of an escaped shell variable in a | 4876 # Sed substitution to delay expansion of an escaped shell variable in a |
| 4847 # double_quote_subst'ed string. | 4877 # double_quote_subst'ed string. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 4876 ECHO='func_fallback_echo' | 4906 ECHO='func_fallback_echo' |
| 4877 fi | 4907 fi |
| 4878 | 4908 |
| 4879 # func_echo_all arg... | 4909 # func_echo_all arg... |
| 4880 # Invoke $ECHO with all args, space-separated. | 4910 # Invoke $ECHO with all args, space-separated. |
| 4881 func_echo_all () | 4911 func_echo_all () |
| 4882 { | 4912 { |
| 4883 $ECHO "" | 4913 $ECHO "" |
| 4884 } | 4914 } |
| 4885 | 4915 |
| 4886 case $ECHO in | 4916 case "$ECHO" in |
| 4887 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | 4917 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 4888 $as_echo "printf" >&6; } ;; | 4918 $as_echo "printf" >&6; } ;; |
| 4889 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | 4919 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 4890 $as_echo "print -r" >&6; } ;; | 4920 $as_echo "print -r" >&6; } ;; |
| 4891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | 4921 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 4892 $as_echo "cat" >&6; } ;; | 4922 $as_echo "cat" >&6; } ;; |
| 4893 esac | 4923 esac |
| 4894 | 4924 |
| 4895 | 4925 |
| 4896 | 4926 |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5199 | 5229 |
| 5200 | 5230 |
| 5201 | 5231 |
| 5202 | 5232 |
| 5203 | 5233 |
| 5204 | 5234 |
| 5205 | 5235 |
| 5206 | 5236 |
| 5207 # Check whether --with-gnu-ld was given. | 5237 # Check whether --with-gnu-ld was given. |
| 5208 if test "${with_gnu_ld+set}" = set; then : | 5238 if test "${with_gnu_ld+set}" = set; then : |
| 5209 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes | 5239 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
| 5210 else | 5240 else |
| 5211 with_gnu_ld=no | 5241 with_gnu_ld=no |
| 5212 fi | 5242 fi |
| 5213 | 5243 |
| 5214 ac_prog=ld | 5244 ac_prog=ld |
| 5215 if test yes = "$GCC"; then | 5245 if test "$GCC" = yes; then |
| 5216 # Check if gcc -print-prog-name=ld gives a path. | 5246 # Check if gcc -print-prog-name=ld gives a path. |
| 5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
| 5218 $as_echo_n "checking for ld used by $CC... " >&6; } | 5248 $as_echo_n "checking for ld used by $CC... " >&6; } |
| 5219 case $host in | 5249 case $host in |
| 5220 *-*-mingw*) | 5250 *-*-mingw*) |
| 5221 # gcc leaves a trailing carriage return, which upsets mingw | 5251 # gcc leaves a trailing carriage return which upsets mingw |
| 5222 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 5252 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 5223 *) | 5253 *) |
| 5224 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 5254 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 5225 esac | 5255 esac |
| 5226 case $ac_prog in | 5256 case $ac_prog in |
| 5227 # Accept absolute paths. | 5257 # Accept absolute paths. |
| 5228 [\\/]* | ?:[\\/]*) | 5258 [\\/]* | ?:[\\/]*) |
| 5229 re_direlt='/[^/][^/]*/\.\./' | 5259 re_direlt='/[^/][^/]*/\.\./' |
| 5230 # Canonicalize the pathname of ld | 5260 # Canonicalize the pathname of ld |
| 5231 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | 5261 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 5232 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | 5262 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 5233 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | 5263 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 5234 done | 5264 done |
| 5235 test -z "$LD" && LD=$ac_prog | 5265 test -z "$LD" && LD="$ac_prog" |
| 5236 ;; | 5266 ;; |
| 5237 "") | 5267 "") |
| 5238 # If it fails, then pretend we aren't using GCC. | 5268 # If it fails, then pretend we aren't using GCC. |
| 5239 ac_prog=ld | 5269 ac_prog=ld |
| 5240 ;; | 5270 ;; |
| 5241 *) | 5271 *) |
| 5242 # If it is relative, then search for the first ld in PATH. | 5272 # If it is relative, then search for the first ld in PATH. |
| 5243 with_gnu_ld=unknown | 5273 with_gnu_ld=unknown |
| 5244 ;; | 5274 ;; |
| 5245 esac | 5275 esac |
| 5246 elif test yes = "$with_gnu_ld"; then | 5276 elif test "$with_gnu_ld" = yes; then |
| 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 5248 $as_echo_n "checking for GNU ld... " >&6; } | 5278 $as_echo_n "checking for GNU ld... " >&6; } |
| 5249 else | 5279 else |
| 5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | 5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5251 $as_echo_n "checking for non-GNU ld... " >&6; } | 5281 $as_echo_n "checking for non-GNU ld... " >&6; } |
| 5252 fi | 5282 fi |
| 5253 if ${lt_cv_path_LD+:} false; then : | 5283 if ${lt_cv_path_LD+:} false; then : |
| 5254 $as_echo_n "(cached) " >&6 | 5284 $as_echo_n "(cached) " >&6 |
| 5255 else | 5285 else |
| 5256 if test -z "$LD"; then | 5286 if test -z "$LD"; then |
| 5257 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | 5287 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 5258 for ac_dir in $PATH; do | 5288 for ac_dir in $PATH; do |
| 5259 IFS=$lt_save_ifs | 5289 IFS="$lt_save_ifs" |
| 5260 test -z "$ac_dir" && ac_dir=. | 5290 test -z "$ac_dir" && ac_dir=. |
| 5261 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 5291 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 5262 lt_cv_path_LD=$ac_dir/$ac_prog | 5292 lt_cv_path_LD="$ac_dir/$ac_prog" |
| 5263 # Check to see if the program is GNU ld. I'd rather use --version, | 5293 # Check to see if the program is GNU ld. I'd rather use --version, |
| 5264 # but apparently some variants of GNU ld only accept -v. | 5294 # but apparently some variants of GNU ld only accept -v. |
| 5265 # Break only if it was the GNU/non-GNU ld that we prefer. | 5295 # Break only if it was the GNU/non-GNU ld that we prefer. |
| 5266 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 5296 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 5267 *GNU* | *'with BFD'*) | 5297 *GNU* | *'with BFD'*) |
| 5268 » test no != "$with_gnu_ld" && break | 5298 » test "$with_gnu_ld" != no && break |
| 5269 ;; | 5299 ;; |
| 5270 *) | 5300 *) |
| 5271 » test yes != "$with_gnu_ld" && break | 5301 » test "$with_gnu_ld" != yes && break |
| 5272 ;; | 5302 ;; |
| 5273 esac | 5303 esac |
| 5274 fi | 5304 fi |
| 5275 done | 5305 done |
| 5276 IFS=$lt_save_ifs | 5306 IFS="$lt_save_ifs" |
| 5277 else | 5307 else |
| 5278 lt_cv_path_LD=$LD # Let the user override the test with a path. | 5308 lt_cv_path_LD="$LD" # Let the user override the test with a path. |
| 5279 fi | 5309 fi |
| 5280 fi | 5310 fi |
| 5281 | 5311 |
| 5282 LD=$lt_cv_path_LD | 5312 LD="$lt_cv_path_LD" |
| 5283 if test -n "$LD"; then | 5313 if test -n "$LD"; then |
| 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | 5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 5285 $as_echo "$LD" >&6; } | 5315 $as_echo "$LD" >&6; } |
| 5286 else | 5316 else |
| 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5288 $as_echo "no" >&6; } | 5318 $as_echo "no" >&6; } |
| 5289 fi | 5319 fi |
| 5290 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | 5320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 | 5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 |
| 5292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | 5322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 5315 | 5345 |
| 5316 | 5346 |
| 5317 | 5347 |
| 5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name
lister (nm)" >&5 | 5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name
lister (nm)" >&5 |
| 5319 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | 5349 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
| 5320 if ${lt_cv_path_NM+:} false; then : | 5350 if ${lt_cv_path_NM+:} false; then : |
| 5321 $as_echo_n "(cached) " >&6 | 5351 $as_echo_n "(cached) " >&6 |
| 5322 else | 5352 else |
| 5323 if test -n "$NM"; then | 5353 if test -n "$NM"; then |
| 5324 # Let the user override the test. | 5354 # Let the user override the test. |
| 5325 lt_cv_path_NM=$NM | 5355 lt_cv_path_NM="$NM" |
| 5326 else | 5356 else |
| 5327 lt_nm_to_check=${ac_tool_prefix}nm | 5357 lt_nm_to_check="${ac_tool_prefix}nm" |
| 5328 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | 5358 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 5329 lt_nm_to_check="$lt_nm_to_check nm" | 5359 lt_nm_to_check="$lt_nm_to_check nm" |
| 5330 fi | 5360 fi |
| 5331 for lt_tmp_nm in $lt_nm_to_check; do | 5361 for lt_tmp_nm in $lt_nm_to_check; do |
| 5332 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | 5362 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 5333 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | 5363 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 5334 IFS=$lt_save_ifs | 5364 IFS="$lt_save_ifs" |
| 5335 test -z "$ac_dir" && ac_dir=. | 5365 test -z "$ac_dir" && ac_dir=. |
| 5336 tmp_nm=$ac_dir/$lt_tmp_nm | 5366 tmp_nm="$ac_dir/$lt_tmp_nm" |
| 5337 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then | 5367 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
| 5338 # Check to see if the nm accepts a BSD-compat flag. | 5368 # Check to see if the nm accepts a BSD-compat flag. |
| 5339 » # Adding the 'sed 1q' prevents false positives on HP-UX, which says: | 5369 » # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 5340 # nm: unknown option "B" ignored | 5370 # nm: unknown option "B" ignored |
| 5341 # Tru64's nm complains that /dev/null is an invalid object file | 5371 # Tru64's nm complains that /dev/null is an invalid object file |
| 5342 » # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty | 5372 » case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
| 5343 » case $build_os in | 5373 » */dev/null* | *'Invalid file or object type'*) |
| 5344 » mingw*) lt_bad_file=conftest.nm/nofile ;; | |
| 5345 » *) lt_bad_file=/dev/null ;; | |
| 5346 » esac | |
| 5347 » case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in | |
| 5348 » *$lt_bad_file* | *'Invalid file or object type'*) | |
| 5349 lt_cv_path_NM="$tmp_nm -B" | 5374 lt_cv_path_NM="$tmp_nm -B" |
| 5350 » break 2 | 5375 » break |
| 5351 ;; | 5376 ;; |
| 5352 *) | 5377 *) |
| 5353 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 5378 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 5354 */dev/null*) | 5379 */dev/null*) |
| 5355 lt_cv_path_NM="$tmp_nm -p" | 5380 lt_cv_path_NM="$tmp_nm -p" |
| 5356 » break 2 | 5381 » break |
| 5357 ;; | 5382 ;; |
| 5358 *) | 5383 *) |
| 5359 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 5384 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 5360 continue # so that we can try to find one that supports BSD flags | 5385 continue # so that we can try to find one that supports BSD flags |
| 5361 ;; | 5386 ;; |
| 5362 esac | 5387 esac |
| 5363 ;; | 5388 ;; |
| 5364 esac | 5389 esac |
| 5365 fi | 5390 fi |
| 5366 done | 5391 done |
| 5367 IFS=$lt_save_ifs | 5392 IFS="$lt_save_ifs" |
| 5368 done | 5393 done |
| 5369 : ${lt_cv_path_NM=no} | 5394 : ${lt_cv_path_NM=no} |
| 5370 fi | 5395 fi |
| 5371 fi | 5396 fi |
| 5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | 5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
| 5373 $as_echo "$lt_cv_path_NM" >&6; } | 5398 $as_echo "$lt_cv_path_NM" >&6; } |
| 5374 if test no != "$lt_cv_path_NM"; then | 5399 if test "$lt_cv_path_NM" != "no"; then |
| 5375 NM=$lt_cv_path_NM | 5400 NM="$lt_cv_path_NM" |
| 5376 else | 5401 else |
| 5377 # Didn't find any BSD compatible name lister, look for dumpbin. | 5402 # Didn't find any BSD compatible name lister, look for dumpbin. |
| 5378 if test -n "$DUMPBIN"; then : | 5403 if test -n "$DUMPBIN"; then : |
| 5379 # Let the user override the test. | 5404 # Let the user override the test. |
| 5380 else | 5405 else |
| 5381 if test -n "$ac_tool_prefix"; then | 5406 if test -n "$ac_tool_prefix"; then |
| 5382 for ac_prog in dumpbin "link -dump" | 5407 for ac_prog in dumpbin "link -dump" |
| 5383 do | 5408 do |
| 5384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | 5409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 5385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 5410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5471 case $cross_compiling:$ac_tool_warned in | 5496 case $cross_compiling:$ac_tool_warned in |
| 5472 yes:) | 5497 yes:) |
| 5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | 5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 5475 ac_tool_warned=yes ;; | 5500 ac_tool_warned=yes ;; |
| 5476 esac | 5501 esac |
| 5477 DUMPBIN=$ac_ct_DUMPBIN | 5502 DUMPBIN=$ac_ct_DUMPBIN |
| 5478 fi | 5503 fi |
| 5479 fi | 5504 fi |
| 5480 | 5505 |
| 5481 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in | 5506 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
| 5482 *COFF*) | 5507 *COFF*) |
| 5483 DUMPBIN="$DUMPBIN -symbols -headers" | 5508 DUMPBIN="$DUMPBIN -symbols" |
| 5484 ;; | 5509 ;; |
| 5485 *) | 5510 *) |
| 5486 DUMPBIN=: | 5511 DUMPBIN=: |
| 5487 ;; | 5512 ;; |
| 5488 esac | 5513 esac |
| 5489 fi | 5514 fi |
| 5490 | 5515 |
| 5491 if test : != "$DUMPBIN"; then | 5516 if test "$DUMPBIN" != ":"; then |
| 5492 NM=$DUMPBIN | 5517 NM="$DUMPBIN" |
| 5493 fi | 5518 fi |
| 5494 fi | 5519 fi |
| 5495 test -z "$NM" && NM=nm | 5520 test -z "$NM" && NM=nm |
| 5496 | 5521 |
| 5497 | 5522 |
| 5498 | 5523 |
| 5499 | 5524 |
| 5500 | 5525 |
| 5501 | 5526 |
| 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 | 5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 5523 $as_echo "$lt_cv_nm_interface" >&6; } | 5548 $as_echo "$lt_cv_nm_interface" >&6; } |
| 5524 | 5549 |
| 5525 # find the maximum length of command line arguments | 5550 # find the maximum length of command line arguments |
| 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command
line arguments" >&5 | 5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command
line arguments" >&5 |
| 5527 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | 5552 $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 5528 if ${lt_cv_sys_max_cmd_len+:} false; then : | 5553 if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 5529 $as_echo_n "(cached) " >&6 | 5554 $as_echo_n "(cached) " >&6 |
| 5530 else | 5555 else |
| 5531 i=0 | 5556 i=0 |
| 5532 teststring=ABCD | 5557 teststring="ABCD" |
| 5533 | 5558 |
| 5534 case $build_os in | 5559 case $build_os in |
| 5535 msdosdjgpp*) | 5560 msdosdjgpp*) |
| 5536 # On DJGPP, this test can blow up pretty badly due to problems in libc | 5561 # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 5537 # (any single argument exceeding 2000 bytes causes a buffer overrun | 5562 # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 5538 # during glob expansion). Even if it were fixed, the result of this | 5563 # during glob expansion). Even if it were fixed, the result of this |
| 5539 # check would be larger than it should be. | 5564 # check would be larger than it should be. |
| 5540 lt_cv_sys_max_cmd_len=12288; # 12K is about right | 5565 lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 5541 ;; | 5566 ;; |
| 5542 | 5567 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 5562 # On MiNT this can take a long time and run out of memory. | 5587 # On MiNT this can take a long time and run out of memory. |
| 5563 lt_cv_sys_max_cmd_len=8192; | 5588 lt_cv_sys_max_cmd_len=8192; |
| 5564 ;; | 5589 ;; |
| 5565 | 5590 |
| 5566 amigaos*) | 5591 amigaos*) |
| 5567 # On AmigaOS with pdksh, this test takes hours, literally. | 5592 # On AmigaOS with pdksh, this test takes hours, literally. |
| 5568 # So we just punt and use a minimum line length of 8192. | 5593 # So we just punt and use a minimum line length of 8192. |
| 5569 lt_cv_sys_max_cmd_len=8192; | 5594 lt_cv_sys_max_cmd_len=8192; |
| 5570 ;; | 5595 ;; |
| 5571 | 5596 |
| 5572 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) | 5597 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
| 5573 # This has been around since 386BSD, at least. Likely further. | 5598 # This has been around since 386BSD, at least. Likely further. |
| 5574 if test -x /sbin/sysctl; then | 5599 if test -x /sbin/sysctl; then |
| 5575 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | 5600 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 5576 elif test -x /usr/sbin/sysctl; then | 5601 elif test -x /usr/sbin/sysctl; then |
| 5577 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | 5602 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 5578 else | 5603 else |
| 5579 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | 5604 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 5580 fi | 5605 fi |
| 5581 # And add a safety zone | 5606 # And add a safety zone |
| 5582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 5607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| (...skipping 30 matching lines...) Expand all Loading... |
| 5613 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | 5638 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 5614 if test -n "$kargmax"; then | 5639 if test -n "$kargmax"; then |
| 5615 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | 5640 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 5616 else | 5641 else |
| 5617 lt_cv_sys_max_cmd_len=32768 | 5642 lt_cv_sys_max_cmd_len=32768 |
| 5618 fi | 5643 fi |
| 5619 ;; | 5644 ;; |
| 5620 *) | 5645 *) |
| 5621 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | 5646 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 5622 if test -n "$lt_cv_sys_max_cmd_len" && \ | 5647 if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 5623 test undefined != "$lt_cv_sys_max_cmd_len"; then | 5648 » test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 5624 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 5649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 5625 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 5650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 5626 else | 5651 else |
| 5627 # Make teststring a little bigger before we do anything with it. | 5652 # Make teststring a little bigger before we do anything with it. |
| 5628 # a 1K string should be a reasonable start. | 5653 # a 1K string should be a reasonable start. |
| 5629 for i in 1 2 3 4 5 6 7 8; do | 5654 for i in 1 2 3 4 5 6 7 8 ; do |
| 5630 teststring=$teststring$teststring | 5655 teststring=$teststring$teststring |
| 5631 done | 5656 done |
| 5632 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | 5657 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 5633 # If test is not a shell built-in, we'll probably end up computing a | 5658 # If test is not a shell built-in, we'll probably end up computing a |
| 5634 # maximum length that is only half of the actual maximum length, but | 5659 # maximum length that is only half of the actual maximum length, but |
| 5635 # we can't tell. | 5660 # we can't tell. |
| 5636 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ | 5661 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 5637 = "X$teststring$teststring"; } >/dev/null 2>&1 && | 5662 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 5638 » test 17 != "$i" # 1/2 MB should be enough | 5663 » test $i != 17 # 1/2 MB should be enough |
| 5639 do | 5664 do |
| 5640 i=`expr $i + 1` | 5665 i=`expr $i + 1` |
| 5641 teststring=$teststring$teststring | 5666 teststring=$teststring$teststring |
| 5642 done | 5667 done |
| 5643 # Only check the string length outside the loop. | 5668 # Only check the string length outside the loop. |
| 5644 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | 5669 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 5645 teststring= | 5670 teststring= |
| 5646 # Add a significant safety factor because C++ compilers can tack on | 5671 # Add a significant safety factor because C++ compilers can tack on |
| 5647 # massive amounts of additional arguments before passing them to the | 5672 # massive amounts of additional arguments before passing them to the |
| 5648 # linker. It appears as though 1/2 is a usable value. | 5673 # linker. It appears as though 1/2 is a usable value. |
| 5649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 5674 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 5650 fi | 5675 fi |
| 5651 ;; | 5676 ;; |
| 5652 esac | 5677 esac |
| 5653 | 5678 |
| 5654 fi | 5679 fi |
| 5655 | 5680 |
| 5656 if test -n "$lt_cv_sys_max_cmd_len"; then | 5681 if test -n $lt_cv_sys_max_cmd_len ; then |
| 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | 5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 5658 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | 5683 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 5659 else | 5684 else |
| 5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 5661 $as_echo "none" >&6; } | 5686 $as_echo "none" >&6; } |
| 5662 fi | 5687 fi |
| 5663 max_cmd_len=$lt_cv_sys_max_cmd_len | 5688 max_cmd_len=$lt_cv_sys_max_cmd_len |
| 5664 | 5689 |
| 5665 | 5690 |
| 5666 | 5691 |
| 5667 | 5692 |
| 5668 | 5693 |
| 5669 | 5694 |
| 5670 : ${CP="cp -f"} | 5695 : ${CP="cp -f"} |
| 5671 : ${MV="mv -f"} | 5696 : ${MV="mv -f"} |
| 5672 : ${RM="rm -f"} | 5697 : ${RM="rm -f"} |
| 5673 | 5698 |
| 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
some XSI constructs" >&5 |
| 5700 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
} |
| 5701 # Try some XSI features |
| 5702 xsi_shell=no |
| 5703 ( _lt_dummy="a/b/c" |
| 5704 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy
"}, \ |
| 5705 = c,a/b,b/c, \ |
| 5706 && eval 'test $(( 1 + 1 )) -eq 2 \ |
| 5707 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 5708 && xsi_shell=yes |
| 5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
| 5710 $as_echo "$xsi_shell" >&6; } |
| 5711 |
| 5712 |
| 5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5 |
| 5714 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
| 5715 lt_shell_append=no |
| 5716 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
| 5717 >/dev/null 2>&1 \ |
| 5718 && lt_shell_append=yes |
| 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
| 5720 $as_echo "$lt_shell_append" >&6; } |
| 5721 |
| 5722 |
| 5674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 5723 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 5675 lt_unset=unset | 5724 lt_unset=unset |
| 5676 else | 5725 else |
| 5677 lt_unset=false | 5726 lt_unset=false |
| 5678 fi | 5727 fi |
| 5679 | 5728 |
| 5680 | 5729 |
| 5681 | 5730 |
| 5682 | 5731 |
| 5683 | 5732 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | 5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 5787 $as_echo "$lt_cv_ld_reload_flag" >&6; } | 5836 $as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 5788 reload_flag=$lt_cv_ld_reload_flag | 5837 reload_flag=$lt_cv_ld_reload_flag |
| 5789 case $reload_flag in | 5838 case $reload_flag in |
| 5790 "" | " "*) ;; | 5839 "" | " "*) ;; |
| 5791 *) reload_flag=" $reload_flag" ;; | 5840 *) reload_flag=" $reload_flag" ;; |
| 5792 esac | 5841 esac |
| 5793 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 5842 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 5794 case $host_os in | 5843 case $host_os in |
| 5795 cygwin* | mingw* | pw32* | cegcc*) | 5844 cygwin* | mingw* | pw32* | cegcc*) |
| 5796 if test yes != "$GCC"; then | 5845 if test "$GCC" != yes; then |
| 5797 reload_cmds=false | 5846 reload_cmds=false |
| 5798 fi | 5847 fi |
| 5799 ;; | 5848 ;; |
| 5800 darwin*) | 5849 darwin*) |
| 5801 if test yes = "$GCC"; then | 5850 if test "$GCC" = yes; then |
| 5802 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' | 5851 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 5803 else | 5852 else |
| 5804 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 5853 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 5805 fi | 5854 fi |
| 5806 ;; | 5855 ;; |
| 5807 esac | 5856 esac |
| 5808 | 5857 |
| 5809 | 5858 |
| 5810 | 5859 |
| 5811 | 5860 |
| 5812 | 5861 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5920 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | 5969 $as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 5921 if ${lt_cv_deplibs_check_method+:} false; then : | 5970 if ${lt_cv_deplibs_check_method+:} false; then : |
| 5922 $as_echo_n "(cached) " >&6 | 5971 $as_echo_n "(cached) " >&6 |
| 5923 else | 5972 else |
| 5924 lt_cv_file_magic_cmd='$MAGIC_CMD' | 5973 lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 5925 lt_cv_file_magic_test_file= | 5974 lt_cv_file_magic_test_file= |
| 5926 lt_cv_deplibs_check_method='unknown' | 5975 lt_cv_deplibs_check_method='unknown' |
| 5927 # Need to set the preceding variable on all platforms that support | 5976 # Need to set the preceding variable on all platforms that support |
| 5928 # interlibrary dependencies. | 5977 # interlibrary dependencies. |
| 5929 # 'none' -- dependencies not supported. | 5978 # 'none' -- dependencies not supported. |
| 5930 # 'unknown' -- same as none, but documents that we really don't know. | 5979 # `unknown' -- same as none, but documents that we really don't know. |
| 5931 # 'pass_all' -- all dependencies passed with no checks. | 5980 # 'pass_all' -- all dependencies passed with no checks. |
| 5932 # 'test_compile' -- check by making test program. | 5981 # 'test_compile' -- check by making test program. |
| 5933 # 'file_magic [[regex]]' -- check by looking for files in library path | 5982 # 'file_magic [[regex]]' -- check by looking for files in library path |
| 5934 # that responds to the $file_magic_cmd with a given extended regex. | 5983 # which responds to the $file_magic_cmd with a given extended regex. |
| 5935 # If you have 'file' or equivalent on your system and you're not sure | 5984 # If you have `file' or equivalent on your system and you're not sure |
| 5936 # whether 'pass_all' will *always* work, you probably want this one. | 5985 # whether `pass_all' will *always* work, you probably want this one. |
| 5937 | 5986 |
| 5938 case $host_os in | 5987 case $host_os in |
| 5939 aix[4-9]*) | 5988 aix[4-9]*) |
| 5940 lt_cv_deplibs_check_method=pass_all | 5989 lt_cv_deplibs_check_method=pass_all |
| 5941 ;; | 5990 ;; |
| 5942 | 5991 |
| 5943 beos*) | 5992 beos*) |
| 5944 lt_cv_deplibs_check_method=pass_all | 5993 lt_cv_deplibs_check_method=pass_all |
| 5945 ;; | 5994 ;; |
| 5946 | 5995 |
| 5947 bsdi[45]*) | 5996 bsdi[45]*) |
| 5948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje
ct|dynamic lib)' | 5997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje
ct|dynamic lib)' |
| 5949 lt_cv_file_magic_cmd='/usr/bin/file -L' | 5998 lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 5950 lt_cv_file_magic_test_file=/shlib/libc.so | 5999 lt_cv_file_magic_test_file=/shlib/libc.so |
| 5951 ;; | 6000 ;; |
| 5952 | 6001 |
| 5953 cygwin*) | 6002 cygwin*) |
| 5954 # func_win32_libid is a shell function defined in ltmain.sh | 6003 # func_win32_libid is a shell function defined in ltmain.sh |
| 5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 6004 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 5956 lt_cv_file_magic_cmd='func_win32_libid' | 6005 lt_cv_file_magic_cmd='func_win32_libid' |
| 5957 ;; | 6006 ;; |
| 5958 | 6007 |
| 5959 mingw* | pw32*) | 6008 mingw* | pw32*) |
| 5960 # Base MSYS/MinGW do not provide the 'file' command needed by | 6009 # Base MSYS/MinGW do not provide the 'file' command needed by |
| 5961 # func_win32_libid shell function, so use a weaker test based on 'objdump', | 6010 # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 5962 # unless we find 'file', for example because we are cross-compiling. | 6011 # unless we find 'file', for example because we are cross-compiling. |
| 5963 if ( file / ) >/dev/null 2>&1; then | 6012 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 6013 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 6014 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 5965 lt_cv_file_magic_cmd='func_win32_libid' | 6015 lt_cv_file_magic_cmd='func_win32_libid' |
| 5966 else | 6016 else |
| 5967 # Keep this pattern in sync with the one in func_win32_libid. | 6017 # Keep this pattern in sync with the one in func_win32_libid. |
| 5968 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' | 6018 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' |
| 5969 lt_cv_file_magic_cmd='$OBJDUMP -f' | 6019 lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 5970 fi | 6020 fi |
| 5971 ;; | 6021 ;; |
| 5972 | 6022 |
| 5973 cegcc*) | 6023 cegcc*) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6031 *) libmagic=never-match;; | 6081 *) libmagic=never-match;; |
| 6032 esac | 6082 esac |
| 6033 lt_cv_deplibs_check_method=pass_all | 6083 lt_cv_deplibs_check_method=pass_all |
| 6034 ;; | 6084 ;; |
| 6035 | 6085 |
| 6036 # This must be glibc/ELF. | 6086 # This must be glibc/ELF. |
| 6037 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 6087 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 6038 lt_cv_deplibs_check_method=pass_all | 6088 lt_cv_deplibs_check_method=pass_all |
| 6039 ;; | 6089 ;; |
| 6040 | 6090 |
| 6041 netbsd*) | 6091 netbsd* | netbsdelf*-gnu) |
| 6042 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 6092 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 6043 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | 6093 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' |
| 6044 else | 6094 else |
| 6045 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 6095 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
| 6046 fi | 6096 fi |
| 6047 ;; | 6097 ;; |
| 6048 | 6098 |
| 6049 newos6*) | 6099 newos6*) |
| 6050 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|
dynamic lib)' | 6100 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|
dynamic lib)' |
| 6051 lt_cv_file_magic_cmd=/usr/bin/file | 6101 lt_cv_file_magic_cmd=/usr/bin/file |
| 6052 lt_cv_file_magic_test_file=/usr/lib/libnls.so | 6102 lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 6053 ;; | 6103 ;; |
| 6054 | 6104 |
| 6055 *nto* | *qnx*) | 6105 *nto* | *qnx*) |
| 6056 lt_cv_deplibs_check_method=pass_all | 6106 lt_cv_deplibs_check_method=pass_all |
| 6057 ;; | 6107 ;; |
| 6058 | 6108 |
| 6059 openbsd* | bitrig*) | 6109 openbsd*) |
| 6060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | 6110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then |
| 6061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' | 6111 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' |
| 6062 else | 6112 else |
| 6063 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | 6113 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' |
| 6064 fi | 6114 fi |
| 6065 ;; | 6115 ;; |
| 6066 | 6116 |
| 6067 osf3* | osf4* | osf5*) | 6117 osf3* | osf4* | osf5*) |
| 6068 lt_cv_deplibs_check_method=pass_all | 6118 lt_cv_deplibs_check_method=pass_all |
| 6069 ;; | 6119 ;; |
| 6070 | 6120 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6103 ;; | 6153 ;; |
| 6104 pc) | 6154 pc) |
| 6105 lt_cv_deplibs_check_method=pass_all | 6155 lt_cv_deplibs_check_method=pass_all |
| 6106 ;; | 6156 ;; |
| 6107 esac | 6157 esac |
| 6108 ;; | 6158 ;; |
| 6109 | 6159 |
| 6110 tpf*) | 6160 tpf*) |
| 6111 lt_cv_deplibs_check_method=pass_all | 6161 lt_cv_deplibs_check_method=pass_all |
| 6112 ;; | 6162 ;; |
| 6113 os2*) | |
| 6114 lt_cv_deplibs_check_method=pass_all | |
| 6115 ;; | |
| 6116 esac | 6163 esac |
| 6117 | 6164 |
| 6118 fi | 6165 fi |
| 6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 | 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 |
| 6120 $as_echo "$lt_cv_deplibs_check_method" >&6; } | 6167 $as_echo "$lt_cv_deplibs_check_method" >&6; } |
| 6121 | 6168 |
| 6122 file_magic_glob= | 6169 file_magic_glob= |
| 6123 want_nocaseglob=no | 6170 want_nocaseglob=no |
| 6124 if test "$build" = "$host"; then | 6171 if test "$build" = "$host"; then |
| 6125 case $host_os in | 6172 case $host_os in |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6263 | 6310 |
| 6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l
ink libraries" >&5 | 6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l
ink libraries" >&5 |
| 6265 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } | 6312 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 6266 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | 6313 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 6267 $as_echo_n "(cached) " >&6 | 6314 $as_echo_n "(cached) " >&6 |
| 6268 else | 6315 else |
| 6269 lt_cv_sharedlib_from_linklib_cmd='unknown' | 6316 lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 6270 | 6317 |
| 6271 case $host_os in | 6318 case $host_os in |
| 6272 cygwin* | mingw* | pw32* | cegcc*) | 6319 cygwin* | mingw* | pw32* | cegcc*) |
| 6273 # two different shell functions defined in ltmain.sh; | 6320 # two different shell functions defined in ltmain.sh |
| 6274 # decide which one to use based on capabilities of $DLLTOOL | 6321 # decide which to use based on capabilities of $DLLTOOL |
| 6275 case `$DLLTOOL --help 2>&1` in | 6322 case `$DLLTOOL --help 2>&1` in |
| 6276 *--identify-strict*) | 6323 *--identify-strict*) |
| 6277 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | 6324 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 6278 ;; | 6325 ;; |
| 6279 *) | 6326 *) |
| 6280 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | 6327 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 6281 ;; | 6328 ;; |
| 6282 esac | 6329 esac |
| 6283 ;; | 6330 ;; |
| 6284 *) | 6331 *) |
| 6285 # fallback: assume linklib IS sharedlib | 6332 # fallback: assume linklib IS sharedlib |
| 6286 lt_cv_sharedlib_from_linklib_cmd=$ECHO | 6333 lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 6287 ;; | 6334 ;; |
| 6288 esac | 6335 esac |
| 6289 | 6336 |
| 6290 fi | 6337 fi |
| 6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c
md" >&5 | 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c
md" >&5 |
| 6292 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } | 6339 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
| 6293 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | 6340 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 6294 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | 6341 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 6295 | 6342 |
| 6296 | 6343 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6431 } | 6478 } |
| 6432 _ACEOF | 6479 _ACEOF |
| 6433 if ac_fn_c_try_compile "$LINENO"; then : | 6480 if ac_fn_c_try_compile "$LINENO"; then : |
| 6434 echo conftest.$ac_objext > conftest.lst | 6481 echo conftest.$ac_objext > conftest.lst |
| 6435 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | 6482 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
| 6436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 6483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6437 (eval $lt_ar_try) 2>&5 | 6484 (eval $lt_ar_try) 2>&5 |
| 6438 ac_status=$? | 6485 ac_status=$? |
| 6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6440 test $ac_status = 0; } | 6487 test $ac_status = 0; } |
| 6441 if test 0 -eq "$ac_status"; then | 6488 if test "$ac_status" -eq 0; then |
| 6442 # Ensure the archiver fails upon bogus file names. | 6489 # Ensure the archiver fails upon bogus file names. |
| 6443 rm -f conftest.$ac_objext libconftest.a | 6490 rm -f conftest.$ac_objext libconftest.a |
| 6444 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 6491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
| 6445 (eval $lt_ar_try) 2>&5 | 6492 (eval $lt_ar_try) 2>&5 |
| 6446 ac_status=$? | 6493 ac_status=$? |
| 6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6448 test $ac_status = 0; } | 6495 test $ac_status = 0; } |
| 6449 » if test 0 -ne "$ac_status"; then | 6496 » if test "$ac_status" -ne 0; then |
| 6450 lt_cv_ar_at_file=@ | 6497 lt_cv_ar_at_file=@ |
| 6451 fi | 6498 fi |
| 6452 fi | 6499 fi |
| 6453 rm -f conftest.* libconftest.a | 6500 rm -f conftest.* libconftest.a |
| 6454 | 6501 |
| 6455 fi | 6502 fi |
| 6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6457 | 6504 |
| 6458 fi | 6505 fi |
| 6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | 6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
| 6460 $as_echo "$lt_cv_ar_at_file" >&6; } | 6507 $as_echo "$lt_cv_ar_at_file" >&6; } |
| 6461 | 6508 |
| 6462 if test no = "$lt_cv_ar_at_file"; then | 6509 if test "x$lt_cv_ar_at_file" = xno; then |
| 6463 archiver_list_spec= | 6510 archiver_list_spec= |
| 6464 else | 6511 else |
| 6465 archiver_list_spec=$lt_cv_ar_at_file | 6512 archiver_list_spec=$lt_cv_ar_at_file |
| 6466 fi | 6513 fi |
| 6467 | 6514 |
| 6468 | 6515 |
| 6469 | 6516 |
| 6470 | 6517 |
| 6471 | 6518 |
| 6472 | 6519 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6669 | 6716 |
| 6670 | 6717 |
| 6671 | 6718 |
| 6672 # Determine commands to create old-style static archives. | 6719 # Determine commands to create old-style static archives. |
| 6673 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | 6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 6674 old_postinstall_cmds='chmod 644 $oldlib' | 6721 old_postinstall_cmds='chmod 644 $oldlib' |
| 6675 old_postuninstall_cmds= | 6722 old_postuninstall_cmds= |
| 6676 | 6723 |
| 6677 if test -n "$RANLIB"; then | 6724 if test -n "$RANLIB"; then |
| 6678 case $host_os in | 6725 case $host_os in |
| 6679 bitrig* | openbsd*) | 6726 openbsd*) |
| 6680 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | 6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 6681 ;; | 6728 ;; |
| 6682 *) | 6729 *) |
| 6683 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | 6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 6684 ;; | 6731 ;; |
| 6685 esac | 6732 esac |
| 6686 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | 6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 6687 fi | 6734 fi |
| 6688 | 6735 |
| 6689 case $host_os in | 6736 case $host_os in |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6759 | 6806 |
| 6760 # Define system-specific variables. | 6807 # Define system-specific variables. |
| 6761 case $host_os in | 6808 case $host_os in |
| 6762 aix*) | 6809 aix*) |
| 6763 symcode='[BCDT]' | 6810 symcode='[BCDT]' |
| 6764 ;; | 6811 ;; |
| 6765 cygwin* | mingw* | pw32* | cegcc*) | 6812 cygwin* | mingw* | pw32* | cegcc*) |
| 6766 symcode='[ABCDGISTW]' | 6813 symcode='[ABCDGISTW]' |
| 6767 ;; | 6814 ;; |
| 6768 hpux*) | 6815 hpux*) |
| 6769 if test ia64 = "$host_cpu"; then | 6816 if test "$host_cpu" = ia64; then |
| 6770 symcode='[ABCDEGRST]' | 6817 symcode='[ABCDEGRST]' |
| 6771 fi | 6818 fi |
| 6772 ;; | 6819 ;; |
| 6773 irix* | nonstopux*) | 6820 irix* | nonstopux*) |
| 6774 symcode='[BCDEGRST]' | 6821 symcode='[BCDEGRST]' |
| 6775 ;; | 6822 ;; |
| 6776 osf*) | 6823 osf*) |
| 6777 symcode='[BCDEGQRST]' | 6824 symcode='[BCDEGQRST]' |
| 6778 ;; | 6825 ;; |
| 6779 solaris*) | 6826 solaris*) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 6792 symcode='[DFNSTU]' | 6839 symcode='[DFNSTU]' |
| 6793 ;; | 6840 ;; |
| 6794 esac | 6841 esac |
| 6795 | 6842 |
| 6796 # If we're using GNU nm, then use its standard symbol codes. | 6843 # If we're using GNU nm, then use its standard symbol codes. |
| 6797 case `$NM -V 2>&1` in | 6844 case `$NM -V 2>&1` in |
| 6798 *GNU* | *'with BFD'*) | 6845 *GNU* | *'with BFD'*) |
| 6799 symcode='[ABCDGIRSTW]' ;; | 6846 symcode='[ABCDGIRSTW]' ;; |
| 6800 esac | 6847 esac |
| 6801 | 6848 |
| 6802 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
| 6803 # Gets list of data symbols to import. | |
| 6804 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" | |
| 6805 # Adjust the below global symbol transforms to fixup imported variables. | |
| 6806 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" | |
| 6807 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" | |
| 6808 lt_c_name_lib_hook="\ | |
| 6809 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ | |
| 6810 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" | |
| 6811 else | |
| 6812 # Disable hooks by default. | |
| 6813 lt_cv_sys_global_symbol_to_import= | |
| 6814 lt_cdecl_hook= | |
| 6815 lt_c_name_hook= | |
| 6816 lt_c_name_lib_hook= | |
| 6817 fi | |
| 6818 | |
| 6819 # Transform an extracted symbol line into a proper C declaration. | 6849 # Transform an extracted symbol line into a proper C declaration. |
| 6820 # Some systems (esp. on ia64) link data and code symbols differently, | 6850 # Some systems (esp. on ia64) link data and code symbols differently, |
| 6821 # so use this general approach. | 6851 # so use this general approach. |
| 6822 lt_cv_sys_global_symbol_to_cdecl="sed -n"\ | 6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p'
-e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 6823 $lt_cdecl_hook\ | |
| 6824 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ | |
| 6825 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" | |
| 6826 | 6853 |
| 6827 # Transform an extracted symbol line into symbol name and symbol address | 6854 # Transform an extracted symbol line into symbol name and symbol address |
| 6828 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ | 6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\
"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void
*) \&\2},/p'" |
| 6829 $lt_c_name_hook\ | 6856 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[
]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {
\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (
void *) \&\2},/p'" |
| 6830 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ | |
| 6831 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" | |
| 6832 | |
| 6833 # Transform an extracted symbol line into symbol name with lib prefix and | |
| 6834 # symbol address. | |
| 6835 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ | |
| 6836 $lt_c_name_lib_hook\ | |
| 6837 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ | |
| 6838 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ | |
| 6839 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" | |
| 6840 | 6857 |
| 6841 # Handle CRLF in mingw tool chain | 6858 # Handle CRLF in mingw tool chain |
| 6842 opt_cr= | 6859 opt_cr= |
| 6843 case $build_os in | 6860 case $build_os in |
| 6844 mingw*) | 6861 mingw*) |
| 6845 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 6846 ;; | 6863 ;; |
| 6847 esac | 6864 esac |
| 6848 | 6865 |
| 6849 # Try without a prefix underscore, then with it. | 6866 # Try without a prefix underscore, then with it. |
| 6850 for ac_symprfx in "" "_"; do | 6867 for ac_symprfx in "" "_"; do |
| 6851 | 6868 |
| 6852 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | 6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 6853 symxfrm="\\1 $ac_symprfx\\2 \\2" | 6870 symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 6854 | 6871 |
| 6855 # Write the raw and C identifiers. | 6872 # Write the raw and C identifiers. |
| 6856 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 6857 # Fake it for dumpbin and say T for any non-static function, | 6874 # Fake it for dumpbin and say T for any non-static function |
| 6858 # D for any global variable and I for any imported variable. | 6875 # and D for any global variable. |
| 6859 # Also find C++ and __fastcall symbols from MSVC++, | 6876 # Also find C++ and __fastcall symbols from MSVC++, |
| 6860 # which start with @ or ?. | 6877 # which start with @ or ?. |
| 6861 lt_cv_sys_global_symbol_pipe="$AWK '"\ | 6878 lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 6862 " {last_section=section; section=\$ 3};"\ | 6879 " {last_section=section; section=\$ 3};"\ |
| 6863 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | 6880 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 6864 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | 6881 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 6865 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ | |
| 6866 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ | |
| 6867 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ | |
| 6868 " \$ 0!~/External *\|/{next};"\ | 6882 " \$ 0!~/External *\|/{next};"\ |
| 6869 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | 6883 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 6870 " {if(hide[section]) next};"\ | 6884 " {if(hide[section]) next};"\ |
| 6871 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ | 6885 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
| 6872 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ | 6886 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
| 6873 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ | 6887 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
| 6874 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ | 6888 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
| 6875 " ' prfx=^$ac_symprfx" | 6889 " ' prfx=^$ac_symprfx" |
| 6876 else | 6890 else |
| 6877 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[
][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | 6891 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[
][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 6878 fi | 6892 fi |
| 6879 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" | 6893 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" |
| 6880 | 6894 |
| 6881 # Check to see that the pipe works correctly. | 6895 # Check to see that the pipe works correctly. |
| 6882 pipe_works=no | 6896 pipe_works=no |
| 6883 | 6897 |
| 6884 rm -f conftest* | 6898 rm -f conftest* |
| (...skipping 27 matching lines...) Expand all Loading... |
| 6912 mv -f "$nlist"T "$nlist" | 6926 mv -f "$nlist"T "$nlist" |
| 6913 else | 6927 else |
| 6914 rm -f "$nlist"T | 6928 rm -f "$nlist"T |
| 6915 fi | 6929 fi |
| 6916 | 6930 |
| 6917 # Make sure that we snagged all the symbols we need. | 6931 # Make sure that we snagged all the symbols we need. |
| 6918 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | 6932 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 6919 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | 6933 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 6920 cat <<_LT_EOF > conftest.$ac_ext | 6934 cat <<_LT_EOF > conftest.$ac_ext |
| 6921 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ | 6935 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ |
| 6922 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE | 6936 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 6923 /* DATA imports from DLLs on WIN32 can't be const, because runtime | 6937 /* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 6924 relocations are performed -- see ld's documentation on pseudo-relocs. */ | 6938 relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 6925 # define LT_DLSYM_CONST | 6939 # define LT_DLSYM_CONST |
| 6926 #elif defined __osf__ | 6940 #elif defined(__osf__) |
| 6927 /* This system does not cope well with relocations in const data. */ | 6941 /* This system does not cope well with relocations in const data. */ |
| 6928 # define LT_DLSYM_CONST | 6942 # define LT_DLSYM_CONST |
| 6929 #else | 6943 #else |
| 6930 # define LT_DLSYM_CONST const | 6944 # define LT_DLSYM_CONST const |
| 6931 #endif | 6945 #endif |
| 6932 | 6946 |
| 6933 #ifdef __cplusplus | 6947 #ifdef __cplusplus |
| 6934 extern "C" { | 6948 extern "C" { |
| 6935 #endif | 6949 #endif |
| 6936 | 6950 |
| 6937 _LT_EOF | 6951 _LT_EOF |
| 6938 # Now generate the symbol file. | 6952 # Now generate the symbol file. |
| 6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' | 6953 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' |
| 6940 | 6954 |
| 6941 cat <<_LT_EOF >> conftest.$ac_ext | 6955 cat <<_LT_EOF >> conftest.$ac_ext |
| 6942 | 6956 |
| 6943 /* The mapping between symbol names and symbols. */ | 6957 /* The mapping between symbol names and symbols. */ |
| 6944 LT_DLSYM_CONST struct { | 6958 LT_DLSYM_CONST struct { |
| 6945 const char *name; | 6959 const char *name; |
| 6946 void *address; | 6960 void *address; |
| 6947 } | 6961 } |
| 6948 lt__PROGRAM__LTX_preloaded_symbols[] = | 6962 lt__PROGRAM__LTX_preloaded_symbols[] = |
| 6949 { | 6963 { |
| 6950 { "@PROGRAM@", (void *) 0 }, | 6964 { "@PROGRAM@", (void *) 0 }, |
| 6951 _LT_EOF | 6965 _LT_EOF |
| 6952 » $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "
$nlist" | $GREP -v main >> conftest.$ac_ext | 6966 » $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/"
< "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 6953 cat <<\_LT_EOF >> conftest.$ac_ext | 6967 cat <<\_LT_EOF >> conftest.$ac_ext |
| 6954 {0, (void *) 0} | 6968 {0, (void *) 0} |
| 6955 }; | 6969 }; |
| 6956 | 6970 |
| 6957 /* This works around a problem in FreeBSD linker */ | 6971 /* This works around a problem in FreeBSD linker */ |
| 6958 #ifdef FREEBSD_WORKAROUND | 6972 #ifdef FREEBSD_WORKAROUND |
| 6959 static const void *lt_preloaded_setup() { | 6973 static const void *lt_preloaded_setup() { |
| 6960 return lt__PROGRAM__LTX_preloaded_symbols; | 6974 return lt__PROGRAM__LTX_preloaded_symbols; |
| 6961 } | 6975 } |
| 6962 #endif | 6976 #endif |
| 6963 | 6977 |
| 6964 #ifdef __cplusplus | 6978 #ifdef __cplusplus |
| 6965 } | 6979 } |
| 6966 #endif | 6980 #endif |
| 6967 _LT_EOF | 6981 _LT_EOF |
| 6968 # Now try linking the two files. | 6982 # Now try linking the two files. |
| 6969 mv conftest.$ac_objext conftstm.$ac_objext | 6983 mv conftest.$ac_objext conftstm.$ac_objext |
| 6970 lt_globsym_save_LIBS=$LIBS | 6984 lt_globsym_save_LIBS=$LIBS |
| 6971 lt_globsym_save_CFLAGS=$CFLAGS | 6985 lt_globsym_save_CFLAGS=$CFLAGS |
| 6972 » LIBS=conftstm.$ac_objext | 6986 » LIBS="conftstm.$ac_objext" |
| 6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 6987 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 | 6988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 |
| 6975 (eval $ac_link) 2>&5 | 6989 (eval $ac_link) 2>&5 |
| 6976 ac_status=$? | 6990 ac_status=$? |
| 6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6978 test $ac_status = 0; } && test -s conftest$ac_exeext; then | 6992 test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 6979 pipe_works=yes | 6993 pipe_works=yes |
| 6980 fi | 6994 fi |
| 6981 LIBS=$lt_globsym_save_LIBS | 6995 LIBS=$lt_globsym_save_LIBS |
| 6982 CFLAGS=$lt_globsym_save_CFLAGS | 6996 CFLAGS=$lt_globsym_save_CFLAGS |
| 6983 else | 6997 else |
| 6984 echo "cannot find nm_test_func in $nlist" >&5 | 6998 echo "cannot find nm_test_func in $nlist" >&5 |
| 6985 fi | 6999 fi |
| 6986 else | 7000 else |
| 6987 echo "cannot find nm_test_var in $nlist" >&5 | 7001 echo "cannot find nm_test_var in $nlist" >&5 |
| 6988 fi | 7002 fi |
| 6989 else | 7003 else |
| 6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 7004 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
| 6991 fi | 7005 fi |
| 6992 else | 7006 else |
| 6993 echo "$progname: failed program was:" >&5 | 7007 echo "$progname: failed program was:" >&5 |
| 6994 cat conftest.$ac_ext >&5 | 7008 cat conftest.$ac_ext >&5 |
| 6995 fi | 7009 fi |
| 6996 rm -rf conftest* conftst* | 7010 rm -rf conftest* conftst* |
| 6997 | 7011 |
| 6998 # Do not use the global_symbol_pipe unless it works. | 7012 # Do not use the global_symbol_pipe unless it works. |
| 6999 if test yes = "$pipe_works"; then | 7013 if test "$pipe_works" = yes; then |
| 7000 break | 7014 break |
| 7001 else | 7015 else |
| 7002 lt_cv_sys_global_symbol_pipe= | 7016 lt_cv_sys_global_symbol_pipe= |
| 7003 fi | 7017 fi |
| 7004 done | 7018 done |
| 7005 | 7019 |
| 7006 fi | 7020 fi |
| 7007 | 7021 |
| 7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then | 7022 if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 7009 lt_cv_sys_global_symbol_to_cdecl= | 7023 lt_cv_sys_global_symbol_to_cdecl= |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7042 | 7056 |
| 7043 | 7057 |
| 7044 | 7058 |
| 7045 | 7059 |
| 7046 | 7060 |
| 7047 | 7061 |
| 7048 | 7062 |
| 7049 | 7063 |
| 7050 | 7064 |
| 7051 | 7065 |
| 7052 | |
| 7053 | |
| 7054 | |
| 7055 | |
| 7056 | |
| 7057 | |
| 7058 | |
| 7059 | |
| 7060 | |
| 7061 | |
| 7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | 7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
| 7063 $as_echo_n "checking for sysroot... " >&6; } | 7067 $as_echo_n "checking for sysroot... " >&6; } |
| 7064 | 7068 |
| 7065 # Check whether --with-sysroot was given. | 7069 # Check whether --with-sysroot was given. |
| 7066 if test "${with_sysroot+set}" = set; then : | 7070 if test "${with_sysroot+set}" = set; then : |
| 7067 withval=$with_sysroot; | 7071 withval=$with_sysroot; |
| 7068 else | 7072 else |
| 7069 with_sysroot=no | 7073 with_sysroot=no |
| 7070 fi | 7074 fi |
| 7071 | 7075 |
| 7072 | 7076 |
| 7073 lt_sysroot= | 7077 lt_sysroot= |
| 7074 case $with_sysroot in #( | 7078 case ${with_sysroot} in #( |
| 7075 yes) | 7079 yes) |
| 7076 if test yes = "$GCC"; then | 7080 if test "$GCC" = yes; then |
| 7077 lt_sysroot=`$CC --print-sysroot 2>/dev/null` | 7081 lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 7078 fi | 7082 fi |
| 7079 ;; #( | 7083 ;; #( |
| 7080 /*) | 7084 /*) |
| 7081 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | 7085 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 7082 ;; #( | 7086 ;; #( |
| 7083 no|'') | 7087 no|'') |
| 7084 ;; #( | 7088 ;; #( |
| 7085 *) | 7089 *) |
| 7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 | 7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
| 7087 $as_echo "$with_sysroot" >&6; } | 7091 $as_echo "${with_sysroot}" >&6; } |
| 7088 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | 7092 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
| 7089 ;; | 7093 ;; |
| 7090 esac | 7094 esac |
| 7091 | 7095 |
| 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | 7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
| 7093 $as_echo "${lt_sysroot:-no}" >&6; } | 7097 $as_echo "${lt_sysroot:-no}" >&6; } |
| 7094 | 7098 |
| 7095 | 7099 |
| 7096 | 7100 |
| 7097 | 7101 |
| 7098 | 7102 |
| 7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 | |
| 7100 $as_echo_n "checking for a working dd... " >&6; } | |
| 7101 if ${ac_cv_path_lt_DD+:} false; then : | |
| 7102 $as_echo_n "(cached) " >&6 | |
| 7103 else | |
| 7104 printf 0123456789abcdef0123456789abcdef >conftest.i | |
| 7105 cat conftest.i conftest.i >conftest2.i | |
| 7106 : ${lt_DD:=$DD} | |
| 7107 if test -z "$lt_DD"; then | |
| 7108 ac_path_lt_DD_found=false | |
| 7109 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 7111 for as_dir in $PATH | |
| 7112 do | |
| 7113 IFS=$as_save_IFS | |
| 7114 test -z "$as_dir" && as_dir=. | |
| 7115 for ac_prog in dd; do | |
| 7116 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 7117 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" | |
| 7118 as_fn_executable_p "$ac_path_lt_DD" || continue | |
| 7119 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then | |
| 7120 cmp -s conftest.i conftest.out \ | |
| 7121 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: | |
| 7122 fi | |
| 7123 $ac_path_lt_DD_found && break 3 | |
| 7124 done | |
| 7125 done | |
| 7126 done | |
| 7127 IFS=$as_save_IFS | |
| 7128 if test -z "$ac_cv_path_lt_DD"; then | |
| 7129 : | |
| 7130 fi | |
| 7131 else | |
| 7132 ac_cv_path_lt_DD=$lt_DD | |
| 7133 fi | |
| 7134 | |
| 7135 rm -f conftest.i conftest2.i conftest.out | |
| 7136 fi | |
| 7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 | |
| 7138 $as_echo "$ac_cv_path_lt_DD" >&6; } | |
| 7139 | |
| 7140 | |
| 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes"
>&5 | |
| 7142 $as_echo_n "checking how to truncate binary pipes... " >&6; } | |
| 7143 if ${lt_cv_truncate_bin+:} false; then : | |
| 7144 $as_echo_n "(cached) " >&6 | |
| 7145 else | |
| 7146 printf 0123456789abcdef0123456789abcdef >conftest.i | |
| 7147 cat conftest.i conftest.i >conftest2.i | |
| 7148 lt_cv_truncate_bin= | |
| 7149 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; the
n | |
| 7150 cmp -s conftest.i conftest.out \ | |
| 7151 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" | |
| 7152 fi | |
| 7153 rm -f conftest.i conftest2.i conftest.out | |
| 7154 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" | |
| 7155 fi | |
| 7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 | |
| 7157 $as_echo "$lt_cv_truncate_bin" >&6; } | |
| 7158 | |
| 7159 | |
| 7160 | |
| 7161 | |
| 7162 | |
| 7163 | |
| 7164 | |
| 7165 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | |
| 7166 func_cc_basename () | |
| 7167 { | |
| 7168 for cc_temp in $*""; do | |
| 7169 case $cc_temp in | |
| 7170 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 7171 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 7172 \-*) ;; | |
| 7173 *) break;; | |
| 7174 esac | |
| 7175 done | |
| 7176 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%
"` | |
| 7177 } | |
| 7178 | |
| 7179 # Check whether --enable-libtool-lock was given. | 7103 # Check whether --enable-libtool-lock was given. |
| 7180 if test "${enable_libtool_lock+set}" = set; then : | 7104 if test "${enable_libtool_lock+set}" = set; then : |
| 7181 enableval=$enable_libtool_lock; | 7105 enableval=$enable_libtool_lock; |
| 7182 fi | 7106 fi |
| 7183 | 7107 |
| 7184 test no = "$enable_libtool_lock" || enable_libtool_lock=yes | 7108 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
| 7185 | 7109 |
| 7186 # Some flags need to be propagated to the compiler or linker for good | 7110 # Some flags need to be propagated to the compiler or linker for good |
| 7187 # libtool support. | 7111 # libtool support. |
| 7188 case $host in | 7112 case $host in |
| 7189 ia64-*-hpux*) | 7113 ia64-*-hpux*) |
| 7190 # Find out what ABI is being produced by ac_compile, and set mode | 7114 # Find out which ABI we are using. |
| 7191 # options accordingly. | |
| 7192 echo 'int i;' > conftest.$ac_ext | 7115 echo 'int i;' > conftest.$ac_ext |
| 7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 7116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7194 (eval $ac_compile) 2>&5 | 7117 (eval $ac_compile) 2>&5 |
| 7195 ac_status=$? | 7118 ac_status=$? |
| 7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7197 test $ac_status = 0; }; then | 7120 test $ac_status = 0; }; then |
| 7198 case `/usr/bin/file conftest.$ac_objext` in | 7121 case `/usr/bin/file conftest.$ac_objext` in |
| 7199 *ELF-32*) | 7122 *ELF-32*) |
| 7200 » HPUX_IA64_MODE=32 | 7123 » HPUX_IA64_MODE="32" |
| 7201 ;; | 7124 ;; |
| 7202 *ELF-64*) | 7125 *ELF-64*) |
| 7203 » HPUX_IA64_MODE=64 | 7126 » HPUX_IA64_MODE="64" |
| 7204 ;; | 7127 ;; |
| 7205 esac | 7128 esac |
| 7206 fi | 7129 fi |
| 7207 rm -rf conftest* | 7130 rm -rf conftest* |
| 7208 ;; | 7131 ;; |
| 7209 *-*-irix6*) | 7132 *-*-irix6*) |
| 7210 # Find out what ABI is being produced by ac_compile, and set linker | 7133 # Find out which ABI we are using. |
| 7211 # options accordingly. | |
| 7212 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | 7134 echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 7213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 7135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7214 (eval $ac_compile) 2>&5 | 7136 (eval $ac_compile) 2>&5 |
| 7215 ac_status=$? | 7137 ac_status=$? |
| 7216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7217 test $ac_status = 0; }; then | 7139 test $ac_status = 0; }; then |
| 7218 if test yes = "$lt_cv_prog_gnu_ld"; then | 7140 if test "$lt_cv_prog_gnu_ld" = yes; then |
| 7219 case `/usr/bin/file conftest.$ac_objext` in | 7141 case `/usr/bin/file conftest.$ac_objext` in |
| 7220 *32-bit*) | 7142 *32-bit*) |
| 7221 LD="${LD-ld} -melf32bsmip" | 7143 LD="${LD-ld} -melf32bsmip" |
| 7222 ;; | 7144 ;; |
| 7223 *N32*) | 7145 *N32*) |
| 7224 LD="${LD-ld} -melf32bmipn32" | 7146 LD="${LD-ld} -melf32bmipn32" |
| 7225 ;; | 7147 ;; |
| 7226 *64-bit*) | 7148 *64-bit*) |
| 7227 LD="${LD-ld} -melf64bmip" | 7149 LD="${LD-ld} -melf64bmip" |
| 7228 ;; | 7150 ;; |
| 7229 esac | 7151 esac |
| 7230 else | 7152 else |
| 7231 case `/usr/bin/file conftest.$ac_objext` in | 7153 case `/usr/bin/file conftest.$ac_objext` in |
| 7232 *32-bit*) | 7154 *32-bit*) |
| 7233 LD="${LD-ld} -32" | 7155 LD="${LD-ld} -32" |
| 7234 ;; | 7156 ;; |
| 7235 *N32*) | 7157 *N32*) |
| 7236 LD="${LD-ld} -n32" | 7158 LD="${LD-ld} -n32" |
| 7237 ;; | 7159 ;; |
| 7238 *64-bit*) | 7160 *64-bit*) |
| 7239 LD="${LD-ld} -64" | 7161 LD="${LD-ld} -64" |
| 7240 ;; | 7162 ;; |
| 7241 esac | 7163 esac |
| 7242 fi | 7164 fi |
| 7243 fi | 7165 fi |
| 7244 rm -rf conftest* | 7166 rm -rf conftest* |
| 7245 ;; | 7167 ;; |
| 7246 | 7168 |
| 7247 mips64*-*linux*) | |
| 7248 # Find out what ABI is being produced by ac_compile, and set linker | |
| 7249 # options accordingly. | |
| 7250 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
| 7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
| 7252 (eval $ac_compile) 2>&5 | |
| 7253 ac_status=$? | |
| 7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 7255 test $ac_status = 0; }; then | |
| 7256 emul=elf | |
| 7257 case `/usr/bin/file conftest.$ac_objext` in | |
| 7258 *32-bit*) | |
| 7259 emul="${emul}32" | |
| 7260 ;; | |
| 7261 *64-bit*) | |
| 7262 emul="${emul}64" | |
| 7263 ;; | |
| 7264 esac | |
| 7265 case `/usr/bin/file conftest.$ac_objext` in | |
| 7266 *MSB*) | |
| 7267 emul="${emul}btsmip" | |
| 7268 ;; | |
| 7269 *LSB*) | |
| 7270 emul="${emul}ltsmip" | |
| 7271 ;; | |
| 7272 esac | |
| 7273 case `/usr/bin/file conftest.$ac_objext` in | |
| 7274 *N32*) | |
| 7275 emul="${emul}n32" | |
| 7276 ;; | |
| 7277 esac | |
| 7278 LD="${LD-ld} -m $emul" | |
| 7279 fi | |
| 7280 rm -rf conftest* | |
| 7281 ;; | |
| 7282 | |
| 7283 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | 7169 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 7284 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 7170 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 7285 # Find out what ABI is being produced by ac_compile, and set linker | 7171 # Find out which ABI we are using. |
| 7286 # options accordingly. Note that the listed cases only cover the | |
| 7287 # situations where additional linker options are needed (such as when | |
| 7288 # doing 32-bit compilation for a host where ld defaults to 64-bit, or | |
| 7289 # vice versa); the common cases where no linker options are needed do | |
| 7290 # not appear in the list. | |
| 7291 echo 'int i;' > conftest.$ac_ext | 7172 echo 'int i;' > conftest.$ac_ext |
| 7292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 7173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7293 (eval $ac_compile) 2>&5 | 7174 (eval $ac_compile) 2>&5 |
| 7294 ac_status=$? | 7175 ac_status=$? |
| 7295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7296 test $ac_status = 0; }; then | 7177 test $ac_status = 0; }; then |
| 7297 case `/usr/bin/file conftest.o` in | 7178 case `/usr/bin/file conftest.o` in |
| 7298 *32-bit*) | 7179 *32-bit*) |
| 7299 case $host in | 7180 case $host in |
| 7300 x86_64-*kfreebsd*-gnu) | 7181 x86_64-*kfreebsd*-gnu) |
| 7301 LD="${LD-ld} -m elf_i386_fbsd" | 7182 LD="${LD-ld} -m elf_i386_fbsd" |
| 7302 ;; | 7183 ;; |
| 7303 x86_64-*linux*) | 7184 x86_64-*linux*) |
| 7304 case `/usr/bin/file conftest.o` in | 7185 case `/usr/bin/file conftest.o` in |
| 7305 *x86-64*) | 7186 *x86-64*) |
| 7306 LD="${LD-ld} -m elf32_x86_64" | 7187 LD="${LD-ld} -m elf32_x86_64" |
| 7307 ;; | 7188 ;; |
| 7308 *) | 7189 *) |
| 7309 LD="${LD-ld} -m elf_i386" | 7190 LD="${LD-ld} -m elf_i386" |
| 7310 ;; | 7191 ;; |
| 7311 esac | 7192 esac |
| 7312 ;; | 7193 ;; |
| 7313 » powerpc64le-*linux*) | 7194 » powerpc64le-*) |
| 7314 LD="${LD-ld} -m elf32lppclinux" | 7195 LD="${LD-ld} -m elf32lppclinux" |
| 7315 ;; | 7196 ;; |
| 7316 » powerpc64-*linux*) | 7197 » powerpc64-*) |
| 7317 LD="${LD-ld} -m elf32ppclinux" | 7198 LD="${LD-ld} -m elf32ppclinux" |
| 7318 ;; | 7199 ;; |
| 7319 s390x-*linux*) | 7200 s390x-*linux*) |
| 7320 LD="${LD-ld} -m elf_s390" | 7201 LD="${LD-ld} -m elf_s390" |
| 7321 ;; | 7202 ;; |
| 7322 sparc64-*linux*) | 7203 sparc64-*linux*) |
| 7323 LD="${LD-ld} -m elf32_sparc" | 7204 LD="${LD-ld} -m elf32_sparc" |
| 7324 ;; | 7205 ;; |
| 7325 esac | 7206 esac |
| 7326 ;; | 7207 ;; |
| 7327 *64-bit*) | 7208 *64-bit*) |
| 7328 case $host in | 7209 case $host in |
| 7329 x86_64-*kfreebsd*-gnu) | 7210 x86_64-*kfreebsd*-gnu) |
| 7330 LD="${LD-ld} -m elf_x86_64_fbsd" | 7211 LD="${LD-ld} -m elf_x86_64_fbsd" |
| 7331 ;; | 7212 ;; |
| 7332 x86_64-*linux*) | 7213 x86_64-*linux*) |
| 7333 LD="${LD-ld} -m elf_x86_64" | 7214 LD="${LD-ld} -m elf_x86_64" |
| 7334 ;; | 7215 ;; |
| 7335 » powerpcle-*linux*) | 7216 » powerpcle-*) |
| 7336 LD="${LD-ld} -m elf64lppc" | 7217 LD="${LD-ld} -m elf64lppc" |
| 7337 ;; | 7218 ;; |
| 7338 » powerpc-*linux*) | 7219 » powerpc-*) |
| 7339 LD="${LD-ld} -m elf64ppc" | 7220 LD="${LD-ld} -m elf64ppc" |
| 7340 ;; | 7221 ;; |
| 7341 s390*-*linux*|s390*-*tpf*) | 7222 s390*-*linux*|s390*-*tpf*) |
| 7342 LD="${LD-ld} -m elf64_s390" | 7223 LD="${LD-ld} -m elf64_s390" |
| 7343 ;; | 7224 ;; |
| 7344 sparc*-*linux*) | 7225 sparc*-*linux*) |
| 7345 LD="${LD-ld} -m elf64_sparc" | 7226 LD="${LD-ld} -m elf64_sparc" |
| 7346 ;; | 7227 ;; |
| 7347 esac | 7228 esac |
| 7348 ;; | 7229 ;; |
| 7349 esac | 7230 esac |
| 7350 fi | 7231 fi |
| 7351 rm -rf conftest* | 7232 rm -rf conftest* |
| 7352 ;; | 7233 ;; |
| 7353 | 7234 |
| 7354 *-*-sco3.2v5*) | 7235 *-*-sco3.2v5*) |
| 7355 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 7236 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 7356 SAVE_CFLAGS=$CFLAGS | 7237 SAVE_CFLAGS="$CFLAGS" |
| 7357 CFLAGS="$CFLAGS -belf" | 7238 CFLAGS="$CFLAGS -belf" |
| 7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5 | 7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5 |
| 7359 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | 7240 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 7360 if ${lt_cv_cc_needs_belf+:} false; then : | 7241 if ${lt_cv_cc_needs_belf+:} false; then : |
| 7361 $as_echo_n "(cached) " >&6 | 7242 $as_echo_n "(cached) " >&6 |
| 7362 else | 7243 else |
| 7363 ac_ext=c | 7244 ac_ext=c |
| 7364 ac_cpp='$CPP $CPPFLAGS' | 7245 ac_cpp='$CPP $CPPFLAGS' |
| 7365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 7246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 7247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| (...skipping 19 matching lines...) Expand all Loading... |
| 7386 conftest$ac_exeext conftest.$ac_ext | 7267 conftest$ac_exeext conftest.$ac_ext |
| 7387 ac_ext=c | 7268 ac_ext=c |
| 7388 ac_cpp='$CPP $CPPFLAGS' | 7269 ac_cpp='$CPP $CPPFLAGS' |
| 7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 7270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 7271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 7272 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7392 | 7273 |
| 7393 fi | 7274 fi |
| 7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | 7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7395 $as_echo "$lt_cv_cc_needs_belf" >&6; } | 7276 $as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 7396 if test yes != "$lt_cv_cc_needs_belf"; then | 7277 if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 7397 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 7278 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 7398 CFLAGS=$SAVE_CFLAGS | 7279 CFLAGS="$SAVE_CFLAGS" |
| 7399 fi | 7280 fi |
| 7400 ;; | 7281 ;; |
| 7401 *-*solaris*) | 7282 *-*solaris*) |
| 7402 # Find out what ABI is being produced by ac_compile, and set linker | 7283 # Find out which ABI we are using. |
| 7403 # options accordingly. | |
| 7404 echo 'int i;' > conftest.$ac_ext | 7284 echo 'int i;' > conftest.$ac_ext |
| 7405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 7285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7406 (eval $ac_compile) 2>&5 | 7286 (eval $ac_compile) 2>&5 |
| 7407 ac_status=$? | 7287 ac_status=$? |
| 7408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7409 test $ac_status = 0; }; then | 7289 test $ac_status = 0; }; then |
| 7410 case `/usr/bin/file conftest.o` in | 7290 case `/usr/bin/file conftest.o` in |
| 7411 *64-bit*) | 7291 *64-bit*) |
| 7412 case $lt_cv_prog_gnu_ld in | 7292 case $lt_cv_prog_gnu_ld in |
| 7413 yes*) | 7293 yes*) |
| 7414 case $host in | 7294 case $host in |
| 7415 i?86-*-solaris*|x86_64-*-solaris*) | 7295 i?86-*-solaris*) |
| 7416 LD="${LD-ld} -m elf_x86_64" | 7296 LD="${LD-ld} -m elf_x86_64" |
| 7417 ;; | 7297 ;; |
| 7418 sparc*-*-solaris*) | 7298 sparc*-*-solaris*) |
| 7419 LD="${LD-ld} -m elf64_sparc" | 7299 LD="${LD-ld} -m elf64_sparc" |
| 7420 ;; | 7300 ;; |
| 7421 esac | 7301 esac |
| 7422 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | 7302 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7423 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | 7303 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 7424 LD=${LD-ld}_sol2 | 7304 LD="${LD-ld}_sol2" |
| 7425 fi | 7305 fi |
| 7426 ;; | 7306 ;; |
| 7427 *) | 7307 *) |
| 7428 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | 7308 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 7429 LD="${LD-ld} -64" | 7309 LD="${LD-ld} -64" |
| 7430 fi | 7310 fi |
| 7431 ;; | 7311 ;; |
| 7432 esac | 7312 esac |
| 7433 ;; | 7313 ;; |
| 7434 esac | 7314 esac |
| 7435 fi | 7315 fi |
| 7436 rm -rf conftest* | 7316 rm -rf conftest* |
| 7437 ;; | 7317 ;; |
| 7438 esac | 7318 esac |
| 7439 | 7319 |
| 7440 need_locks=$enable_libtool_lock | 7320 need_locks="$enable_libtool_lock" |
| 7441 | 7321 |
| 7442 if test -n "$ac_tool_prefix"; then | 7322 if test -n "$ac_tool_prefix"; then |
| 7443 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name
with args. | 7323 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name
with args. |
| 7444 set dummy ${ac_tool_prefix}mt; ac_word=$2 | 7324 set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7446 $as_echo_n "checking for $ac_word... " >&6; } | 7326 $as_echo_n "checking for $ac_word... " >&6; } |
| 7447 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | 7327 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 7448 $as_echo_n "(cached) " >&6 | 7328 $as_echo_n "(cached) " >&6 |
| 7449 else | 7329 else |
| 7450 if test -n "$MANIFEST_TOOL"; then | 7330 if test -n "$MANIFEST_TOOL"; then |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7541 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | 7421 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 7542 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | 7422 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 7543 cat conftest.err >&5 | 7423 cat conftest.err >&5 |
| 7544 if $GREP 'Manifest Tool' conftest.out > /dev/null; then | 7424 if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 7545 lt_cv_path_mainfest_tool=yes | 7425 lt_cv_path_mainfest_tool=yes |
| 7546 fi | 7426 fi |
| 7547 rm -f conftest* | 7427 rm -f conftest* |
| 7548 fi | 7428 fi |
| 7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | 7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 7550 $as_echo "$lt_cv_path_mainfest_tool" >&6; } | 7430 $as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 7551 if test yes != "$lt_cv_path_mainfest_tool"; then | 7431 if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 7552 MANIFEST_TOOL=: | 7432 MANIFEST_TOOL=: |
| 7553 fi | 7433 fi |
| 7554 | 7434 |
| 7555 | 7435 |
| 7556 | 7436 |
| 7557 | 7437 |
| 7558 | 7438 |
| 7559 | 7439 |
| 7560 case $host_os in | 7440 case $host_os in |
| 7561 rhapsody* | darwin*) | 7441 rhapsody* | darwin*) |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8044 | 7924 |
| 8045 | 7925 |
| 8046 | 7926 |
| 8047 | 7927 |
| 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker
flag" >&5 | 7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker
flag" >&5 |
| 8049 $as_echo_n "checking for -single_module linker flag... " >&6; } | 7929 $as_echo_n "checking for -single_module linker flag... " >&6; } |
| 8050 if ${lt_cv_apple_cc_single_mod+:} false; then : | 7930 if ${lt_cv_apple_cc_single_mod+:} false; then : |
| 8051 $as_echo_n "(cached) " >&6 | 7931 $as_echo_n "(cached) " >&6 |
| 8052 else | 7932 else |
| 8053 lt_cv_apple_cc_single_mod=no | 7933 lt_cv_apple_cc_single_mod=no |
| 8054 if test -z "$LT_MULTI_MODULE"; then | 7934 if test -z "${LT_MULTI_MODULE}"; then |
| 8055 # By default we will add the -single_module flag. You can override | 7935 # By default we will add the -single_module flag. You can override |
| 8056 # by either setting the environment variable LT_MULTI_MODULE | 7936 # by either setting the environment variable LT_MULTI_MODULE |
| 8057 # non-empty at configure time, or by adding -multi_module to the | 7937 # non-empty at configure time, or by adding -multi_module to the |
| 8058 # link flags. | 7938 # link flags. |
| 8059 rm -rf libconftest.dylib* | 7939 rm -rf libconftest.dylib* |
| 8060 echo "int foo(void){return 1;}" > conftest.c | 7940 echo "int foo(void){return 1;}" > conftest.c |
| 8061 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 7941 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 8062 -dynamiclib -Wl,-single_module conftest.c" >&5 | 7942 -dynamiclib -Wl,-single_module conftest.c" >&5 |
| 8063 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 7943 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 8064 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | 7944 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 8065 _lt_result=$? | 7945 _lt_result=$? |
| 8066 # If there is a non-empty error log, and "single_module" | 7946 # If there is a non-empty error log, and "single_module" |
| 8067 # appears in it, assume the flag caused a linker warning | 7947 # appears in it, assume the flag caused a linker warning |
| 8068 if test -s conftest.err && $GREP single_module conftest.err; then | 7948 if test -s conftest.err && $GREP single_module conftest.err; then |
| 8069 cat conftest.err >&5 | 7949 cat conftest.err >&5 |
| 8070 # Otherwise, if the output was created with a 0 exit code from | 7950 # Otherwise, if the output was created with a 0 exit code from |
| 8071 # the compiler, it worked. | 7951 # the compiler, it worked. |
| 8072 » elif test -f libconftest.dylib && test 0 = "$_lt_result"; then | 7952 » elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
| 8073 lt_cv_apple_cc_single_mod=yes | 7953 lt_cv_apple_cc_single_mod=yes |
| 8074 else | 7954 else |
| 8075 cat conftest.err >&5 | 7955 cat conftest.err >&5 |
| 8076 fi | 7956 fi |
| 8077 rm -rf libconftest.dylib* | 7957 rm -rf libconftest.dylib* |
| 8078 rm -f conftest.* | 7958 rm -f conftest.* |
| 8079 fi | 7959 fi |
| 8080 fi | 7960 fi |
| 8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | 7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
| 8082 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | 7962 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 8101 return 0; | 7981 return 0; |
| 8102 } | 7982 } |
| 8103 _ACEOF | 7983 _ACEOF |
| 8104 if ac_fn_c_try_link "$LINENO"; then : | 7984 if ac_fn_c_try_link "$LINENO"; then : |
| 8105 lt_cv_ld_exported_symbols_list=yes | 7985 lt_cv_ld_exported_symbols_list=yes |
| 8106 else | 7986 else |
| 8107 lt_cv_ld_exported_symbols_list=no | 7987 lt_cv_ld_exported_symbols_list=no |
| 8108 fi | 7988 fi |
| 8109 rm -f core conftest.err conftest.$ac_objext \ | 7989 rm -f core conftest.err conftest.$ac_objext \ |
| 8110 conftest$ac_exeext conftest.$ac_ext | 7990 conftest$ac_exeext conftest.$ac_ext |
| 8111 » LDFLAGS=$save_LDFLAGS | 7991 » LDFLAGS="$save_LDFLAGS" |
| 8112 | 7992 |
| 8113 fi | 7993 fi |
| 8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list
" >&5 | 7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list
" >&5 |
| 8115 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | 7995 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
| 8116 | 7996 |
| 8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla
g" >&5 | 7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla
g" >&5 |
| 8118 $as_echo_n "checking for -force_load linker flag... " >&6; } | 7998 $as_echo_n "checking for -force_load linker flag... " >&6; } |
| 8119 if ${lt_cv_ld_force_load+:} false; then : | 7999 if ${lt_cv_ld_force_load+:} false; then : |
| 8120 $as_echo_n "(cached) " >&6 | 8000 $as_echo_n "(cached) " >&6 |
| 8121 else | 8001 else |
| 8122 lt_cv_ld_force_load=no | 8002 lt_cv_ld_force_load=no |
| 8123 cat > conftest.c << _LT_EOF | 8003 cat > conftest.c << _LT_EOF |
| 8124 int forced_loaded() { return 2;} | 8004 int forced_loaded() { return 2;} |
| 8125 _LT_EOF | 8005 _LT_EOF |
| 8126 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | 8006 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
| 8127 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | 8007 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
| 8128 echo "$AR cru libconftest.a conftest.o" >&5 | 8008 echo "$AR cru libconftest.a conftest.o" >&5 |
| 8129 $AR cru libconftest.a conftest.o 2>&5 | 8009 $AR cru libconftest.a conftest.o 2>&5 |
| 8130 echo "$RANLIB libconftest.a" >&5 | 8010 echo "$RANLIB libconftest.a" >&5 |
| 8131 $RANLIB libconftest.a 2>&5 | 8011 $RANLIB libconftest.a 2>&5 |
| 8132 cat > conftest.c << _LT_EOF | 8012 cat > conftest.c << _LT_EOF |
| 8133 int main() { return 0;} | 8013 int main() { return 0;} |
| 8134 _LT_EOF | 8014 _LT_EOF |
| 8135 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&5 | 8015 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&5 |
| 8136 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err | 8016 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err |
| 8137 _lt_result=$? | 8017 _lt_result=$? |
| 8138 if test -s conftest.err && $GREP force_load conftest.err; then | 8018 if test -s conftest.err && $GREP force_load conftest.err; then |
| 8139 cat conftest.err >&5 | 8019 cat conftest.err >&5 |
| 8140 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conft
est >/dev/null 2>&1; then | 8020 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conft
est >/dev/null 2>&1 ; then |
| 8141 lt_cv_ld_force_load=yes | 8021 lt_cv_ld_force_load=yes |
| 8142 else | 8022 else |
| 8143 cat conftest.err >&5 | 8023 cat conftest.err >&5 |
| 8144 fi | 8024 fi |
| 8145 rm -f conftest.err libconftest.a conftest conftest.c | 8025 rm -f conftest.err libconftest.a conftest conftest.c |
| 8146 rm -rf conftest.dSYM | 8026 rm -rf conftest.dSYM |
| 8147 | 8027 |
| 8148 fi | 8028 fi |
| 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
| 8150 $as_echo "$lt_cv_ld_force_load" >&6; } | 8030 $as_echo "$lt_cv_ld_force_load" >&6; } |
| 8151 case $host_os in | 8031 case $host_os in |
| 8152 rhapsody* | darwin1.[012]) | 8032 rhapsody* | darwin1.[012]) |
| 8153 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; | 8033 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 8154 darwin1.*) | 8034 darwin1.*) |
| 8155 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;
; | 8035 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres
s' ;; |
| 8156 darwin*) # darwin 5.x on | 8036 darwin*) # darwin 5.x on |
| 8157 # if running on 10.5 or later, the deployment target defaults | 8037 # if running on 10.5 or later, the deployment target defaults |
| 8158 # to the OS version, if on x86, and 10.4, the deployment | 8038 # to the OS version, if on x86, and 10.4, the deployment |
| 8159 # target defaults to 10.4. Don't you love it? | 8039 # target defaults to 10.4. Don't you love it? |
| 8160 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 8040 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 8161 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | 8041 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 8162 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; | 8042 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 8163 » 10.[012][,.]*) | 8043 » 10.[012]*) |
| 8164 » _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppres
s' ;; | 8044 » _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup
press' ;; |
| 8165 10.*) | 8045 10.*) |
| 8166 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; | 8046 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 8167 esac | 8047 esac |
| 8168 ;; | 8048 ;; |
| 8169 esac | 8049 esac |
| 8170 if test yes = "$lt_cv_apple_cc_single_mod"; then | 8050 if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
| 8171 _lt_dar_single_mod='$single_module' | 8051 _lt_dar_single_mod='$single_module' |
| 8172 fi | 8052 fi |
| 8173 if test yes = "$lt_cv_ld_exported_symbols_list"; then | 8053 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 8174 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-sy
mbols.expsym' | 8054 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' |
| 8175 else | 8055 else |
| 8176 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $l
ib' | 8056 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym
${lib}' |
| 8177 fi | 8057 fi |
| 8178 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then | 8058 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 8179 _lt_dsymutil='~$DSYMUTIL $lib || :' | 8059 _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 8180 else | 8060 else |
| 8181 _lt_dsymutil= | 8061 _lt_dsymutil= |
| 8182 fi | 8062 fi |
| 8183 ;; | 8063 ;; |
| 8184 esac | 8064 esac |
| 8185 | 8065 |
| 8186 # func_munge_path_list VARIABLE PATH | |
| 8187 # ----------------------------------- | |
| 8188 # VARIABLE is name of variable containing _space_ separated list of | |
| 8189 # directories to be munged by the contents of PATH, which is string | |
| 8190 # having a format: | |
| 8191 # "DIR[:DIR]:" | |
| 8192 # string "DIR[ DIR]" will be prepended to VARIABLE | |
| 8193 # ":DIR[:DIR]" | |
| 8194 # string "DIR[ DIR]" will be appended to VARIABLE | |
| 8195 # "DIRP[:DIRP]::[DIRA:]DIRA" | |
| 8196 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string | |
| 8197 # "DIRA[ DIRA]" will be appended to VARIABLE | |
| 8198 # "DIR[:DIR]" | |
| 8199 # VARIABLE will be replaced by "DIR[ DIR]" | |
| 8200 func_munge_path_list () | |
| 8201 { | |
| 8202 case x$2 in | |
| 8203 x) | |
| 8204 ;; | |
| 8205 *:) | |
| 8206 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" | |
| 8207 ;; | |
| 8208 x:*) | |
| 8209 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" | |
| 8210 ;; | |
| 8211 *::*) | |
| 8212 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" | |
| 8213 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" | |
| 8214 ;; | |
| 8215 *) | |
| 8216 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" | |
| 8217 ;; | |
| 8218 esac | |
| 8219 } | |
| 8220 | |
| 8221 | 8066 |
| 8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 8223 $as_echo_n "checking for ANSI C header files... " >&6; } | 8068 $as_echo_n "checking for ANSI C header files... " >&6; } |
| 8224 if ${ac_cv_header_stdc+:} false; then : | 8069 if ${ac_cv_header_stdc+:} false; then : |
| 8225 $as_echo_n "(cached) " >&6 | 8070 $as_echo_n "(cached) " >&6 |
| 8226 else | 8071 else |
| 8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8228 /* end confdefs.h. */ | 8073 /* end confdefs.h. */ |
| 8229 #include <stdlib.h> | 8074 #include <stdlib.h> |
| 8230 #include <stdarg.h> | 8075 #include <stdarg.h> |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8377 | 8222 |
| 8378 # Check whether --enable-shared was given. | 8223 # Check whether --enable-shared was given. |
| 8379 if test "${enable_shared+set}" = set; then : | 8224 if test "${enable_shared+set}" = set; then : |
| 8380 enableval=$enable_shared; p=${PACKAGE-default} | 8225 enableval=$enable_shared; p=${PACKAGE-default} |
| 8381 case $enableval in | 8226 case $enableval in |
| 8382 yes) enable_shared=yes ;; | 8227 yes) enable_shared=yes ;; |
| 8383 no) enable_shared=no ;; | 8228 no) enable_shared=no ;; |
| 8384 *) | 8229 *) |
| 8385 enable_shared=no | 8230 enable_shared=no |
| 8386 # Look at the argument we got. We use all the common list separators. | 8231 # Look at the argument we got. We use all the common list separators. |
| 8387 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | 8232 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8388 for pkg in $enableval; do | 8233 for pkg in $enableval; do |
| 8389 » IFS=$lt_save_ifs | 8234 » IFS="$lt_save_ifs" |
| 8390 if test "X$pkg" = "X$p"; then | 8235 if test "X$pkg" = "X$p"; then |
| 8391 enable_shared=yes | 8236 enable_shared=yes |
| 8392 fi | 8237 fi |
| 8393 done | 8238 done |
| 8394 IFS=$lt_save_ifs | 8239 IFS="$lt_save_ifs" |
| 8395 ;; | 8240 ;; |
| 8396 esac | 8241 esac |
| 8397 else | 8242 else |
| 8398 enable_shared=yes | 8243 enable_shared=yes |
| 8399 fi | 8244 fi |
| 8400 | 8245 |
| 8401 | 8246 |
| 8402 | 8247 |
| 8403 | 8248 |
| 8404 | 8249 |
| 8405 | 8250 |
| 8406 | 8251 |
| 8407 | 8252 |
| 8408 | 8253 |
| 8409 # Check whether --enable-static was given. | 8254 # Check whether --enable-static was given. |
| 8410 if test "${enable_static+set}" = set; then : | 8255 if test "${enable_static+set}" = set; then : |
| 8411 enableval=$enable_static; p=${PACKAGE-default} | 8256 enableval=$enable_static; p=${PACKAGE-default} |
| 8412 case $enableval in | 8257 case $enableval in |
| 8413 yes) enable_static=yes ;; | 8258 yes) enable_static=yes ;; |
| 8414 no) enable_static=no ;; | 8259 no) enable_static=no ;; |
| 8415 *) | 8260 *) |
| 8416 enable_static=no | 8261 enable_static=no |
| 8417 # Look at the argument we got. We use all the common list separators. | 8262 # Look at the argument we got. We use all the common list separators. |
| 8418 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | 8263 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8419 for pkg in $enableval; do | 8264 for pkg in $enableval; do |
| 8420 » IFS=$lt_save_ifs | 8265 » IFS="$lt_save_ifs" |
| 8421 if test "X$pkg" = "X$p"; then | 8266 if test "X$pkg" = "X$p"; then |
| 8422 enable_static=yes | 8267 enable_static=yes |
| 8423 fi | 8268 fi |
| 8424 done | 8269 done |
| 8425 IFS=$lt_save_ifs | 8270 IFS="$lt_save_ifs" |
| 8426 ;; | 8271 ;; |
| 8427 esac | 8272 esac |
| 8428 else | 8273 else |
| 8429 enable_static=yes | 8274 enable_static=yes |
| 8430 fi | 8275 fi |
| 8431 | 8276 |
| 8432 | 8277 |
| 8433 | 8278 |
| 8434 | 8279 |
| 8435 | 8280 |
| 8436 | 8281 |
| 8437 | 8282 |
| 8438 | 8283 |
| 8439 | 8284 |
| 8440 | 8285 |
| 8441 # Check whether --with-pic was given. | 8286 # Check whether --with-pic was given. |
| 8442 if test "${with_pic+set}" = set; then : | 8287 if test "${with_pic+set}" = set; then : |
| 8443 withval=$with_pic; lt_p=${PACKAGE-default} | 8288 withval=$with_pic; lt_p=${PACKAGE-default} |
| 8444 case $withval in | 8289 case $withval in |
| 8445 yes|no) pic_mode=$withval ;; | 8290 yes|no) pic_mode=$withval ;; |
| 8446 *) | 8291 *) |
| 8447 pic_mode=default | 8292 pic_mode=default |
| 8448 # Look at the argument we got. We use all the common list separators. | 8293 # Look at the argument we got. We use all the common list separators. |
| 8449 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | 8294 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8450 for lt_pkg in $withval; do | 8295 for lt_pkg in $withval; do |
| 8451 » IFS=$lt_save_ifs | 8296 » IFS="$lt_save_ifs" |
| 8452 if test "X$lt_pkg" = "X$lt_p"; then | 8297 if test "X$lt_pkg" = "X$lt_p"; then |
| 8453 pic_mode=yes | 8298 pic_mode=yes |
| 8454 fi | 8299 fi |
| 8455 done | 8300 done |
| 8456 IFS=$lt_save_ifs | 8301 IFS="$lt_save_ifs" |
| 8457 ;; | 8302 ;; |
| 8458 esac | 8303 esac |
| 8459 else | 8304 else |
| 8460 pic_mode=default | 8305 pic_mode=default |
| 8461 fi | 8306 fi |
| 8462 | 8307 |
| 8463 | 8308 |
| 8309 test -z "$pic_mode" && pic_mode=default |
| 8310 |
| 8311 |
| 8464 | 8312 |
| 8465 | 8313 |
| 8466 | |
| 8467 | 8314 |
| 8468 | 8315 |
| 8469 | 8316 |
| 8470 # Check whether --enable-fast-install was given. | 8317 # Check whether --enable-fast-install was given. |
| 8471 if test "${enable_fast_install+set}" = set; then : | 8318 if test "${enable_fast_install+set}" = set; then : |
| 8472 enableval=$enable_fast_install; p=${PACKAGE-default} | 8319 enableval=$enable_fast_install; p=${PACKAGE-default} |
| 8473 case $enableval in | 8320 case $enableval in |
| 8474 yes) enable_fast_install=yes ;; | 8321 yes) enable_fast_install=yes ;; |
| 8475 no) enable_fast_install=no ;; | 8322 no) enable_fast_install=no ;; |
| 8476 *) | 8323 *) |
| 8477 enable_fast_install=no | 8324 enable_fast_install=no |
| 8478 # Look at the argument we got. We use all the common list separators. | 8325 # Look at the argument we got. We use all the common list separators. |
| 8479 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | 8326 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 8480 for pkg in $enableval; do | 8327 for pkg in $enableval; do |
| 8481 » IFS=$lt_save_ifs | 8328 » IFS="$lt_save_ifs" |
| 8482 if test "X$pkg" = "X$p"; then | 8329 if test "X$pkg" = "X$p"; then |
| 8483 enable_fast_install=yes | 8330 enable_fast_install=yes |
| 8484 fi | 8331 fi |
| 8485 done | 8332 done |
| 8486 IFS=$lt_save_ifs | 8333 IFS="$lt_save_ifs" |
| 8487 ;; | 8334 ;; |
| 8488 esac | 8335 esac |
| 8489 else | 8336 else |
| 8490 enable_fast_install=yes | 8337 enable_fast_install=yes |
| 8491 fi | 8338 fi |
| 8492 | 8339 |
| 8493 | 8340 |
| 8494 | 8341 |
| 8495 | 8342 |
| 8496 | 8343 |
| 8497 | 8344 |
| 8498 | 8345 |
| 8499 | 8346 |
| 8500 shared_archive_member_spec= | |
| 8501 case $host,$enable_shared in | |
| 8502 power*-*-aix[5-9]*,yes) | |
| 8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared libr
ary versioning to provide" >&5 | |
| 8504 $as_echo_n "checking which variant of shared library versioning to provide... "
>&6; } | |
| 8505 | |
| 8506 # Check whether --with-aix-soname was given. | |
| 8507 if test "${with_aix_soname+set}" = set; then : | |
| 8508 withval=$with_aix_soname; case $withval in | |
| 8509 aix|svr4|both) | |
| 8510 ;; | |
| 8511 *) | |
| 8512 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 | |
| 8513 ;; | |
| 8514 esac | |
| 8515 lt_cv_with_aix_soname=$with_aix_soname | |
| 8516 else | |
| 8517 if ${lt_cv_with_aix_soname+:} false; then : | |
| 8518 $as_echo_n "(cached) " >&6 | |
| 8519 else | |
| 8520 lt_cv_with_aix_soname=aix | |
| 8521 fi | |
| 8522 | |
| 8523 with_aix_soname=$lt_cv_with_aix_soname | |
| 8524 fi | |
| 8525 | |
| 8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 | |
| 8527 $as_echo "$with_aix_soname" >&6; } | |
| 8528 if test aix != "$with_aix_soname"; then | |
| 8529 # For the AIX way of multilib, we name the shared archive member | |
| 8530 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', | |
| 8531 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. | |
| 8532 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, | |
| 8533 # the AIX toolchain works better with OBJECT_MODE set (default 32). | |
| 8534 if test 64 = "${OBJECT_MODE-32}"; then | |
| 8535 shared_archive_member_spec=shr_64 | |
| 8536 else | |
| 8537 shared_archive_member_spec=shr | |
| 8538 fi | |
| 8539 fi | |
| 8540 ;; | |
| 8541 *) | |
| 8542 with_aix_soname=aix | |
| 8543 ;; | |
| 8544 esac | |
| 8545 | |
| 8546 | |
| 8547 | |
| 8548 | |
| 8549 | |
| 8550 | |
| 8551 | |
| 8552 | 8347 |
| 8553 | 8348 |
| 8554 | 8349 |
| 8555 # This can be used to rebuild libtool when needed | 8350 # This can be used to rebuild libtool when needed |
| 8556 LIBTOOL_DEPS=$ltmain | 8351 LIBTOOL_DEPS="$ltmain" |
| 8557 | 8352 |
| 8558 # Always use our own libtool. | 8353 # Always use our own libtool. |
| 8559 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 8354 LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 8560 | 8355 |
| 8561 | 8356 |
| 8562 | 8357 |
| 8563 | 8358 |
| 8564 | 8359 |
| 8565 | 8360 |
| 8566 | 8361 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 8595 | 8390 |
| 8596 | 8391 |
| 8597 | 8392 |
| 8598 | 8393 |
| 8599 | 8394 |
| 8600 | 8395 |
| 8601 | 8396 |
| 8602 | 8397 |
| 8603 | 8398 |
| 8604 | 8399 |
| 8605 if test -n "${ZSH_VERSION+set}"; then | 8400 if test -n "${ZSH_VERSION+set}" ; then |
| 8606 setopt NO_GLOB_SUBST | 8401 setopt NO_GLOB_SUBST |
| 8607 fi | 8402 fi |
| 8608 | 8403 |
| 8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
| 8610 $as_echo_n "checking for objdir... " >&6; } | 8405 $as_echo_n "checking for objdir... " >&6; } |
| 8611 if ${lt_cv_objdir+:} false; then : | 8406 if ${lt_cv_objdir+:} false; then : |
| 8612 $as_echo_n "(cached) " >&6 | 8407 $as_echo_n "(cached) " >&6 |
| 8613 else | 8408 else |
| 8614 rm -f .libs 2>/dev/null | 8409 rm -f .libs 2>/dev/null |
| 8615 mkdir .libs 2>/dev/null | 8410 mkdir .libs 2>/dev/null |
| (...skipping 18 matching lines...) Expand all Loading... |
| 8634 _ACEOF | 8429 _ACEOF |
| 8635 | 8430 |
| 8636 | 8431 |
| 8637 | 8432 |
| 8638 | 8433 |
| 8639 case $host_os in | 8434 case $host_os in |
| 8640 aix3*) | 8435 aix3*) |
| 8641 # AIX sometimes has problems with the GCC collect2 program. For some | 8436 # AIX sometimes has problems with the GCC collect2 program. For some |
| 8642 # reason, if we set the COLLECT_NAMES environment variable, the problems | 8437 # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 8643 # vanish in a puff of smoke. | 8438 # vanish in a puff of smoke. |
| 8644 if test set != "${COLLECT_NAMES+set}"; then | 8439 if test "X${COLLECT_NAMES+set}" != Xset; then |
| 8645 COLLECT_NAMES= | 8440 COLLECT_NAMES= |
| 8646 export COLLECT_NAMES | 8441 export COLLECT_NAMES |
| 8647 fi | 8442 fi |
| 8648 ;; | 8443 ;; |
| 8649 esac | 8444 esac |
| 8650 | 8445 |
| 8651 # Global variables: | 8446 # Global variables: |
| 8652 ofile=libtool | 8447 ofile=libtool |
| 8653 can_build_shared=yes | 8448 can_build_shared=yes |
| 8654 | 8449 |
| 8655 # All known linkers require a '.a' archive for static linking (except MSVC, | 8450 # All known linkers require a `.a' archive for static linking (except MSVC, |
| 8656 # which needs '.lib'). | 8451 # which needs '.lib'). |
| 8657 libext=a | 8452 libext=a |
| 8658 | 8453 |
| 8659 with_gnu_ld=$lt_cv_prog_gnu_ld | 8454 with_gnu_ld="$lt_cv_prog_gnu_ld" |
| 8660 | 8455 |
| 8661 old_CC=$CC | 8456 old_CC="$CC" |
| 8662 old_CFLAGS=$CFLAGS | 8457 old_CFLAGS="$CFLAGS" |
| 8663 | 8458 |
| 8664 # Set sane defaults for various variables | 8459 # Set sane defaults for various variables |
| 8665 test -z "$CC" && CC=cc | 8460 test -z "$CC" && CC=cc |
| 8666 test -z "$LTCC" && LTCC=$CC | 8461 test -z "$LTCC" && LTCC=$CC |
| 8667 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 8462 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 8668 test -z "$LD" && LD=ld | 8463 test -z "$LD" && LD=ld |
| 8669 test -z "$ac_objext" && ac_objext=o | 8464 test -z "$ac_objext" && ac_objext=o |
| 8670 | 8465 |
| 8671 func_cc_basename $compiler | 8466 for cc_temp in $compiler""; do |
| 8672 cc_basename=$func_cc_basename_result | 8467 case $cc_temp in |
| 8468 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 8469 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 8470 \-*) ;; |
| 8471 *) break;; |
| 8472 esac |
| 8473 done |
| 8474 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 8673 | 8475 |
| 8674 | 8476 |
| 8675 # Only perform the check for file, if the check method requires it | 8477 # Only perform the check for file, if the check method requires it |
| 8676 test -z "$MAGIC_CMD" && MAGIC_CMD=file | 8478 test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 8677 case $deplibs_check_method in | 8479 case $deplibs_check_method in |
| 8678 file_magic*) | 8480 file_magic*) |
| 8679 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 8481 if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 | 8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 |
| 8681 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | 8483 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 8682 if ${lt_cv_path_MAGIC_CMD+:} false; then : | 8484 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8683 $as_echo_n "(cached) " >&6 | 8485 $as_echo_n "(cached) " >&6 |
| 8684 else | 8486 else |
| 8685 case $MAGIC_CMD in | 8487 case $MAGIC_CMD in |
| 8686 [\\/*] | ?:[\\/]*) | 8488 [\\/*] | ?:[\\/]*) |
| 8687 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. | 8489 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. |
| 8688 ;; | 8490 ;; |
| 8689 *) | 8491 *) |
| 8690 lt_save_MAGIC_CMD=$MAGIC_CMD | 8492 lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 8691 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | 8493 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 8692 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 8494 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 8693 for ac_dir in $ac_dummy; do | 8495 for ac_dir in $ac_dummy; do |
| 8694 IFS=$lt_save_ifs | 8496 IFS="$lt_save_ifs" |
| 8695 test -z "$ac_dir" && ac_dir=. | 8497 test -z "$ac_dir" && ac_dir=. |
| 8696 if test -f "$ac_dir/${ac_tool_prefix}file"; then | 8498 if test -f $ac_dir/${ac_tool_prefix}file; then |
| 8697 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" | 8499 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
| 8698 if test -n "$file_magic_test_file"; then | 8500 if test -n "$file_magic_test_file"; then |
| 8699 case $deplibs_check_method in | 8501 case $deplibs_check_method in |
| 8700 "file_magic "*) | 8502 "file_magic "*) |
| 8701 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 8503 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 8702 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 8504 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 8703 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 8505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 8704 $EGREP "$file_magic_regex" > /dev/null; then | 8506 $EGREP "$file_magic_regex" > /dev/null; then |
| 8705 : | 8507 : |
| 8706 else | 8508 else |
| 8707 cat <<_LT_EOF 1>&2 | 8509 cat <<_LT_EOF 1>&2 |
| 8708 | 8510 |
| 8709 *** Warning: the command libtool uses to detect shared libraries, | 8511 *** Warning: the command libtool uses to detect shared libraries, |
| 8710 *** $file_magic_cmd, produces output that libtool cannot recognize. | 8512 *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 8711 *** The result is that libtool may fail to recognize shared libraries | 8513 *** The result is that libtool may fail to recognize shared libraries |
| 8712 *** as such. This will affect the creation of libtool libraries that | 8514 *** as such. This will affect the creation of libtool libraries that |
| 8713 *** depend on shared libraries, but programs linked with such libtool | 8515 *** depend on shared libraries, but programs linked with such libtool |
| 8714 *** libraries will work regardless of this problem. Nevertheless, you | 8516 *** libraries will work regardless of this problem. Nevertheless, you |
| 8715 *** may want to report the problem to your system manager and/or to | 8517 *** may want to report the problem to your system manager and/or to |
| 8716 *** bug-libtool@gnu.org | 8518 *** bug-libtool@gnu.org |
| 8717 | 8519 |
| 8718 _LT_EOF | 8520 _LT_EOF |
| 8719 fi ;; | 8521 fi ;; |
| 8720 esac | 8522 esac |
| 8721 fi | 8523 fi |
| 8722 break | 8524 break |
| 8723 fi | 8525 fi |
| 8724 done | 8526 done |
| 8725 IFS=$lt_save_ifs | 8527 IFS="$lt_save_ifs" |
| 8726 MAGIC_CMD=$lt_save_MAGIC_CMD | 8528 MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 8727 ;; | 8529 ;; |
| 8728 esac | 8530 esac |
| 8729 fi | 8531 fi |
| 8730 | 8532 |
| 8731 MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 8533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 8732 if test -n "$MAGIC_CMD"; then | 8534 if test -n "$MAGIC_CMD"; then |
| 8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8734 $as_echo "$MAGIC_CMD" >&6; } | 8536 $as_echo "$MAGIC_CMD" >&6; } |
| 8735 else | 8537 else |
| 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8737 $as_echo "no" >&6; } | 8539 $as_echo "no" >&6; } |
| 8738 fi | 8540 fi |
| 8739 | 8541 |
| 8740 | 8542 |
| 8741 | 8543 |
| 8742 | 8544 |
| 8743 | 8545 |
| 8744 if test -z "$lt_cv_path_MAGIC_CMD"; then | 8546 if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 8745 if test -n "$ac_tool_prefix"; then | 8547 if test -n "$ac_tool_prefix"; then |
| 8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | 8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 8747 $as_echo_n "checking for file... " >&6; } | 8549 $as_echo_n "checking for file... " >&6; } |
| 8748 if ${lt_cv_path_MAGIC_CMD+:} false; then : | 8550 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 8749 $as_echo_n "(cached) " >&6 | 8551 $as_echo_n "(cached) " >&6 |
| 8750 else | 8552 else |
| 8751 case $MAGIC_CMD in | 8553 case $MAGIC_CMD in |
| 8752 [\\/*] | ?:[\\/]*) | 8554 [\\/*] | ?:[\\/]*) |
| 8753 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. | 8555 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. |
| 8754 ;; | 8556 ;; |
| 8755 *) | 8557 *) |
| 8756 lt_save_MAGIC_CMD=$MAGIC_CMD | 8558 lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 8757 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | 8559 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 8758 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 8560 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 8759 for ac_dir in $ac_dummy; do | 8561 for ac_dir in $ac_dummy; do |
| 8760 IFS=$lt_save_ifs | 8562 IFS="$lt_save_ifs" |
| 8761 test -z "$ac_dir" && ac_dir=. | 8563 test -z "$ac_dir" && ac_dir=. |
| 8762 if test -f "$ac_dir/file"; then | 8564 if test -f $ac_dir/file; then |
| 8763 lt_cv_path_MAGIC_CMD=$ac_dir/"file" | 8565 lt_cv_path_MAGIC_CMD="$ac_dir/file" |
| 8764 if test -n "$file_magic_test_file"; then | 8566 if test -n "$file_magic_test_file"; then |
| 8765 case $deplibs_check_method in | 8567 case $deplibs_check_method in |
| 8766 "file_magic "*) | 8568 "file_magic "*) |
| 8767 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 8569 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 8768 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 8570 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 8769 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 8571 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 8770 $EGREP "$file_magic_regex" > /dev/null; then | 8572 $EGREP "$file_magic_regex" > /dev/null; then |
| 8771 : | 8573 : |
| 8772 else | 8574 else |
| 8773 cat <<_LT_EOF 1>&2 | 8575 cat <<_LT_EOF 1>&2 |
| 8774 | 8576 |
| 8775 *** Warning: the command libtool uses to detect shared libraries, | 8577 *** Warning: the command libtool uses to detect shared libraries, |
| 8776 *** $file_magic_cmd, produces output that libtool cannot recognize. | 8578 *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 8777 *** The result is that libtool may fail to recognize shared libraries | 8579 *** The result is that libtool may fail to recognize shared libraries |
| 8778 *** as such. This will affect the creation of libtool libraries that | 8580 *** as such. This will affect the creation of libtool libraries that |
| 8779 *** depend on shared libraries, but programs linked with such libtool | 8581 *** depend on shared libraries, but programs linked with such libtool |
| 8780 *** libraries will work regardless of this problem. Nevertheless, you | 8582 *** libraries will work regardless of this problem. Nevertheless, you |
| 8781 *** may want to report the problem to your system manager and/or to | 8583 *** may want to report the problem to your system manager and/or to |
| 8782 *** bug-libtool@gnu.org | 8584 *** bug-libtool@gnu.org |
| 8783 | 8585 |
| 8784 _LT_EOF | 8586 _LT_EOF |
| 8785 fi ;; | 8587 fi ;; |
| 8786 esac | 8588 esac |
| 8787 fi | 8589 fi |
| 8788 break | 8590 break |
| 8789 fi | 8591 fi |
| 8790 done | 8592 done |
| 8791 IFS=$lt_save_ifs | 8593 IFS="$lt_save_ifs" |
| 8792 MAGIC_CMD=$lt_save_MAGIC_CMD | 8594 MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 8793 ;; | 8595 ;; |
| 8794 esac | 8596 esac |
| 8795 fi | 8597 fi |
| 8796 | 8598 |
| 8797 MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 8599 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 8798 if test -n "$MAGIC_CMD"; then | 8600 if test -n "$MAGIC_CMD"; then |
| 8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 8800 $as_echo "$MAGIC_CMD" >&6; } | 8602 $as_echo "$MAGIC_CMD" >&6; } |
| 8801 else | 8603 else |
| 8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8803 $as_echo "no" >&6; } | 8605 $as_echo "no" >&6; } |
| 8804 fi | 8606 fi |
| 8805 | 8607 |
| 8806 | 8608 |
| 8807 else | 8609 else |
| 8808 MAGIC_CMD=: | 8610 MAGIC_CMD=: |
| 8809 fi | 8611 fi |
| 8810 fi | 8612 fi |
| 8811 | 8613 |
| 8812 fi | 8614 fi |
| 8813 ;; | 8615 ;; |
| 8814 esac | 8616 esac |
| 8815 | 8617 |
| 8816 # Use C for the default configuration in the libtool script | 8618 # Use C for the default configuration in the libtool script |
| 8817 | 8619 |
| 8818 lt_save_CC=$CC | 8620 lt_save_CC="$CC" |
| 8819 ac_ext=c | 8621 ac_ext=c |
| 8820 ac_cpp='$CPP $CPPFLAGS' | 8622 ac_cpp='$CPP $CPPFLAGS' |
| 8821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 8623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 8822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 8624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 8823 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 8625 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 8824 | 8626 |
| 8825 | 8627 |
| 8826 # Source file extension for C test sources. | 8628 # Source file extension for C test sources. |
| 8827 ac_ext=c | 8629 ac_ext=c |
| 8828 | 8630 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8870 | 8672 |
| 8871 | 8673 |
| 8872 ## CAVEAT EMPTOR: | 8674 ## CAVEAT EMPTOR: |
| 8873 ## There is no encapsulation within the following macros, do not change | 8675 ## There is no encapsulation within the following macros, do not change |
| 8874 ## the running order or otherwise move them around unless you know exactly | 8676 ## the running order or otherwise move them around unless you know exactly |
| 8875 ## what you are doing... | 8677 ## what you are doing... |
| 8876 if test -n "$compiler"; then | 8678 if test -n "$compiler"; then |
| 8877 | 8679 |
| 8878 lt_prog_compiler_no_builtin_flag= | 8680 lt_prog_compiler_no_builtin_flag= |
| 8879 | 8681 |
| 8880 if test yes = "$GCC"; then | 8682 if test "$GCC" = yes; then |
| 8881 case $cc_basename in | 8683 case $cc_basename in |
| 8882 nvcc*) | 8684 nvcc*) |
| 8883 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | 8685 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
| 8884 *) | 8686 *) |
| 8885 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | 8687 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
| 8886 esac | 8688 esac |
| 8887 | 8689 |
| 8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r
tti -fno-exceptions" >&5 | 8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r
tti -fno-exceptions" >&5 |
| 8889 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | 8691 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
| 8890 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | 8692 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
| 8891 $as_echo_n "(cached) " >&6 | 8693 $as_echo_n "(cached) " >&6 |
| 8892 else | 8694 else |
| 8893 lt_cv_prog_compiler_rtti_exceptions=no | 8695 lt_cv_prog_compiler_rtti_exceptions=no |
| 8894 ac_outfile=conftest.$ac_objext | 8696 ac_outfile=conftest.$ac_objext |
| 8895 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 8697 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 8896 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quot
es_in_assignment | 8698 lt_compiler_flag="-fno-rtti -fno-exceptions" |
| 8897 # Insert the option either (1) after the last *FLAGS variable, or | 8699 # Insert the option either (1) after the last *FLAGS variable, or |
| 8898 # (2) before a word containing "conftest.", or (3) at the end. | 8700 # (2) before a word containing "conftest.", or (3) at the end. |
| 8899 # Note that $ac_compile itself does not contain backslashes and begins | 8701 # Note that $ac_compile itself does not contain backslashes and begins |
| 8900 # with a dollar sign (not a hyphen), so the echo should work correctly. | 8702 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 8901 # The option is referenced via a variable to avoid confusing sed. | 8703 # The option is referenced via a variable to avoid confusing sed. |
| 8902 lt_compile=`echo "$ac_compile" | $SED \ | 8704 lt_compile=`echo "$ac_compile" | $SED \ |
| 8903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 8705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 8904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 8706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 8905 -e 's:$: $lt_compiler_flag:'` | 8707 -e 's:$: $lt_compiler_flag:'` |
| 8906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 8708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 8907 (eval "$lt_compile" 2>conftest.err) | 8709 (eval "$lt_compile" 2>conftest.err) |
| 8908 ac_status=$? | 8710 ac_status=$? |
| 8909 cat conftest.err >&5 | 8711 cat conftest.err >&5 |
| 8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8911 if (exit $ac_status) && test -s "$ac_outfile"; then | 8713 if (exit $ac_status) && test -s "$ac_outfile"; then |
| 8912 # The compiler can only warn and ignore the option if not recognized | 8714 # The compiler can only warn and ignore the option if not recognized |
| 8913 # So say no if there are warnings other than the usual output. | 8715 # So say no if there are warnings other than the usual output. |
| 8914 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 8716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 8915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 8717 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 8916 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | 8718 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n |
| 8917 lt_cv_prog_compiler_rtti_exceptions=yes | 8719 lt_cv_prog_compiler_rtti_exceptions=yes |
| 8918 fi | 8720 fi |
| 8919 fi | 8721 fi |
| 8920 $RM conftest* | 8722 $RM conftest* |
| 8921 | 8723 |
| 8922 fi | 8724 fi |
| 8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep
tions" >&5 | 8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep
tions" >&5 |
| 8924 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | 8726 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 8925 | 8727 |
| 8926 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then | 8728 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
| 8927 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" | 8729 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" |
| 8928 else | 8730 else |
| 8929 : | 8731 : |
| 8930 fi | 8732 fi |
| 8931 | 8733 |
| 8932 fi | 8734 fi |
| 8933 | 8735 |
| 8934 | 8736 |
| 8935 | 8737 |
| 8936 | 8738 |
| 8937 | 8739 |
| 8938 | 8740 |
| 8939 lt_prog_compiler_wl= | 8741 lt_prog_compiler_wl= |
| 8940 lt_prog_compiler_pic= | 8742 lt_prog_compiler_pic= |
| 8941 lt_prog_compiler_static= | 8743 lt_prog_compiler_static= |
| 8942 | 8744 |
| 8943 | 8745 |
| 8944 if test yes = "$GCC"; then | 8746 if test "$GCC" = yes; then |
| 8945 lt_prog_compiler_wl='-Wl,' | 8747 lt_prog_compiler_wl='-Wl,' |
| 8946 lt_prog_compiler_static='-static' | 8748 lt_prog_compiler_static='-static' |
| 8947 | 8749 |
| 8948 case $host_os in | 8750 case $host_os in |
| 8949 aix*) | 8751 aix*) |
| 8950 # All AIX code is PIC. | 8752 # All AIX code is PIC. |
| 8951 if test ia64 = "$host_cpu"; then | 8753 if test "$host_cpu" = ia64; then |
| 8952 # AIX 5 now supports IA64 processor | 8754 # AIX 5 now supports IA64 processor |
| 8953 lt_prog_compiler_static='-Bstatic' | 8755 lt_prog_compiler_static='-Bstatic' |
| 8954 fi | 8756 fi |
| 8955 lt_prog_compiler_pic='-fPIC' | |
| 8956 ;; | 8757 ;; |
| 8957 | 8758 |
| 8958 amigaos*) | 8759 amigaos*) |
| 8959 case $host_cpu in | 8760 case $host_cpu in |
| 8960 powerpc) | 8761 powerpc) |
| 8961 # see comment about AmigaOS4 .so support | 8762 # see comment about AmigaOS4 .so support |
| 8962 lt_prog_compiler_pic='-fPIC' | 8763 lt_prog_compiler_pic='-fPIC' |
| 8963 ;; | 8764 ;; |
| 8964 m68k) | 8765 m68k) |
| 8965 # FIXME: we need at least 68020 code to build shared libraries, but | 8766 # FIXME: we need at least 68020 code to build shared libraries, but |
| 8966 # adding the '-m68020' flag to GCC prevents building anything better
, | 8767 # adding the `-m68020' flag to GCC prevents building anything better
, |
| 8967 # like '-m68040'. | 8768 # like `-m68040'. |
| 8968 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 8769 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 8969 ;; | 8770 ;; |
| 8970 esac | 8771 esac |
| 8971 ;; | 8772 ;; |
| 8972 | 8773 |
| 8973 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 8774 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 8974 # PIC is the default for these OSes. | 8775 # PIC is the default for these OSes. |
| 8975 ;; | 8776 ;; |
| 8976 | 8777 |
| 8977 mingw* | cygwin* | pw32* | os2* | cegcc*) | 8778 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 8978 # This hack is so that the source file can tell whether it is being | 8779 # This hack is so that the source file can tell whether it is being |
| 8979 # built for inclusion in a dll (and should export symbols for example). | 8780 # built for inclusion in a dll (and should export symbols for example). |
| 8980 # Although the cygwin gcc ignores -fPIC, still need this for old-style | 8781 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 8981 # (--disable-auto-import) libraries | 8782 # (--disable-auto-import) libraries |
| 8982 lt_prog_compiler_pic='-DDLL_EXPORT' | 8783 lt_prog_compiler_pic='-DDLL_EXPORT' |
| 8983 case $host_os in | |
| 8984 os2*) | |
| 8985 lt_prog_compiler_static='$wl-static' | |
| 8986 ;; | |
| 8987 esac | |
| 8988 ;; | 8784 ;; |
| 8989 | 8785 |
| 8990 darwin* | rhapsody*) | 8786 darwin* | rhapsody*) |
| 8991 # PIC is the default on this platform | 8787 # PIC is the default on this platform |
| 8992 # Common symbols not allowed in MH_DYLIB files | 8788 # Common symbols not allowed in MH_DYLIB files |
| 8993 lt_prog_compiler_pic='-fno-common' | 8789 lt_prog_compiler_pic='-fno-common' |
| 8994 ;; | 8790 ;; |
| 8995 | 8791 |
| 8996 haiku*) | 8792 haiku*) |
| 8997 # PIC is the default for Haiku. | 8793 # PIC is the default for Haiku. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9048 if test -n "$lt_prog_compiler_pic"; then | 8844 if test -n "$lt_prog_compiler_pic"; then |
| 9049 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" | 8845 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 9050 fi | 8846 fi |
| 9051 ;; | 8847 ;; |
| 9052 esac | 8848 esac |
| 9053 else | 8849 else |
| 9054 # PORTME Check for flag to pass linker flags through the system compiler. | 8850 # PORTME Check for flag to pass linker flags through the system compiler. |
| 9055 case $host_os in | 8851 case $host_os in |
| 9056 aix*) | 8852 aix*) |
| 9057 lt_prog_compiler_wl='-Wl,' | 8853 lt_prog_compiler_wl='-Wl,' |
| 9058 if test ia64 = "$host_cpu"; then | 8854 if test "$host_cpu" = ia64; then |
| 9059 # AIX 5 now supports IA64 processor | 8855 # AIX 5 now supports IA64 processor |
| 9060 lt_prog_compiler_static='-Bstatic' | 8856 lt_prog_compiler_static='-Bstatic' |
| 9061 else | 8857 else |
| 9062 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 8858 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 9063 fi | 8859 fi |
| 9064 ;; | 8860 ;; |
| 9065 | 8861 |
| 9066 darwin* | rhapsody*) | |
| 9067 # PIC is the default on this platform | |
| 9068 # Common symbols not allowed in MH_DYLIB files | |
| 9069 lt_prog_compiler_pic='-fno-common' | |
| 9070 case $cc_basename in | |
| 9071 nagfor*) | |
| 9072 # NAG Fortran compiler | |
| 9073 lt_prog_compiler_wl='-Wl,-Wl,,' | |
| 9074 lt_prog_compiler_pic='-PIC' | |
| 9075 lt_prog_compiler_static='-Bstatic' | |
| 9076 ;; | |
| 9077 esac | |
| 9078 ;; | |
| 9079 | |
| 9080 mingw* | cygwin* | pw32* | os2* | cegcc*) | 8862 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9081 # This hack is so that the source file can tell whether it is being | 8863 # This hack is so that the source file can tell whether it is being |
| 9082 # built for inclusion in a dll (and should export symbols for example). | 8864 # built for inclusion in a dll (and should export symbols for example). |
| 9083 lt_prog_compiler_pic='-DDLL_EXPORT' | 8865 lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9084 case $host_os in | |
| 9085 os2*) | |
| 9086 lt_prog_compiler_static='$wl-static' | |
| 9087 ;; | |
| 9088 esac | |
| 9089 ;; | 8866 ;; |
| 9090 | 8867 |
| 9091 hpux9* | hpux10* | hpux11*) | 8868 hpux9* | hpux10* | hpux11*) |
| 9092 lt_prog_compiler_wl='-Wl,' | 8869 lt_prog_compiler_wl='-Wl,' |
| 9093 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 8870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 9094 # not for PA HP-UX. | 8871 # not for PA HP-UX. |
| 9095 case $host_cpu in | 8872 case $host_cpu in |
| 9096 hppa*64*|ia64*) | 8873 hppa*64*|ia64*) |
| 9097 # +Z the default | 8874 # +Z the default |
| 9098 ;; | 8875 ;; |
| 9099 *) | 8876 *) |
| 9100 lt_prog_compiler_pic='+Z' | 8877 lt_prog_compiler_pic='+Z' |
| 9101 ;; | 8878 ;; |
| 9102 esac | 8879 esac |
| 9103 # Is there a better lt_prog_compiler_static that works with the bundled CC
? | 8880 # Is there a better lt_prog_compiler_static that works with the bundled CC
? |
| 9104 lt_prog_compiler_static='$wl-a ${wl}archive' | 8881 lt_prog_compiler_static='${wl}-a ${wl}archive' |
| 9105 ;; | 8882 ;; |
| 9106 | 8883 |
| 9107 irix5* | irix6* | nonstopux*) | 8884 irix5* | irix6* | nonstopux*) |
| 9108 lt_prog_compiler_wl='-Wl,' | 8885 lt_prog_compiler_wl='-Wl,' |
| 9109 # PIC (with -KPIC) is the default. | 8886 # PIC (with -KPIC) is the default. |
| 9110 lt_prog_compiler_static='-non_shared' | 8887 lt_prog_compiler_static='-non_shared' |
| 9111 ;; | 8888 ;; |
| 9112 | 8889 |
| 9113 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 8890 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 9114 case $cc_basename in | 8891 case $cc_basename in |
| 9115 # old Intel for x86_64, which still supported -KPIC. | 8892 # old Intel for x86_64 which still supported -KPIC. |
| 9116 ecc*) | 8893 ecc*) |
| 9117 lt_prog_compiler_wl='-Wl,' | 8894 lt_prog_compiler_wl='-Wl,' |
| 9118 lt_prog_compiler_pic='-KPIC' | 8895 lt_prog_compiler_pic='-KPIC' |
| 9119 lt_prog_compiler_static='-static' | 8896 lt_prog_compiler_static='-static' |
| 9120 ;; | 8897 ;; |
| 9121 # icc used to be incompatible with GCC. | 8898 # icc used to be incompatible with GCC. |
| 9122 # ICC 10 doesn't accept -KPIC any more. | 8899 # ICC 10 doesn't accept -KPIC any more. |
| 9123 icc* | ifort*) | 8900 icc* | ifort*) |
| 9124 lt_prog_compiler_wl='-Wl,' | 8901 lt_prog_compiler_wl='-Wl,' |
| 9125 lt_prog_compiler_pic='-fPIC' | 8902 lt_prog_compiler_pic='-fPIC' |
| 9126 lt_prog_compiler_static='-static' | 8903 lt_prog_compiler_static='-static' |
| 9127 ;; | 8904 ;; |
| 9128 # Lahey Fortran 8.1. | 8905 # Lahey Fortran 8.1. |
| 9129 lf95*) | 8906 lf95*) |
| 9130 lt_prog_compiler_wl='-Wl,' | 8907 lt_prog_compiler_wl='-Wl,' |
| 9131 lt_prog_compiler_pic='--shared' | 8908 lt_prog_compiler_pic='--shared' |
| 9132 lt_prog_compiler_static='--static' | 8909 lt_prog_compiler_static='--static' |
| 9133 ;; | 8910 ;; |
| 9134 nagfor*) | 8911 nagfor*) |
| 9135 # NAG Fortran compiler | 8912 # NAG Fortran compiler |
| 9136 lt_prog_compiler_wl='-Wl,-Wl,,' | 8913 lt_prog_compiler_wl='-Wl,-Wl,,' |
| 9137 lt_prog_compiler_pic='-PIC' | 8914 lt_prog_compiler_pic='-PIC' |
| 9138 lt_prog_compiler_static='-Bstatic' | 8915 lt_prog_compiler_static='-Bstatic' |
| 9139 ;; | 8916 ;; |
| 9140 tcc*) | |
| 9141 # Fabrice Bellard et al's Tiny C Compiler | |
| 9142 lt_prog_compiler_wl='-Wl,' | |
| 9143 lt_prog_compiler_pic='-fPIC' | |
| 9144 lt_prog_compiler_static='-static' | |
| 9145 ;; | |
| 9146 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | 8917 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 9147 # Portland Group compilers (*not* the Pentium gcc compiler, | 8918 # Portland Group compilers (*not* the Pentium gcc compiler, |
| 9148 # which looks to be a dead project) | 8919 # which looks to be a dead project) |
| 9149 lt_prog_compiler_wl='-Wl,' | 8920 lt_prog_compiler_wl='-Wl,' |
| 9150 lt_prog_compiler_pic='-fpic' | 8921 lt_prog_compiler_pic='-fpic' |
| 9151 lt_prog_compiler_static='-Bstatic' | 8922 lt_prog_compiler_static='-Bstatic' |
| 9152 ;; | 8923 ;; |
| 9153 ccc*) | 8924 ccc*) |
| 9154 lt_prog_compiler_wl='-Wl,' | 8925 lt_prog_compiler_wl='-Wl,' |
| 9155 # All Alpha code is PIC. | 8926 # All Alpha code is PIC. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9233 lt_prog_compiler_static='-Bstatic' | 9004 lt_prog_compiler_static='-Bstatic' |
| 9234 ;; | 9005 ;; |
| 9235 | 9006 |
| 9236 sysv4 | sysv4.2uw2* | sysv4.3*) | 9007 sysv4 | sysv4.2uw2* | sysv4.3*) |
| 9237 lt_prog_compiler_wl='-Wl,' | 9008 lt_prog_compiler_wl='-Wl,' |
| 9238 lt_prog_compiler_pic='-KPIC' | 9009 lt_prog_compiler_pic='-KPIC' |
| 9239 lt_prog_compiler_static='-Bstatic' | 9010 lt_prog_compiler_static='-Bstatic' |
| 9240 ;; | 9011 ;; |
| 9241 | 9012 |
| 9242 sysv4*MP*) | 9013 sysv4*MP*) |
| 9243 if test -d /usr/nec; then | 9014 if test -d /usr/nec ;then |
| 9244 lt_prog_compiler_pic='-Kconform_pic' | 9015 lt_prog_compiler_pic='-Kconform_pic' |
| 9245 lt_prog_compiler_static='-Bstatic' | 9016 lt_prog_compiler_static='-Bstatic' |
| 9246 fi | 9017 fi |
| 9247 ;; | 9018 ;; |
| 9248 | 9019 |
| 9249 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 9020 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 9250 lt_prog_compiler_wl='-Wl,' | 9021 lt_prog_compiler_wl='-Wl,' |
| 9251 lt_prog_compiler_pic='-KPIC' | 9022 lt_prog_compiler_pic='-KPIC' |
| 9252 lt_prog_compiler_static='-Bstatic' | 9023 lt_prog_compiler_static='-Bstatic' |
| 9253 ;; | 9024 ;; |
| 9254 | 9025 |
| 9255 unicos*) | 9026 unicos*) |
| 9256 lt_prog_compiler_wl='-Wl,' | 9027 lt_prog_compiler_wl='-Wl,' |
| 9257 lt_prog_compiler_can_build_shared=no | 9028 lt_prog_compiler_can_build_shared=no |
| 9258 ;; | 9029 ;; |
| 9259 | 9030 |
| 9260 uts4*) | 9031 uts4*) |
| 9261 lt_prog_compiler_pic='-pic' | 9032 lt_prog_compiler_pic='-pic' |
| 9262 lt_prog_compiler_static='-Bstatic' | 9033 lt_prog_compiler_static='-Bstatic' |
| 9263 ;; | 9034 ;; |
| 9264 | 9035 |
| 9265 *) | 9036 *) |
| 9266 lt_prog_compiler_can_build_shared=no | 9037 lt_prog_compiler_can_build_shared=no |
| 9267 ;; | 9038 ;; |
| 9268 esac | 9039 esac |
| 9269 fi | 9040 fi |
| 9270 | 9041 |
| 9271 case $host_os in | 9042 case $host_os in |
| 9272 # For platforms that do not support PIC, -DPIC is meaningless: | 9043 # For platforms which do not support PIC, -DPIC is meaningless: |
| 9273 *djgpp*) | 9044 *djgpp*) |
| 9274 lt_prog_compiler_pic= | 9045 lt_prog_compiler_pic= |
| 9275 ;; | 9046 ;; |
| 9276 *) | 9047 *) |
| 9277 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 9048 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 9278 ;; | 9049 ;; |
| 9279 esac | 9050 esac |
| 9280 | 9051 |
| 9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 | 9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 |
| 9282 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | 9053 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 9294 # | 9065 # |
| 9295 if test -n "$lt_prog_compiler_pic"; then | 9066 if test -n "$lt_prog_compiler_pic"; then |
| 9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 | 9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 |
| 9297 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} | 9068 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} |
| 9298 if ${lt_cv_prog_compiler_pic_works+:} false; then : | 9069 if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 9299 $as_echo_n "(cached) " >&6 | 9070 $as_echo_n "(cached) " >&6 |
| 9300 else | 9071 else |
| 9301 lt_cv_prog_compiler_pic_works=no | 9072 lt_cv_prog_compiler_pic_works=no |
| 9302 ac_outfile=conftest.$ac_objext | 9073 ac_outfile=conftest.$ac_objext |
| 9303 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9304 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_qu
otes_in_assignment | 9075 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
| 9305 # Insert the option either (1) after the last *FLAGS variable, or | 9076 # Insert the option either (1) after the last *FLAGS variable, or |
| 9306 # (2) before a word containing "conftest.", or (3) at the end. | 9077 # (2) before a word containing "conftest.", or (3) at the end. |
| 9307 # Note that $ac_compile itself does not contain backslashes and begins | 9078 # Note that $ac_compile itself does not contain backslashes and begins |
| 9308 # with a dollar sign (not a hyphen), so the echo should work correctly. | 9079 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 9309 # The option is referenced via a variable to avoid confusing sed. | 9080 # The option is referenced via a variable to avoid confusing sed. |
| 9310 lt_compile=`echo "$ac_compile" | $SED \ | 9081 lt_compile=`echo "$ac_compile" | $SED \ |
| 9311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 9312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 9313 -e 's:$: $lt_compiler_flag:'` | 9084 -e 's:$: $lt_compiler_flag:'` |
| 9314 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 9315 (eval "$lt_compile" 2>conftest.err) | 9086 (eval "$lt_compile" 2>conftest.err) |
| 9316 ac_status=$? | 9087 ac_status=$? |
| 9317 cat conftest.err >&5 | 9088 cat conftest.err >&5 |
| 9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9319 if (exit $ac_status) && test -s "$ac_outfile"; then | 9090 if (exit $ac_status) && test -s "$ac_outfile"; then |
| 9320 # The compiler can only warn and ignore the option if not recognized | 9091 # The compiler can only warn and ignore the option if not recognized |
| 9321 # So say no if there are warnings other than the usual output. | 9092 # So say no if there are warnings other than the usual output. |
| 9322 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 9093 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 9323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 9094 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9324 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | 9095 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n |
| 9325 lt_cv_prog_compiler_pic_works=yes | 9096 lt_cv_prog_compiler_pic_works=yes |
| 9326 fi | 9097 fi |
| 9327 fi | 9098 fi |
| 9328 $RM conftest* | 9099 $RM conftest* |
| 9329 | 9100 |
| 9330 fi | 9101 fi |
| 9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 | 9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 |
| 9332 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | 9103 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9333 | 9104 |
| 9334 if test yes = "$lt_cv_prog_compiler_pic_works"; then | 9105 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
| 9335 case $lt_prog_compiler_pic in | 9106 case $lt_prog_compiler_pic in |
| 9336 "" | " "*) ;; | 9107 "" | " "*) ;; |
| 9337 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 9108 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 9338 esac | 9109 esac |
| 9339 else | 9110 else |
| 9340 lt_prog_compiler_pic= | 9111 lt_prog_compiler_pic= |
| 9341 lt_prog_compiler_can_build_shared=no | 9112 lt_prog_compiler_can_build_shared=no |
| 9342 fi | 9113 fi |
| 9343 | 9114 |
| 9344 fi | 9115 fi |
| (...skipping 11 matching lines...) Expand all Loading... |
| 9356 # | 9127 # |
| 9357 # Check to make sure the static flag actually works. | 9128 # Check to make sure the static flag actually works. |
| 9358 # | 9129 # |
| 9359 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | 9130 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 | 9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 |
| 9361 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } | 9132 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } |
| 9362 if ${lt_cv_prog_compiler_static_works+:} false; then : | 9133 if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 9363 $as_echo_n "(cached) " >&6 | 9134 $as_echo_n "(cached) " >&6 |
| 9364 else | 9135 else |
| 9365 lt_cv_prog_compiler_static_works=no | 9136 lt_cv_prog_compiler_static_works=no |
| 9366 save_LDFLAGS=$LDFLAGS | 9137 save_LDFLAGS="$LDFLAGS" |
| 9367 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | 9138 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 9368 echo "$lt_simple_link_test_code" > conftest.$ac_ext | 9139 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 9369 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 9140 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 9370 # The linker can only warn and ignore the option if not recognized | 9141 # The linker can only warn and ignore the option if not recognized |
| 9371 # So say no if there are warnings | 9142 # So say no if there are warnings |
| 9372 if test -s conftest.err; then | 9143 if test -s conftest.err; then |
| 9373 # Append any errors to the config.log. | 9144 # Append any errors to the config.log. |
| 9374 cat conftest.err 1>&5 | 9145 cat conftest.err 1>&5 |
| 9375 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 9146 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 9376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 9147 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9377 if diff conftest.exp conftest.er2 >/dev/null; then | 9148 if diff conftest.exp conftest.er2 >/dev/null; then |
| 9378 lt_cv_prog_compiler_static_works=yes | 9149 lt_cv_prog_compiler_static_works=yes |
| 9379 fi | 9150 fi |
| 9380 else | 9151 else |
| 9381 lt_cv_prog_compiler_static_works=yes | 9152 lt_cv_prog_compiler_static_works=yes |
| 9382 fi | 9153 fi |
| 9383 fi | 9154 fi |
| 9384 $RM -r conftest* | 9155 $RM -r conftest* |
| 9385 LDFLAGS=$save_LDFLAGS | 9156 LDFLAGS="$save_LDFLAGS" |
| 9386 | 9157 |
| 9387 fi | 9158 fi |
| 9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor
ks" >&5 | 9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor
ks" >&5 |
| 9389 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | 9160 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 9390 | 9161 |
| 9391 if test yes = "$lt_cv_prog_compiler_static_works"; then | 9162 if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
| 9392 : | 9163 : |
| 9393 else | 9164 else |
| 9394 lt_prog_compiler_static= | 9165 lt_prog_compiler_static= |
| 9395 fi | 9166 fi |
| 9396 | 9167 |
| 9397 | 9168 |
| 9398 | 9169 |
| 9399 | 9170 |
| 9400 | 9171 |
| 9401 | 9172 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9501 $RM -r conftest | 9272 $RM -r conftest |
| 9502 $RM conftest* | 9273 $RM conftest* |
| 9503 | 9274 |
| 9504 fi | 9275 fi |
| 9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | 9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 9506 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | 9277 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 9507 | 9278 |
| 9508 | 9279 |
| 9509 | 9280 |
| 9510 | 9281 |
| 9511 hard_links=nottested | 9282 hard_links="nottested" |
| 9512 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then | 9283 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
| 9513 # do not overwrite the value of need_locks provided by the user | 9284 # do not overwrite the value of need_locks provided by the user |
| 9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin
ks" >&5 | 9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin
ks" >&5 |
| 9515 $as_echo_n "checking if we can lock with hard links... " >&6; } | 9286 $as_echo_n "checking if we can lock with hard links... " >&6; } |
| 9516 hard_links=yes | 9287 hard_links=yes |
| 9517 $RM conftest* | 9288 $RM conftest* |
| 9518 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 9289 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9519 touch conftest.a | 9290 touch conftest.a |
| 9520 ln conftest.a conftest.b 2>&5 || hard_links=no | 9291 ln conftest.a conftest.b 2>&5 || hard_links=no |
| 9521 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 9292 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | 9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 9523 $as_echo "$hard_links" >&6; } | 9294 $as_echo "$hard_links" >&6; } |
| 9524 if test no = "$hard_links"; then | 9295 if test "$hard_links" = no; then |
| 9525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c
-o', so 'make -j' may be unsafe" >&5 | 9296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`
-c -o', so \`make -j' may be unsafe" >&5 |
| 9526 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be u
nsafe" >&2;} | 9297 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may b
e unsafe" >&2;} |
| 9527 need_locks=warn | 9298 need_locks=warn |
| 9528 fi | 9299 fi |
| 9529 else | 9300 else |
| 9530 need_locks=no | 9301 need_locks=no |
| 9531 fi | 9302 fi |
| 9532 | 9303 |
| 9533 | 9304 |
| 9534 | 9305 |
| 9535 | 9306 |
| 9536 | 9307 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 9559 module_cmds= | 9330 module_cmds= |
| 9560 module_expsym_cmds= | 9331 module_expsym_cmds= |
| 9561 old_archive_from_new_cmds= | 9332 old_archive_from_new_cmds= |
| 9562 old_archive_from_expsyms_cmds= | 9333 old_archive_from_expsyms_cmds= |
| 9563 thread_safe_flag_spec= | 9334 thread_safe_flag_spec= |
| 9564 whole_archive_flag_spec= | 9335 whole_archive_flag_spec= |
| 9565 # include_expsyms should be a list of space-separated symbols to be *always* | 9336 # include_expsyms should be a list of space-separated symbols to be *always* |
| 9566 # included in the symbol list | 9337 # included in the symbol list |
| 9567 include_expsyms= | 9338 include_expsyms= |
| 9568 # exclude_expsyms can be an extended regexp of symbols to exclude | 9339 # exclude_expsyms can be an extended regexp of symbols to exclude |
| 9569 # it will be wrapped by ' (' and ')$', so one must not match beginning or | 9340 # it will be wrapped by ` (' and `)$', so one must not match beginning or |
| 9570 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', | 9341 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
| 9571 # as well as any symbol that contains 'd'. | 9342 # as well as any symbol that contains `d'. |
| 9572 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | 9343 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 9573 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 9344 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 9574 # platforms (ab)use it in PIC code, but their linkers get confused if | 9345 # platforms (ab)use it in PIC code, but their linkers get confused if |
| 9575 # the symbol is explicitly referenced. Since portable code cannot | 9346 # the symbol is explicitly referenced. Since portable code cannot |
| 9576 # rely on this symbol name, it's probably fine to never include it in | 9347 # rely on this symbol name, it's probably fine to never include it in |
| 9577 # preloaded symbol tables. | 9348 # preloaded symbol tables. |
| 9578 # Exclude shared library initialization/finalization symbols. | 9349 # Exclude shared library initialization/finalization symbols. |
| 9579 extract_expsyms_cmds= | 9350 extract_expsyms_cmds= |
| 9580 | 9351 |
| 9581 case $host_os in | 9352 case $host_os in |
| 9582 cygwin* | mingw* | pw32* | cegcc*) | 9353 cygwin* | mingw* | pw32* | cegcc*) |
| 9583 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 9354 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 9584 # When not using gcc, we currently assume that we are using | 9355 # When not using gcc, we currently assume that we are using |
| 9585 # Microsoft Visual C++. | 9356 # Microsoft Visual C++. |
| 9586 if test yes != "$GCC"; then | 9357 if test "$GCC" != yes; then |
| 9587 with_gnu_ld=no | 9358 with_gnu_ld=no |
| 9588 fi | 9359 fi |
| 9589 ;; | 9360 ;; |
| 9590 interix*) | 9361 interix*) |
| 9591 # we just hope/assume this is gcc and not c89 (= MSVC++) | 9362 # we just hope/assume this is gcc and not c89 (= MSVC++) |
| 9592 with_gnu_ld=yes | 9363 with_gnu_ld=yes |
| 9593 ;; | 9364 ;; |
| 9594 openbsd* | bitrig*) | 9365 openbsd*) |
| 9595 with_gnu_ld=no | 9366 with_gnu_ld=no |
| 9596 ;; | 9367 ;; |
| 9368 linux* | k*bsd*-gnu | gnu*) |
| 9369 link_all_deplibs=no |
| 9370 ;; |
| 9597 esac | 9371 esac |
| 9598 | 9372 |
| 9599 ld_shlibs=yes | 9373 ld_shlibs=yes |
| 9600 | 9374 |
| 9601 # On some targets, GNU ld is compatible enough with the native linker | 9375 # On some targets, GNU ld is compatible enough with the native linker |
| 9602 # that we're better off using the native interface for both. | 9376 # that we're better off using the native interface for both. |
| 9603 lt_use_gnu_ld_interface=no | 9377 lt_use_gnu_ld_interface=no |
| 9604 if test yes = "$with_gnu_ld"; then | 9378 if test "$with_gnu_ld" = yes; then |
| 9605 case $host_os in | 9379 case $host_os in |
| 9606 aix*) | 9380 aix*) |
| 9607 # The AIX port of GNU ld has always aspired to compatibility | 9381 # The AIX port of GNU ld has always aspired to compatibility |
| 9608 # with the native linker. However, as the warning in the GNU ld | 9382 # with the native linker. However, as the warning in the GNU ld |
| 9609 # block says, versions before 2.19.5* couldn't really create working | 9383 # block says, versions before 2.19.5* couldn't really create working |
| 9610 # shared libraries, regardless of the interface used. | 9384 # shared libraries, regardless of the interface used. |
| 9611 case `$LD -v 2>&1` in | 9385 case `$LD -v 2>&1` in |
| 9612 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | 9386 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 9613 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | 9387 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 9614 *\ \(GNU\ Binutils\)\ [3-9]*) ;; | 9388 *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 9615 *) | 9389 *) |
| 9616 lt_use_gnu_ld_interface=yes | 9390 lt_use_gnu_ld_interface=yes |
| 9617 ;; | 9391 ;; |
| 9618 esac | 9392 esac |
| 9619 ;; | 9393 ;; |
| 9620 *) | 9394 *) |
| 9621 lt_use_gnu_ld_interface=yes | 9395 lt_use_gnu_ld_interface=yes |
| 9622 ;; | 9396 ;; |
| 9623 esac | 9397 esac |
| 9624 fi | 9398 fi |
| 9625 | 9399 |
| 9626 if test yes = "$lt_use_gnu_ld_interface"; then | 9400 if test "$lt_use_gnu_ld_interface" = yes; then |
| 9627 # If archive_cmds runs LD, not CC, wlarc should be empty | 9401 # If archive_cmds runs LD, not CC, wlarc should be empty |
| 9628 wlarc='$wl' | 9402 wlarc='${wl}' |
| 9629 | 9403 |
| 9630 # Set some defaults for GNU ld with shared library support. These | 9404 # Set some defaults for GNU ld with shared library support. These |
| 9631 # are reset later if shared libraries are not supported. Putting them | 9405 # are reset later if shared libraries are not supported. Putting them |
| 9632 # here allows them to be overridden if necessary. | 9406 # here allows them to be overridden if necessary. |
| 9633 runpath_var=LD_RUN_PATH | 9407 runpath_var=LD_RUN_PATH |
| 9634 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 9408 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9635 export_dynamic_flag_spec='$wl--export-dynamic' | 9409 export_dynamic_flag_spec='${wl}--export-dynamic' |
| 9636 # ancient GNU ld didn't support --whole-archive et. al. | 9410 # ancient GNU ld didn't support --whole-archive et. al. |
| 9637 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | 9411 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 9638 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-wh
ole-archive' | 9412 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--n
o-whole-archive' |
| 9639 else | 9413 else |
| 9640 whole_archive_flag_spec= | 9414 whole_archive_flag_spec= |
| 9641 fi | 9415 fi |
| 9642 supports_anon_versioning=no | 9416 supports_anon_versioning=no |
| 9643 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in | 9417 case `$LD -v 2>&1` in |
| 9644 *GNU\ gold*) supports_anon_versioning=yes ;; | 9418 *GNU\ gold*) supports_anon_versioning=yes ;; |
| 9645 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | 9419 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 9646 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | 9420 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 9647 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | 9421 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 9648 *\ 2.11.*) ;; # other 2.11 versions | 9422 *\ 2.11.*) ;; # other 2.11 versions |
| 9649 *) supports_anon_versioning=yes ;; | 9423 *) supports_anon_versioning=yes ;; |
| 9650 esac | 9424 esac |
| 9651 | 9425 |
| 9652 # See if GNU ld supports shared libraries. | 9426 # See if GNU ld supports shared libraries. |
| 9653 case $host_os in | 9427 case $host_os in |
| 9654 aix[3-9]*) | 9428 aix[3-9]*) |
| 9655 # On AIX/PPC, the GNU linker is very broken | 9429 # On AIX/PPC, the GNU linker is very broken |
| 9656 if test ia64 != "$host_cpu"; then | 9430 if test "$host_cpu" != ia64; then |
| 9657 ld_shlibs=no | 9431 ld_shlibs=no |
| 9658 cat <<_LT_EOF 1>&2 | 9432 cat <<_LT_EOF 1>&2 |
| 9659 | 9433 |
| 9660 *** Warning: the GNU linker, at least up to release 2.19, is reported | 9434 *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 9661 *** to be unable to reliably create shared libraries on AIX. | 9435 *** to be unable to reliably create shared libraries on AIX. |
| 9662 *** Therefore, libtool is disabling shared libraries support. If you | 9436 *** Therefore, libtool is disabling shared libraries support. If you |
| 9663 *** really care for shared libraries, you may want to install binutils | 9437 *** really care for shared libraries, you may want to install binutils |
| 9664 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | 9438 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 9665 *** You will then need to restart the configuration process. | 9439 *** You will then need to restart the configuration process. |
| 9666 | 9440 |
| 9667 _LT_EOF | 9441 _LT_EOF |
| 9668 fi | 9442 fi |
| 9669 ;; | 9443 ;; |
| 9670 | 9444 |
| 9671 amigaos*) | 9445 amigaos*) |
| 9672 case $host_cpu in | 9446 case $host_cpu in |
| 9673 powerpc) | 9447 powerpc) |
| 9674 # see comment about AmigaOS4 .so support | 9448 # see comment about AmigaOS4 .so support |
| 9675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $wl$soname -o $lib' | 9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 9676 archive_expsym_cmds='' | 9450 archive_expsym_cmds='' |
| 9677 ;; | 9451 ;; |
| 9678 m68k) | 9452 m68k) |
| 9679 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' | 9453 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' |
| 9680 hardcode_libdir_flag_spec='-L$libdir' | 9454 hardcode_libdir_flag_spec='-L$libdir' |
| 9681 hardcode_minus_L=yes | 9455 hardcode_minus_L=yes |
| 9682 ;; | 9456 ;; |
| 9683 esac | 9457 esac |
| 9684 ;; | 9458 ;; |
| 9685 | 9459 |
| 9686 beos*) | 9460 beos*) |
| 9687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 9461 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9688 allow_undefined_flag=unsupported | 9462 allow_undefined_flag=unsupported |
| 9689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 9463 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 9690 # support --undefined. This deserves some investigation. FIXME | 9464 # support --undefined. This deserves some investigation. FIXME |
| 9691 » archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname
$wl$soname -o $lib' | 9465 » archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-sonam
e $wl$soname -o $lib' |
| 9692 else | 9466 else |
| 9693 ld_shlibs=no | 9467 ld_shlibs=no |
| 9694 fi | 9468 fi |
| 9695 ;; | 9469 ;; |
| 9696 | 9470 |
| 9697 cygwin* | mingw* | pw32* | cegcc*) | 9471 cygwin* | mingw* | pw32* | cegcc*) |
| 9698 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 9472 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 9699 # as there is no search path for DLLs. | 9473 # as there is no search path for DLLs. |
| 9700 hardcode_libdir_flag_spec='-L$libdir' | 9474 hardcode_libdir_flag_spec='-L$libdir' |
| 9701 export_dynamic_flag_spec='$wl--export-all-symbols' | 9475 export_dynamic_flag_spec='${wl}--export-all-symbols' |
| 9702 allow_undefined_flag=unsupported | 9476 allow_undefined_flag=unsupported |
| 9703 always_export_symbols=no | 9477 always_export_symbols=no |
| 9704 enable_shared_with_static_runtimes=yes | 9478 enable_shared_with_static_runtimes=yes |
| 9705 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE
D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*
/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | 9479 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SE
D -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*
/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
| 9706 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A
-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | 9480 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A
-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 9707 | 9481 |
| 9708 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 9482 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 9709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o
bjdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 9483 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o
bjdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 9710 » # If the export-symbols file already is a .def file, use it as | 9484 » # If the export-symbols file already is a .def file (1st line |
| 9711 » # is; otherwise, prepend EXPORTS... | 9485 » # is EXPORTS), use it as is; otherwise, prepend... |
| 9712 » archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[» ]*//'\'
' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([» ].*\)*$
/DEF/p'\'' -e q $export_symbols`" ; then | 9486 » archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en |
| 9713 cp $export_symbols $output_objdir/$soname.def; | 9487 » cp $export_symbols $output_objdir/$soname.def; |
| 9714 else | 9488 » else |
| 9715 echo EXPORTS > $output_objdir/$soname.def; | 9489 » echo EXPORTS > $output_objdir/$soname.def; |
| 9716 cat $export_symbols >> $output_objdir/$soname.def; | 9490 » cat $export_symbols >> $output_objdir/$soname.def; |
| 9717 fi~ | 9491 » fi~ |
| 9718 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xl
inker $lib' | 9492 » $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -
Xlinker $lib' |
| 9719 else | 9493 else |
| 9720 ld_shlibs=no | 9494 ld_shlibs=no |
| 9721 fi | 9495 fi |
| 9722 ;; | 9496 ;; |
| 9723 | 9497 |
| 9724 haiku*) | 9498 haiku*) |
| 9725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl
$soname -o $lib' | 9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $
wl$soname -o $lib' |
| 9726 link_all_deplibs=yes | 9500 link_all_deplibs=yes |
| 9727 ;; | 9501 ;; |
| 9728 | 9502 |
| 9729 os2*) | |
| 9730 hardcode_libdir_flag_spec='-L$libdir' | |
| 9731 hardcode_minus_L=yes | |
| 9732 allow_undefined_flag=unsupported | |
| 9733 shrext_cmds=.dll | |
| 9734 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTAN
CE" > $output_objdir/$libname.def~ | |
| 9735 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ | |
| 9736 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ | |
| 9737 $ECHO EXPORTS >> $output_objdir/$libname.def~ | |
| 9738 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def
~ | |
| 9739 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ | |
| 9740 emximp -o $lib $output_objdir/$libname.def' | |
| 9741 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TER
MINSTANCE" > $output_objdir/$libname.def~ | |
| 9742 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ | |
| 9743 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ | |
| 9744 $ECHO EXPORTS >> $output_objdir/$libname.def~ | |
| 9745 prefix_cmds="$SED"~ | |
| 9746 if test EXPORTS = "`$SED 1q $export_symbols`"; then | |
| 9747 prefix_cmds="$prefix_cmds -e 1d"; | |
| 9748 fi~ | |
| 9749 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ | |
| 9750 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ | |
| 9751 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ | |
| 9752 emximp -o $lib $output_objdir/$libname.def' | |
| 9753 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $outp
ut_objdir/$libname.def' | |
| 9754 enable_shared_with_static_runtimes=yes | |
| 9755 ;; | |
| 9756 | |
| 9757 interix[3-9]*) | 9503 interix[3-9]*) |
| 9758 hardcode_direct=no | 9504 hardcode_direct=no |
| 9759 hardcode_shlibpath_var=no | 9505 hardcode_shlibpath_var=no |
| 9760 hardcode_libdir_flag_spec='$wl-rpath,$libdir' | 9506 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 9761 export_dynamic_flag_spec='$wl-E' | 9507 export_dynamic_flag_spec='${wl}-E' |
| 9762 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 9508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 9763 # Instead, shared libraries are loaded at an image base (0x10000000 by | 9509 # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 9764 # default) and relocated if they conflict, which is a slow very memory | 9510 # default) and relocated if they conflict, which is a slow very memory |
| 9765 # consuming and fragmenting process. To avoid this, we pick a random, | 9511 # consuming and fragmenting process. To avoid this, we pick a random, |
| 9766 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 9512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 9767 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | 9513 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 9768 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-
h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280`
-o $lib' | 9514 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl
}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 13421772
80` -o $lib' |
| 9769 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 ${RAND
OM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 9515 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' |
| 9770 ;; | 9516 ;; |
| 9771 | 9517 |
| 9772 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | 9518 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 9773 tmp_diet=no | 9519 tmp_diet=no |
| 9774 if test linux-dietlibc = "$host_os"; then | 9520 if test "$host_os" = linux-dietlibc; then |
| 9775 case $cc_basename in | 9521 case $cc_basename in |
| 9776 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) | 9522 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) |
| 9777 esac | 9523 esac |
| 9778 fi | 9524 fi |
| 9779 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 9525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 9780 » && test no = "$tmp_diet" | 9526 » && test "$tmp_diet" = no |
| 9781 then | 9527 then |
| 9782 tmp_addflag=' $pic_flag' | 9528 tmp_addflag=' $pic_flag' |
| 9783 tmp_sharedflag='-shared' | 9529 tmp_sharedflag='-shared' |
| 9784 case $cc_basename,$host_cpu in | 9530 case $cc_basename,$host_cpu in |
| 9785 pgcc*) # Portland Group C compiler | 9531 pgcc*) # Portland Group C compiler |
| 9786 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"
\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f
unc_echo_all \"$new_convenience\"` $wl--no-whole-archive' | 9532 » 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' |
| 9787 tmp_addflag=' $pic_flag' | 9533 tmp_addflag=' $pic_flag' |
| 9788 ;; | 9534 ;; |
| 9789 pgf77* | pgf90* | pgf95* | pgfortran*) | 9535 pgf77* | pgf90* | pgf95* | pgfortran*) |
| 9790 # Portland Group f77 and f90 compilers | 9536 # Portland Group f77 and f90 compilers |
| 9791 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"
\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f
unc_echo_all \"$new_convenience\"` $wl--no-whole-archive' | 9537 » 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' |
| 9792 tmp_addflag=' $pic_flag -Mnomain' ;; | 9538 tmp_addflag=' $pic_flag -Mnomain' ;; |
| 9793 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | 9539 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 9794 tmp_addflag=' -i_dynamic' ;; | 9540 tmp_addflag=' -i_dynamic' ;; |
| 9795 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | 9541 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 9796 tmp_addflag=' -i_dynamic -nofor_main' ;; | 9542 tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 9797 ifc* | ifort*) # Intel Fortran compiler | 9543 ifc* | ifort*) # Intel Fortran compiler |
| 9798 tmp_addflag=' -nofor_main' ;; | 9544 tmp_addflag=' -nofor_main' ;; |
| 9799 lf95*) # Lahey Fortran 8.1 | 9545 lf95*) # Lahey Fortran 8.1 |
| 9800 whole_archive_flag_spec= | 9546 whole_archive_flag_spec= |
| 9801 tmp_sharedflag='--shared' ;; | 9547 tmp_sharedflag='--shared' ;; |
| 9802 nagfor*) # NAGFOR 5.3 | |
| 9803 tmp_sharedflag='-Wl,-shared' ;; | |
| 9804 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b
elow) | 9548 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b
elow) |
| 9805 tmp_sharedflag='-qmkshrobj' | 9549 tmp_sharedflag='-qmkshrobj' |
| 9806 tmp_addflag= ;; | 9550 tmp_addflag= ;; |
| 9807 nvcc*) # Cuda Compiler Driver 2.2 | 9551 nvcc*) # Cuda Compiler Driver 2.2 |
| 9808 » whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"
\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; f
unc_echo_all \"$new_convenience\"` $wl--no-whole-archive' | 9552 » 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' |
| 9809 compiler_needs_object=yes | 9553 compiler_needs_object=yes |
| 9810 ;; | 9554 ;; |
| 9811 esac | 9555 esac |
| 9812 case `$CC -V 2>&1 | sed 5q` in | 9556 case `$CC -V 2>&1 | sed 5q` in |
| 9813 *Sun\ C*) # Sun C 5.9 | 9557 *Sun\ C*) # Sun C 5.9 |
| 9814 » 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' | 9558 » whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for co
nv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenien
ce,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
| 9815 compiler_needs_object=yes | 9559 compiler_needs_object=yes |
| 9816 tmp_sharedflag='-G' ;; | 9560 tmp_sharedflag='-G' ;; |
| 9817 *Sun\ F*) # Sun Fortran 8.3 | 9561 *Sun\ F*) # Sun Fortran 8.3 |
| 9818 tmp_sharedflag='-G' ;; | 9562 tmp_sharedflag='-G' ;; |
| 9819 esac | 9563 esac |
| 9820 » archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags $wl-soname $wl$soname -o $lib' | 9564 » archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' |
| 9821 | 9565 |
| 9822 if test yes = "$supports_anon_versioning"; then | 9566 if test "x$supports_anon_versioning" = xyes; then |
| 9823 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 9567 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9824 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ | 9568 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ |
| 9825 echo "local: *; };" >> $output_objdir/$libname.ver~ | 9569 » echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 9826 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl
ags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $
lib' | 9570 » $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl
ags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ve
r -o $lib' |
| 9827 fi | 9571 fi |
| 9828 | 9572 |
| 9829 case $cc_basename in | 9573 case $cc_basename in |
| 9830 tcc*) | |
| 9831 export_dynamic_flag_spec='-rdynamic' | |
| 9832 ;; | |
| 9833 xlf* | bgf* | bgxlf* | mpixlf*) | 9574 xlf* | bgf* | bgxlf* | mpixlf*) |
| 9834 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | 9575 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 9835 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' | 9576 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' |
| 9836 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 9577 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9837 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' | 9578 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' |
| 9838 » if test yes = "$supports_anon_versioning"; then | 9579 » if test "x$supports_anon_versioning" = xyes; then |
| 9839 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 9580 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 9840 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ | 9581 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ |
| 9841 echo "local: *; };" >> $output_objdir/$libname.ver~ | 9582 » echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 9842 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' | 9583 » $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' |
| 9843 fi | 9584 fi |
| 9844 ;; | 9585 ;; |
| 9845 esac | 9586 esac |
| 9846 else | 9587 else |
| 9847 ld_shlibs=no | 9588 ld_shlibs=no |
| 9848 fi | 9589 fi |
| 9849 ;; | 9590 ;; |
| 9850 | 9591 |
| 9851 netbsd*) | 9592 netbsd* | netbsdelf*-gnu) |
| 9852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 9593 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 9853 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 9594 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 9854 wlarc= | 9595 wlarc= |
| 9855 else | 9596 else |
| 9856 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w
l-soname $wl$soname -o $lib' | 9597 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 9857 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | 9598 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' |
| 9858 fi | 9599 fi |
| 9859 ;; | 9600 ;; |
| 9860 | 9601 |
| 9861 solaris*) | 9602 solaris*) |
| 9862 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | 9603 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 9863 ld_shlibs=no | 9604 ld_shlibs=no |
| 9864 cat <<_LT_EOF 1>&2 | 9605 cat <<_LT_EOF 1>&2 |
| 9865 | 9606 |
| 9866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 9607 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 9867 *** create shared libraries on Solaris systems. Therefore, libtool | 9608 *** create shared libraries on Solaris systems. Therefore, libtool |
| 9868 *** is disabling shared libraries support. We urge you to upgrade GNU | 9609 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 9869 *** binutils to release 2.9.1 or newer. Another option is to modify | 9610 *** binutils to release 2.9.1 or newer. Another option is to modify |
| 9870 *** your PATH or compiler configuration so that the native linker is | 9611 *** your PATH or compiler configuration so that the native linker is |
| 9871 *** used, and then restart. | 9612 *** used, and then restart. |
| 9872 | 9613 |
| 9873 _LT_EOF | 9614 _LT_EOF |
| 9874 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n | 9615 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n |
| 9875 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w
l-soname $wl$soname -o $lib' | 9616 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 9876 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | 9617 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' |
| 9877 else | 9618 else |
| 9878 ld_shlibs=no | 9619 ld_shlibs=no |
| 9879 fi | 9620 fi |
| 9880 ;; | 9621 ;; |
| 9881 | 9622 |
| 9882 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | 9623 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 9883 case `$LD -v 2>&1` in | 9624 case `$LD -v 2>&1` in |
| 9884 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | 9625 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 9885 ld_shlibs=no | 9626 ld_shlibs=no |
| 9886 cat <<_LT_EOF 1>&2 | 9627 cat <<_LT_EOF 1>&2 |
| 9887 | 9628 |
| 9888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot | 9629 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 9889 *** reliably create shared libraries on SCO systems. Therefore, libtool | 9630 *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 9890 *** is disabling shared libraries support. We urge you to upgrade GNU | 9631 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 9891 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | 9632 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 9892 *** your PATH or compiler configuration so that the native linker is | 9633 *** your PATH or compiler configuration so that the native linker is |
| 9893 *** used, and then restart. | 9634 *** used, and then restart. |
| 9894 | 9635 |
| 9895 _LT_EOF | 9636 _LT_EOF |
| 9896 ;; | 9637 ;; |
| 9897 *) | 9638 *) |
| 9898 # For security reasons, it is highly recommended that you always | 9639 # For security reasons, it is highly recommended that you always |
| 9899 # use absolute paths for naming shared libraries, and exclude the | 9640 # use absolute paths for naming shared libraries, and exclude the |
| 9900 # DT_RUNPATH tag from executables and libraries. But doing so | 9641 # DT_RUNPATH tag from executables and libraries. But doing so |
| 9901 # requires that you compile everything twice, which is a pain. | 9642 # requires that you compile everything twice, which is a pain. |
| 9902 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen | 9643 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen |
| 9903 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 9644 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 9904 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $wl$soname -o $lib' | 9645 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 9905 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $
wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | 9646 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 9906 else | 9647 else |
| 9907 ld_shlibs=no | 9648 ld_shlibs=no |
| 9908 fi | 9649 fi |
| 9909 ;; | 9650 ;; |
| 9910 esac | 9651 esac |
| 9911 ;; | 9652 ;; |
| 9912 | 9653 |
| 9913 sunos4*) | 9654 sunos4*) |
| 9914 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' | 9655 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' |
| 9915 wlarc= | 9656 wlarc= |
| 9916 hardcode_direct=yes | 9657 hardcode_direct=yes |
| 9917 hardcode_shlibpath_var=no | 9658 hardcode_shlibpath_var=no |
| 9918 ;; | 9659 ;; |
| 9919 | 9660 |
| 9920 *) | 9661 *) |
| 9921 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 9662 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 9922 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w
l-soname $wl$soname -o $lib' | 9663 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 9923 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' | 9664 » archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $li
b' |
| 9924 else | 9665 else |
| 9925 ld_shlibs=no | 9666 ld_shlibs=no |
| 9926 fi | 9667 fi |
| 9927 ;; | 9668 ;; |
| 9928 esac | 9669 esac |
| 9929 | 9670 |
| 9930 if test no = "$ld_shlibs"; then | 9671 if test "$ld_shlibs" = no; then |
| 9931 runpath_var= | 9672 runpath_var= |
| 9932 hardcode_libdir_flag_spec= | 9673 hardcode_libdir_flag_spec= |
| 9933 export_dynamic_flag_spec= | 9674 export_dynamic_flag_spec= |
| 9934 whole_archive_flag_spec= | 9675 whole_archive_flag_spec= |
| 9935 fi | 9676 fi |
| 9936 else | 9677 else |
| 9937 # PORTME fill in a description of your system's linker (not GNU ld) | 9678 # PORTME fill in a description of your system's linker (not GNU ld) |
| 9938 case $host_os in | 9679 case $host_os in |
| 9939 aix3*) | 9680 aix3*) |
| 9940 allow_undefined_flag=unsupported | 9681 allow_undefined_flag=unsupported |
| 9941 always_export_symbols=yes | 9682 always_export_symbols=yes |
| 9942 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $link
er_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objd
ir/$soname' | 9683 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $link
er_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objd
ir/$soname' |
| 9943 # Note: this linker hardcodes the directories in LIBPATH if there | 9684 # Note: this linker hardcodes the directories in LIBPATH if there |
| 9944 # are no directories specified by -L. | 9685 # are no directories specified by -L. |
| 9945 hardcode_minus_L=yes | 9686 hardcode_minus_L=yes |
| 9946 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then | 9687 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 9947 # Neither direct hardcoding nor static linking is supported with a | 9688 # Neither direct hardcoding nor static linking is supported with a |
| 9948 # broken collect2. | 9689 # broken collect2. |
| 9949 hardcode_direct=unsupported | 9690 hardcode_direct=unsupported |
| 9950 fi | 9691 fi |
| 9951 ;; | 9692 ;; |
| 9952 | 9693 |
| 9953 aix[4-9]*) | 9694 aix[4-9]*) |
| 9954 if test ia64 = "$host_cpu"; then | 9695 if test "$host_cpu" = ia64; then |
| 9955 # On IA64, the linker does run time linking by default, so we don't | 9696 # On IA64, the linker does run time linking by default, so we don't |
| 9956 # have to do anything special. | 9697 # have to do anything special. |
| 9957 aix_use_runtimelinking=no | 9698 aix_use_runtimelinking=no |
| 9958 exp_sym_flag='-Bexport' | 9699 exp_sym_flag='-Bexport' |
| 9959 » no_entry_flag= | 9700 » no_entry_flag="" |
| 9960 else | 9701 else |
| 9961 # If we're using GNU nm, then we don't want the "-C" option. | 9702 # If we're using GNU nm, then we don't want the "-C" option. |
| 9962 » # -C means demangle to GNU nm, but means don't demangle to AIX nm. | 9703 » # -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 9963 » # Without the "-l" option, or with the "-B" option, AIX nm treats | 9704 » # Also, AIX nm treats weak defined symbols like other global |
| 9964 » # weak defined symbols like other global defined symbols, whereas | 9705 » # defined symbols, whereas GNU nm marks them as "W". |
| 9965 » # GNU nm marks them as "W". | |
| 9966 » # While the 'weak' keyword is ignored in the Export File, we need | |
| 9967 » # it in the Import File for the 'aix-soname' feature, so we have | |
| 9968 » # to replace the "-B" option with "-P" for AIX nm. | |
| 9969 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 9706 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 9970 » 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' | 9707 » export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((
\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3
,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 9971 else | 9708 else |
| 9972 » 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")) && (su
bstr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) {
print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' | 9709 » export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if ((
(\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) {
print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 9973 fi | 9710 fi |
| 9974 aix_use_runtimelinking=no | 9711 aix_use_runtimelinking=no |
| 9975 | 9712 |
| 9976 # Test if we are trying to use run time linking or normal | 9713 # Test if we are trying to use run time linking or normal |
| 9977 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 9714 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 9978 » # have runtime linking enabled, and use it for executables. | 9715 » # need to do runtime linking. |
| 9979 » # For shared libraries, we enable/disable runtime linking | |
| 9980 » # depending on the kind of the shared library created - | |
| 9981 » # when "with_aix_soname,aix_use_runtimelinking" is: | |
| 9982 » # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables | |
| 9983 » # "aix,yes" lib.so shared, rtl:yes, for executables | |
| 9984 » # lib.a static archive | |
| 9985 » # "both,no" lib.so.V(shr.o) shared, rtl:yes | |
| 9986 » # lib.a(lib.so.V) shared, rtl:no, for executables | |
| 9987 » # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables | |
| 9988 » # lib.a(lib.so.V) shared, rtl:no | |
| 9989 » # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables | |
| 9990 » # lib.a static archive | |
| 9991 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | 9716 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 9992 for ld_flag in $LDFLAGS; do | 9717 for ld_flag in $LDFLAGS; do |
| 9993 » if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then | 9718 » if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
| 9994 aix_use_runtimelinking=yes | 9719 aix_use_runtimelinking=yes |
| 9995 break | 9720 break |
| 9996 fi | 9721 fi |
| 9997 done | 9722 done |
| 9998 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then | |
| 9999 # With aix-soname=svr4, we create the lib.so.V shared archives only, | |
| 10000 # so we don't have lib.a shared libs to link our executables. | |
| 10001 # We have to force runtime linking in this case. | |
| 10002 aix_use_runtimelinking=yes | |
| 10003 LDFLAGS="$LDFLAGS -Wl,-brtl" | |
| 10004 fi | |
| 10005 ;; | 9723 ;; |
| 10006 esac | 9724 esac |
| 10007 | 9725 |
| 10008 exp_sym_flag='-bexport' | 9726 exp_sym_flag='-bexport' |
| 10009 no_entry_flag='-bnoentry' | 9727 no_entry_flag='-bnoentry' |
| 10010 fi | 9728 fi |
| 10011 | 9729 |
| 10012 # When large executables or shared objects are built, AIX ld can | 9730 # When large executables or shared objects are built, AIX ld can |
| 10013 # have problems creating the table of contents. If linking a library | 9731 # have problems creating the table of contents. If linking a library |
| 10014 # or program results in "error TOC overflow" add -mminimal-toc to | 9732 # or program results in "error TOC overflow" add -mminimal-toc to |
| 10015 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | 9733 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 10016 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 9734 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 10017 | 9735 |
| 10018 archive_cmds='' | 9736 archive_cmds='' |
| 10019 hardcode_direct=yes | 9737 hardcode_direct=yes |
| 10020 hardcode_direct_absolute=yes | 9738 hardcode_direct_absolute=yes |
| 10021 hardcode_libdir_separator=':' | 9739 hardcode_libdir_separator=':' |
| 10022 link_all_deplibs=yes | 9740 link_all_deplibs=yes |
| 10023 file_list_spec='$wl-f,' | 9741 file_list_spec='${wl}-f,' |
| 10024 case $with_aix_soname,$aix_use_runtimelinking in | |
| 10025 aix,*) ;; # traditional, no import file | |
| 10026 svr4,* | *,yes) # use import file | |
| 10027 » # The Import File defines what to hardcode. | |
| 10028 » hardcode_direct=no | |
| 10029 » hardcode_direct_absolute=no | |
| 10030 » ;; | |
| 10031 esac | |
| 10032 | 9742 |
| 10033 if test yes = "$GCC"; then | 9743 if test "$GCC" = yes; then |
| 10034 case $host_os in aix4.[012]|aix4.[012].*) | 9744 case $host_os in aix4.[012]|aix4.[012].*) |
| 10035 # We only want to do this on AIX 4.2 and lower, the check | 9745 # We only want to do this on AIX 4.2 and lower, the check |
| 10036 # below for broken collect2 doesn't work under 4.3+ | 9746 # below for broken collect2 doesn't work under 4.3+ |
| 10037 » collect2name=`$CC -print-prog-name=collect2` | 9747 » collect2name=`${CC} -print-prog-name=collect2` |
| 10038 if test -f "$collect2name" && | 9748 if test -f "$collect2name" && |
| 10039 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 9749 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 10040 then | 9750 then |
| 10041 # We have reworked collect2 | 9751 # We have reworked collect2 |
| 10042 : | 9752 : |
| 10043 else | 9753 else |
| 10044 # We have old collect2 | 9754 # We have old collect2 |
| 10045 hardcode_direct=unsupported | 9755 hardcode_direct=unsupported |
| 10046 # It fails to find uninstalled libraries when the uninstalled | 9756 # It fails to find uninstalled libraries when the uninstalled |
| 10047 # path is not listed in the libpath. Setting hardcode_minus_L | 9757 # path is not listed in the libpath. Setting hardcode_minus_L |
| 10048 # to unsupported forces relinking | 9758 # to unsupported forces relinking |
| 10049 hardcode_minus_L=yes | 9759 hardcode_minus_L=yes |
| 10050 hardcode_libdir_flag_spec='-L$libdir' | 9760 hardcode_libdir_flag_spec='-L$libdir' |
| 10051 hardcode_libdir_separator= | 9761 hardcode_libdir_separator= |
| 10052 fi | 9762 fi |
| 10053 ;; | 9763 ;; |
| 10054 esac | 9764 esac |
| 10055 shared_flag='-shared' | 9765 shared_flag='-shared' |
| 10056 » if test yes = "$aix_use_runtimelinking"; then | 9766 » if test "$aix_use_runtimelinking" = yes; then |
| 10057 » shared_flag="$shared_flag "'$wl-G' | 9767 » shared_flag="$shared_flag "'${wl}-G' |
| 10058 fi | 9768 fi |
| 10059 » # Need to ensure runtime linking is disabled for the traditional | 9769 » link_all_deplibs=no |
| 10060 » # shared library, or the linker may eventually find shared libraries | |
| 10061 » # /with/ Import File - we do not want to mix them. | |
| 10062 » shared_flag_aix='-shared' | |
| 10063 » shared_flag_svr4='-shared $wl-G' | |
| 10064 else | 9770 else |
| 10065 # not using gcc | 9771 # not using gcc |
| 10066 » if test ia64 = "$host_cpu"; then | 9772 » if test "$host_cpu" = ia64; then |
| 10067 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 9773 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 10068 # chokes on -Wl,-G. The following line is correct: | 9774 # chokes on -Wl,-G. The following line is correct: |
| 10069 shared_flag='-G' | 9775 shared_flag='-G' |
| 10070 else | 9776 else |
| 10071 » if test yes = "$aix_use_runtimelinking"; then | 9777 » if test "$aix_use_runtimelinking" = yes; then |
| 10072 » shared_flag='$wl-G' | 9778 » shared_flag='${wl}-G' |
| 10073 else | 9779 else |
| 10074 » shared_flag='$wl-bM:SRE' | 9780 » shared_flag='${wl}-bM:SRE' |
| 10075 fi | 9781 fi |
| 10076 shared_flag_aix='$wl-bM:SRE' | |
| 10077 shared_flag_svr4='$wl-G' | |
| 10078 fi | 9782 fi |
| 10079 fi | 9783 fi |
| 10080 | 9784 |
| 10081 export_dynamic_flag_spec='$wl-bexpall' | 9785 export_dynamic_flag_spec='${wl}-bexpall' |
| 10082 # It seems that -bexpall does not export symbols beginning with | 9786 # It seems that -bexpall does not export symbols beginning with |
| 10083 # underscore (_), so it is better to generate a list of symbols to export. | 9787 # underscore (_), so it is better to generate a list of symbols to export. |
| 10084 always_export_symbols=yes | 9788 always_export_symbols=yes |
| 10085 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then | 9789 if test "$aix_use_runtimelinking" = yes; then |
| 10086 # Warning - without using the other runtime loading flags (-brtl), | 9790 # Warning - without using the other runtime loading flags (-brtl), |
| 10087 # -berok will link without error, but may produce a broken library. | 9791 # -berok will link without error, but may produce a broken library. |
| 10088 allow_undefined_flag='-berok' | 9792 allow_undefined_flag='-berok' |
| 10089 # Determine the default libpath from the value encoded in an | 9793 # Determine the default libpath from the value encoded in an |
| 10090 # empty executable. | 9794 # empty executable. |
| 10091 if test set = "${lt_cv_aix_libpath+set}"; then | 9795 if test "${lt_cv_aix_libpath+set}" = set; then |
| 10092 aix_libpath=$lt_cv_aix_libpath | 9796 aix_libpath=$lt_cv_aix_libpath |
| 10093 else | 9797 else |
| 10094 if ${lt_cv_aix_libpath_+:} false; then : | 9798 if ${lt_cv_aix_libpath_+:} false; then : |
| 10095 $as_echo_n "(cached) " >&6 | 9799 $as_echo_n "(cached) " >&6 |
| 10096 else | 9800 else |
| 10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10098 /* end confdefs.h. */ | 9802 /* end confdefs.h. */ |
| 10099 | 9803 |
| 10100 int | 9804 int |
| 10101 main () | 9805 main () |
| (...skipping 14 matching lines...) Expand all Loading... |
| 10116 }' | 9820 }' |
| 10117 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` | 9821 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` |
| 10118 # Check for a 64-bit object if we didn't find anything. | 9822 # Check for a 64-bit object if we didn't find anything. |
| 10119 if test -z "$lt_cv_aix_libpath_"; then | 9823 if test -z "$lt_cv_aix_libpath_"; then |
| 10120 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` | 9824 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` |
| 10121 fi | 9825 fi |
| 10122 fi | 9826 fi |
| 10123 rm -f core conftest.err conftest.$ac_objext \ | 9827 rm -f core conftest.err conftest.$ac_objext \ |
| 10124 conftest$ac_exeext conftest.$ac_ext | 9828 conftest$ac_exeext conftest.$ac_ext |
| 10125 if test -z "$lt_cv_aix_libpath_"; then | 9829 if test -z "$lt_cv_aix_libpath_"; then |
| 10126 lt_cv_aix_libpath_=/usr/lib:/lib | 9830 lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10127 fi | 9831 fi |
| 10128 | 9832 |
| 10129 fi | 9833 fi |
| 10130 | 9834 |
| 10131 aix_libpath=$lt_cv_aix_libpath_ | 9835 aix_libpath=$lt_cv_aix_libpath_ |
| 10132 fi | 9836 fi |
| 10133 | 9837 |
| 10134 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" | 9838 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10135 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_symb
ols' '$shared_flag | 9839 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\
${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"
; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sy
m_flag:\$export_symbols $shared_flag" |
| 10136 else | 9840 else |
| 10137 » if test ia64 = "$host_cpu"; then | 9841 » if test "$host_cpu" = ia64; then |
| 10138 » hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' | 9842 » hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 10139 allow_undefined_flag="-z nodefs" | 9843 allow_undefined_flag="-z nodefs" |
| 10140 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li
bobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '
"\$wl$exp_sym_flag:\$export_symbols" | 9844 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li
bobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_f
lag} '"\${wl}$exp_sym_flag:\$export_symbols" |
| 10141 else | 9845 else |
| 10142 # Determine the default libpath from the value encoded in an | 9846 # Determine the default libpath from the value encoded in an |
| 10143 # empty executable. | 9847 # empty executable. |
| 10144 » if test set = "${lt_cv_aix_libpath+set}"; then | 9848 » if test "${lt_cv_aix_libpath+set}" = set; then |
| 10145 aix_libpath=$lt_cv_aix_libpath | 9849 aix_libpath=$lt_cv_aix_libpath |
| 10146 else | 9850 else |
| 10147 if ${lt_cv_aix_libpath_+:} false; then : | 9851 if ${lt_cv_aix_libpath_+:} false; then : |
| 10148 $as_echo_n "(cached) " >&6 | 9852 $as_echo_n "(cached) " >&6 |
| 10149 else | 9853 else |
| 10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10151 /* end confdefs.h. */ | 9855 /* end confdefs.h. */ |
| 10152 | 9856 |
| 10153 int | 9857 int |
| 10154 main () | 9858 main () |
| (...skipping 14 matching lines...) Expand all Loading... |
| 10169 }' | 9873 }' |
| 10170 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` | 9874 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` |
| 10171 # Check for a 64-bit object if we didn't find anything. | 9875 # Check for a 64-bit object if we didn't find anything. |
| 10172 if test -z "$lt_cv_aix_libpath_"; then | 9876 if test -z "$lt_cv_aix_libpath_"; then |
| 10173 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` | 9877 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` |
| 10174 fi | 9878 fi |
| 10175 fi | 9879 fi |
| 10176 rm -f core conftest.err conftest.$ac_objext \ | 9880 rm -f core conftest.err conftest.$ac_objext \ |
| 10177 conftest$ac_exeext conftest.$ac_ext | 9881 conftest$ac_exeext conftest.$ac_ext |
| 10178 if test -z "$lt_cv_aix_libpath_"; then | 9882 if test -z "$lt_cv_aix_libpath_"; then |
| 10179 lt_cv_aix_libpath_=/usr/lib:/lib | 9883 lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10180 fi | 9884 fi |
| 10181 | 9885 |
| 10182 fi | 9886 fi |
| 10183 | 9887 |
| 10184 aix_libpath=$lt_cv_aix_libpath_ | 9888 aix_libpath=$lt_cv_aix_libpath_ |
| 10185 fi | 9889 fi |
| 10186 | 9890 |
| 10187 » hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" | 9891 » hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10188 # Warning - without using the other run time loading flags, | 9892 # Warning - without using the other run time loading flags, |
| 10189 # -berok will link without error, but may produce a broken library. | 9893 # -berok will link without error, but may produce a broken library. |
| 10190 » no_undefined_flag=' $wl-bernotok' | 9894 » no_undefined_flag=' ${wl}-bernotok' |
| 10191 » allow_undefined_flag=' $wl-berok' | 9895 » allow_undefined_flag=' ${wl}-berok' |
| 10192 » if test yes = "$with_gnu_ld"; then | 9896 » if test "$with_gnu_ld" = yes; then |
| 10193 # We only use this code for GNU lds that support --whole-archive. | 9897 # We only use this code for GNU lds that support --whole-archive. |
| 10194 » whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whol
e-archive' | 9898 » whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-
whole-archive' |
| 10195 else | 9899 else |
| 10196 # Exported symbols can be pulled into shared objects from archives | 9900 # Exported symbols can be pulled into shared objects from archives |
| 10197 whole_archive_flag_spec='$convenience' | 9901 whole_archive_flag_spec='$convenience' |
| 10198 fi | 9902 fi |
| 10199 archive_cmds_need_lc=yes | 9903 archive_cmds_need_lc=yes |
| 10200 » archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_
objdir/$realname.d' | 9904 » # This is similar to how AIX traditionally builds its shared libraries
. |
| 10201 » # -brtl affects multiple linker settings, -berok does not and is overr
idden later | 9905 » archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $li
bobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_un
defined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$so
name' |
| 10202 » compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "
s%-brtl\\([, ]\\)%-berok\\1%g"`' | |
| 10203 » if test svr4 != "$with_aix_soname"; then | |
| 10204 » # This is similar to how AIX traditionally builds its shared librari
es. | |
| 10205 » archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -
o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_f
lags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_
objdir/$libname$release.a $output_objdir/$realname.d/$soname' | |
| 10206 » fi | |
| 10207 » if test aix != "$with_aix_soname"; then | |
| 10208 » archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4'
-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $w
l-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_archi
ve_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~$A
R $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_me
mber_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' | |
| 10209 » else | |
| 10210 » # used by -dlpreopen to get the symbols | |
| 10211 » archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$rea
lname.d/$soname $output_objdir' | |
| 10212 » fi | |
| 10213 » archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$rea
lname.d' | |
| 10214 fi | 9906 fi |
| 10215 fi | 9907 fi |
| 10216 ;; | 9908 ;; |
| 10217 | 9909 |
| 10218 amigaos*) | 9910 amigaos*) |
| 10219 case $host_cpu in | 9911 case $host_cpu in |
| 10220 powerpc) | 9912 powerpc) |
| 10221 # see comment about AmigaOS4 .so support | 9913 # see comment about AmigaOS4 .so support |
| 10222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $wl$soname -o $lib' | 9914 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 10223 archive_expsym_cmds='' | 9915 archive_expsym_cmds='' |
| 10224 ;; | 9916 ;; |
| 10225 m68k) | 9917 m68k) |
| 10226 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' | 9918 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAM
E $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $o
utput_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a
2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary
.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary
-32)' |
| 10227 hardcode_libdir_flag_spec='-L$libdir' | 9919 hardcode_libdir_flag_spec='-L$libdir' |
| 10228 hardcode_minus_L=yes | 9920 hardcode_minus_L=yes |
| 10229 ;; | 9921 ;; |
| 10230 esac | 9922 esac |
| 10231 ;; | 9923 ;; |
| 10232 | 9924 |
| 10233 bsdi[45]*) | 9925 bsdi[45]*) |
| 10234 export_dynamic_flag_spec=-rdynamic | 9926 export_dynamic_flag_spec=-rdynamic |
| 10235 ;; | 9927 ;; |
| 10236 | 9928 |
| 10237 cygwin* | mingw* | pw32* | cegcc*) | 9929 cygwin* | mingw* | pw32* | cegcc*) |
| 10238 # When not using gcc, we currently assume that we are using | 9930 # When not using gcc, we currently assume that we are using |
| 10239 # Microsoft Visual C++. | 9931 # Microsoft Visual C++. |
| 10240 # hardcode_libdir_flag_spec is actually meaningless, as there is | 9932 # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 10241 # no search path for DLLs. | 9933 # no search path for DLLs. |
| 10242 case $cc_basename in | 9934 case $cc_basename in |
| 10243 cl*) | 9935 cl*) |
| 10244 # Native MSVC | 9936 # Native MSVC |
| 10245 hardcode_libdir_flag_spec=' ' | 9937 hardcode_libdir_flag_spec=' ' |
| 10246 allow_undefined_flag=unsupported | 9938 allow_undefined_flag=unsupported |
| 10247 always_export_symbols=yes | 9939 always_export_symbols=yes |
| 10248 file_list_spec='@' | 9940 file_list_spec='@' |
| 10249 # Tell ltmain to make .lib files, not .a files. | 9941 # Tell ltmain to make .lib files, not .a files. |
| 10250 libext=lib | 9942 libext=lib |
| 10251 # Tell ltmain to make .dll files, not .so files. | 9943 # Tell ltmain to make .dll files, not .so files. |
| 10252 » shrext_cmds=.dll | 9944 » shrext_cmds=".dll" |
| 10253 # FIXME: Setting linknames here is a bad hack. | 9945 # FIXME: Setting linknames here is a bad hack. |
| 10254 » archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de
plibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' | 9946 » archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de
plibs -Wl,-dll~linknames=' |
| 10255 » archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[» ]*//'\'
' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([» ].*\)*$
/DEF/p'\'' -e q $export_symbols`" ; then | 9947 » archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en |
| 10256 cp "$export_symbols" "$output_objdir/$soname.def"; | 9948 » sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\
!p' < $export_symbols > $output_objdir/$soname.exp; |
| 10257 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"
; | 9949 » else |
| 10258 else | 9950 » sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_s
ymbols > $output_objdir/$soname.exp; |
| 10259 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objd
ir/$soname.exp; | 9951 » fi~ |
| 10260 fi~ | 9952 » $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@
$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl
l.lib"~ |
| 10261 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@
$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl
l.lib"~ | 9953 » linknames=' |
| 10262 linknames=' | |
| 10263 # The linker will not automatically build a static lib if we build a DLL
. | 9954 # The linker will not automatically build a static lib if we build a DLL
. |
| 10264 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' | 9955 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 10265 enable_shared_with_static_runtimes=yes | 9956 enable_shared_with_static_runtimes=yes |
| 10266 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | 9957 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 10267 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $
SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]
/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | 9958 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $
SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]
/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 10268 # Don't use ranlib | 9959 # Don't use ranlib |
| 10269 old_postinstall_cmds='chmod 644 $oldlib' | 9960 old_postinstall_cmds='chmod 644 $oldlib' |
| 10270 postlink_cmds='lt_outputfile="@OUTPUT@"~ | 9961 postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 10271 lt_tool_outputfile="@TOOL_OUTPUT@"~ | 9962 » lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 10272 case $lt_outputfile in | 9963 » case $lt_outputfile in |
| 10273 *.exe|*.EXE) ;; | 9964 » *.exe|*.EXE) ;; |
| 10274 *) | 9965 » *) |
| 10275 lt_outputfile=$lt_outputfile.exe | 9966 » lt_outputfile="$lt_outputfile.exe" |
| 10276 lt_tool_outputfile=$lt_tool_outputfile.exe | 9967 » lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 10277 ;; | 9968 » ;; |
| 10278 esac~ | 9969 » esac~ |
| 10279 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; th
en | 9970 » if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest";
then |
| 10280 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; | 9971 » $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; |
| 10281 $RM "$lt_outputfile.manifest"; | 9972 » $RM "$lt_outputfile.manifest"; |
| 10282 fi' | 9973 » fi' |
| 10283 ;; | 9974 ;; |
| 10284 *) | 9975 *) |
| 10285 # Assume MSVC wrapper | 9976 # Assume MSVC wrapper |
| 10286 hardcode_libdir_flag_spec=' ' | 9977 hardcode_libdir_flag_spec=' ' |
| 10287 allow_undefined_flag=unsupported | 9978 allow_undefined_flag=unsupported |
| 10288 # Tell ltmain to make .lib files, not .a files. | 9979 # Tell ltmain to make .lib files, not .a files. |
| 10289 libext=lib | 9980 libext=lib |
| 10290 # Tell ltmain to make .dll files, not .so files. | 9981 # Tell ltmain to make .dll files, not .so files. |
| 10291 » shrext_cmds=.dll | 9982 » shrext_cmds=".dll" |
| 10292 # FIXME: Setting linknames here is a bad hack. | 9983 # FIXME: Setting linknames here is a bad hack. |
| 10293 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl
ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | 9984 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl
ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 10294 # The linker will automatically build a .lib file if we build a DLL. | 9985 # The linker will automatically build a .lib file if we build a DLL. |
| 10295 old_archive_from_new_cmds='true' | 9986 old_archive_from_new_cmds='true' |
| 10296 # FIXME: Should let the user specify the lib program. | 9987 # FIXME: Should let the user specify the lib program. |
| 10297 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | 9988 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 10298 enable_shared_with_static_runtimes=yes | 9989 enable_shared_with_static_runtimes=yes |
| 10299 ;; | 9990 ;; |
| 10300 esac | 9991 esac |
| 10301 ;; | 9992 ;; |
| 10302 | 9993 |
| 10303 darwin* | rhapsody*) | 9994 darwin* | rhapsody*) |
| 10304 | 9995 |
| 10305 | 9996 |
| 10306 archive_cmds_need_lc=no | 9997 archive_cmds_need_lc=no |
| 10307 hardcode_direct=no | 9998 hardcode_direct=no |
| 10308 hardcode_automatic=yes | 9999 hardcode_automatic=yes |
| 10309 hardcode_shlibpath_var=unsupported | 10000 hardcode_shlibpath_var=unsupported |
| 10310 if test yes = "$lt_cv_ld_force_load"; then | 10001 if test "$lt_cv_ld_force_load" = "yes"; then |
| 10311 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\"`' | 10002 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\
" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_ech
o_all \"$new_convenience\"`' |
| 10312 | 10003 |
| 10313 else | 10004 else |
| 10314 whole_archive_flag_spec='' | 10005 whole_archive_flag_spec='' |
| 10315 fi | 10006 fi |
| 10316 link_all_deplibs=yes | 10007 link_all_deplibs=yes |
| 10317 allow_undefined_flag=$_lt_dar_allow_undefined | 10008 allow_undefined_flag="$_lt_dar_allow_undefined" |
| 10318 case $cc_basename in | 10009 case $cc_basename in |
| 10319 ifort*|nagfor*) _lt_dar_can_shared=yes ;; | 10010 ifort*) _lt_dar_can_shared=yes ;; |
| 10320 *) _lt_dar_can_shared=$GCC ;; | 10011 *) _lt_dar_can_shared=$GCC ;; |
| 10321 esac | 10012 esac |
| 10322 if test yes = "$_lt_dar_can_shared"; then | 10013 if test "$_lt_dar_can_shared" = "yes"; then |
| 10323 output_verbose_link_cmd=func_echo_all | 10014 output_verbose_link_cmd=func_echo_all |
| 10324 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$d
eplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_sing
le_mod$_lt_dsymutil" | 10015 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$d
eplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_sing
le_mod${_lt_dsymutil}" |
| 10325 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags$_lt_dsymutil" | 10016 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags${_lt_dsymutil}" |
| 10326 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$lib
name-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \
$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_si
ngle_mod$_lt_dar_export_syms$_lt_dsymutil" | 10017 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${li
bname}-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}" |
| 10327 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$l
ibname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$d
eplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" | 10018 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}" |
| 10328 | 10019 |
| 10329 else | 10020 else |
| 10330 ld_shlibs=no | 10021 ld_shlibs=no |
| 10331 fi | 10022 fi |
| 10332 | 10023 |
| 10333 ;; | 10024 ;; |
| 10334 | 10025 |
| 10335 dgux*) | 10026 dgux*) |
| 10336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10337 hardcode_libdir_flag_spec='-L$libdir' | 10028 hardcode_libdir_flag_spec='-L$libdir' |
| (...skipping 21 matching lines...) Expand all Loading... |
| 10359 | 10050 |
| 10360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 10051 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 10361 freebsd* | dragonfly*) | 10052 freebsd* | dragonfly*) |
| 10362 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl
ags' | 10053 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl
ags' |
| 10363 hardcode_libdir_flag_spec='-R$libdir' | 10054 hardcode_libdir_flag_spec='-R$libdir' |
| 10364 hardcode_direct=yes | 10055 hardcode_direct=yes |
| 10365 hardcode_shlibpath_var=no | 10056 hardcode_shlibpath_var=no |
| 10366 ;; | 10057 ;; |
| 10367 | 10058 |
| 10368 hpux9*) | 10059 hpux9*) |
| 10369 if test yes = "$GCC"; then | 10060 if test "$GCC" = yes; then |
| 10370 » 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' | 10061 » archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b $
{wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~
test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
| 10371 else | 10062 else |
| 10372 » archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $o
utput_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$sona
me" = "x$lib" || mv $output_objdir/$soname $lib' | 10063 » archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $o
utput_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname
= $lib || mv $output_objdir/$soname $lib' |
| 10373 fi | 10064 fi |
| 10374 hardcode_libdir_flag_spec='$wl+b $wl$libdir' | 10065 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10375 hardcode_libdir_separator=: | 10066 hardcode_libdir_separator=: |
| 10376 hardcode_direct=yes | 10067 hardcode_direct=yes |
| 10377 | 10068 |
| 10378 # hardcode_minus_L: Not really in the search PATH, | 10069 # hardcode_minus_L: Not really in the search PATH, |
| 10379 # but as the default location of the library. | 10070 # but as the default location of the library. |
| 10380 hardcode_minus_L=yes | 10071 hardcode_minus_L=yes |
| 10381 export_dynamic_flag_spec='$wl-E' | 10072 export_dynamic_flag_spec='${wl}-E' |
| 10382 ;; | 10073 ;; |
| 10383 | 10074 |
| 10384 hpux10*) | 10075 hpux10*) |
| 10385 if test yes,no = "$GCC,$with_gnu_ld"; then | 10076 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10386 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_l
ibdir -o $lib $libobjs $deplibs $compiler_flags' | 10077 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$i
nstall_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10387 else | 10078 else |
| 10388 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' | 10079 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' |
| 10389 fi | 10080 fi |
| 10390 if test no = "$with_gnu_ld"; then | 10081 if test "$with_gnu_ld" = no; then |
| 10391 » hardcode_libdir_flag_spec='$wl+b $wl$libdir' | 10082 » hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10392 hardcode_libdir_separator=: | 10083 hardcode_libdir_separator=: |
| 10393 hardcode_direct=yes | 10084 hardcode_direct=yes |
| 10394 hardcode_direct_absolute=yes | 10085 hardcode_direct_absolute=yes |
| 10395 » export_dynamic_flag_spec='$wl-E' | 10086 » export_dynamic_flag_spec='${wl}-E' |
| 10396 # hardcode_minus_L: Not really in the search PATH, | 10087 # hardcode_minus_L: Not really in the search PATH, |
| 10397 # but as the default location of the library. | 10088 # but as the default location of the library. |
| 10398 hardcode_minus_L=yes | 10089 hardcode_minus_L=yes |
| 10399 fi | 10090 fi |
| 10400 ;; | 10091 ;; |
| 10401 | 10092 |
| 10402 hpux11*) | 10093 hpux11*) |
| 10403 if test yes,no = "$GCC,$with_gnu_ld"; then | 10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10404 case $host_cpu in | 10095 case $host_cpu in |
| 10405 hppa*64*) | 10096 hppa*64*) |
| 10406 » archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $
compiler_flags' | 10097 » archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $depli
bs $compiler_flags' |
| 10407 ;; | 10098 ;; |
| 10408 ia64*) | 10099 ia64*) |
| 10409 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpat
h -o $lib $libobjs $deplibs $compiler_flags' | 10100 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefau
ltrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10410 ;; | 10101 ;; |
| 10411 *) | 10102 *) |
| 10412 » archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install
_libdir -o $lib $libobjs $deplibs $compiler_flags' | 10103 » archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}
$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10413 ;; | 10104 ;; |
| 10414 esac | 10105 esac |
| 10415 else | 10106 else |
| 10416 case $host_cpu in | 10107 case $host_cpu in |
| 10417 hppa*64*) | 10108 hppa*64*) |
| 10418 » archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compi
ler_flags' | 10109 » archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $c
ompiler_flags' |
| 10419 ;; | 10110 ;; |
| 10420 ia64*) | 10111 ia64*) |
| 10421 » archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libo
bjs $deplibs $compiler_flags' | 10112 » archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib
$libobjs $deplibs $compiler_flags' |
| 10422 ;; | 10113 ;; |
| 10423 *) | 10114 *) |
| 10424 | 10115 |
| 10425 # Older versions of the 11.00 compiler do not understand -b yet | 10116 # Older versions of the 11.00 compiler do not understand -b yet |
| 10426 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) | 10117 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) |
| 10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 | 10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 |
| 10428 $as_echo_n "checking if $CC understands -b... " >&6; } | 10119 $as_echo_n "checking if $CC understands -b... " >&6; } |
| 10429 if ${lt_cv_prog_compiler__b+:} false; then : | 10120 if ${lt_cv_prog_compiler__b+:} false; then : |
| 10430 $as_echo_n "(cached) " >&6 | 10121 $as_echo_n "(cached) " >&6 |
| 10431 else | 10122 else |
| 10432 lt_cv_prog_compiler__b=no | 10123 lt_cv_prog_compiler__b=no |
| 10433 save_LDFLAGS=$LDFLAGS | 10124 save_LDFLAGS="$LDFLAGS" |
| 10434 LDFLAGS="$LDFLAGS -b" | 10125 LDFLAGS="$LDFLAGS -b" |
| 10435 echo "$lt_simple_link_test_code" > conftest.$ac_ext | 10126 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 10436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 10127 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 10437 # The linker can only warn and ignore the option if not recognized | 10128 # The linker can only warn and ignore the option if not recognized |
| 10438 # So say no if there are warnings | 10129 # So say no if there are warnings |
| 10439 if test -s conftest.err; then | 10130 if test -s conftest.err; then |
| 10440 # Append any errors to the config.log. | 10131 # Append any errors to the config.log. |
| 10441 cat conftest.err 1>&5 | 10132 cat conftest.err 1>&5 |
| 10442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 10133 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 10443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 10134 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 10444 if diff conftest.exp conftest.er2 >/dev/null; then | 10135 if diff conftest.exp conftest.er2 >/dev/null; then |
| 10445 lt_cv_prog_compiler__b=yes | 10136 lt_cv_prog_compiler__b=yes |
| 10446 fi | 10137 fi |
| 10447 else | 10138 else |
| 10448 lt_cv_prog_compiler__b=yes | 10139 lt_cv_prog_compiler__b=yes |
| 10449 fi | 10140 fi |
| 10450 fi | 10141 fi |
| 10451 $RM -r conftest* | 10142 $RM -r conftest* |
| 10452 LDFLAGS=$save_LDFLAGS | 10143 LDFLAGS="$save_LDFLAGS" |
| 10453 | 10144 |
| 10454 fi | 10145 fi |
| 10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | 10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 10456 $as_echo "$lt_cv_prog_compiler__b" >&6; } | 10147 $as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 10457 | 10148 |
| 10458 if test yes = "$lt_cv_prog_compiler__b"; then | 10149 if test x"$lt_cv_prog_compiler__b" = xyes; then |
| 10459 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libo
bjs $deplibs $compiler_flags' | 10150 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $l
ib $libobjs $deplibs $compiler_flags' |
| 10460 else | 10151 else |
| 10461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' | 10152 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' |
| 10462 fi | 10153 fi |
| 10463 | 10154 |
| 10464 ;; | 10155 ;; |
| 10465 esac | 10156 esac |
| 10466 fi | 10157 fi |
| 10467 if test no = "$with_gnu_ld"; then | 10158 if test "$with_gnu_ld" = no; then |
| 10468 » hardcode_libdir_flag_spec='$wl+b $wl$libdir' | 10159 » hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10469 hardcode_libdir_separator=: | 10160 hardcode_libdir_separator=: |
| 10470 | 10161 |
| 10471 case $host_cpu in | 10162 case $host_cpu in |
| 10472 hppa*64*|ia64*) | 10163 hppa*64*|ia64*) |
| 10473 hardcode_direct=no | 10164 hardcode_direct=no |
| 10474 hardcode_shlibpath_var=no | 10165 hardcode_shlibpath_var=no |
| 10475 ;; | 10166 ;; |
| 10476 *) | 10167 *) |
| 10477 hardcode_direct=yes | 10168 hardcode_direct=yes |
| 10478 hardcode_direct_absolute=yes | 10169 hardcode_direct_absolute=yes |
| 10479 » export_dynamic_flag_spec='$wl-E' | 10170 » export_dynamic_flag_spec='${wl}-E' |
| 10480 | 10171 |
| 10481 # hardcode_minus_L: Not really in the search PATH, | 10172 # hardcode_minus_L: Not really in the search PATH, |
| 10482 # but as the default location of the library. | 10173 # but as the default location of the library. |
| 10483 hardcode_minus_L=yes | 10174 hardcode_minus_L=yes |
| 10484 ;; | 10175 ;; |
| 10485 esac | 10176 esac |
| 10486 fi | 10177 fi |
| 10487 ;; | 10178 ;; |
| 10488 | 10179 |
| 10489 irix5* | irix6* | nonstopux*) | 10180 irix5* | irix6* | nonstopux*) |
| 10490 if test yes = "$GCC"; then | 10181 if test "$GCC" = yes; then |
| 10491 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w
l-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$
verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' | 10182 » archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_versio
n ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib' |
| 10492 # Try to use the -exported_symbol ld option, if it does not | 10183 # Try to use the -exported_symbol ld option, if it does not |
| 10493 # work, assume that -exports_file does not work either and | 10184 # work, assume that -exports_file does not work either and |
| 10494 # implicitly export all symbols. | 10185 # implicitly export all symbols. |
| 10495 # This should be the same for all languages, so no per-tag cache variabl
e. | 10186 # This should be the same for all languages, so no per-tag cache variabl
e. |
| 10496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l
inker accepts -exported_symbol" >&5 | 10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l
inker accepts -exported_symbol" >&5 |
| 10497 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
&6; } | 10188 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
&6; } |
| 10498 if ${lt_cv_irix_exported_symbol+:} false; then : | 10189 if ${lt_cv_irix_exported_symbol+:} false; then : |
| 10499 $as_echo_n "(cached) " >&6 | 10190 $as_echo_n "(cached) " >&6 |
| 10500 else | 10191 else |
| 10501 save_LDFLAGS=$LDFLAGS | 10192 save_LDFLAGS="$LDFLAGS" |
| 10502 » LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_reg
istry $wl/dev/null" | 10193 » LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update
_registry ${wl}/dev/null" |
| 10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10504 /* end confdefs.h. */ | 10195 /* end confdefs.h. */ |
| 10505 int foo (void) { return 0; } | 10196 int foo (void) { return 0; } |
| 10506 _ACEOF | 10197 _ACEOF |
| 10507 if ac_fn_c_try_link "$LINENO"; then : | 10198 if ac_fn_c_try_link "$LINENO"; then : |
| 10508 lt_cv_irix_exported_symbol=yes | 10199 lt_cv_irix_exported_symbol=yes |
| 10509 else | 10200 else |
| 10510 lt_cv_irix_exported_symbol=no | 10201 lt_cv_irix_exported_symbol=no |
| 10511 fi | 10202 fi |
| 10512 rm -f core conftest.err conftest.$ac_objext \ | 10203 rm -f core conftest.err conftest.$ac_objext \ |
| 10513 conftest$ac_exeext conftest.$ac_ext | 10204 conftest$ac_exeext conftest.$ac_ext |
| 10514 LDFLAGS=$save_LDFLAGS | 10205 LDFLAGS="$save_LDFLAGS" |
| 10515 fi | 10206 fi |
| 10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&
5 | 10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&
5 |
| 10517 $as_echo "$lt_cv_irix_exported_symbol" >&6; } | 10208 $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
| 10518 » if test yes = "$lt_cv_irix_exported_symbol"; then | 10209 » if test "$lt_cv_irix_exported_symbol" = yes; then |
| 10519 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler
_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_ver
sion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-expo
rts_file $wl$export_symbols -o $lib' | 10210 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler
_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-s
et_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_loca
tions ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 10520 fi | 10211 fi |
| 10521 else | 10212 else |
| 10522 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $son
ame `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_re
gistry $output_objdir/so_locations -o $lib' | 10213 » archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $son
ame `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_re
gistry ${output_objdir}/so_locations -o $lib' |
| 10523 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sona
me $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -up
date_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' | 10214 » archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -sona
me $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -up
date_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $li
b' |
| 10524 fi | 10215 fi |
| 10525 archive_cmds_need_lc='no' | 10216 archive_cmds_need_lc='no' |
| 10526 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 10217 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10527 hardcode_libdir_separator=: | 10218 hardcode_libdir_separator=: |
| 10528 inherit_rpath=yes | 10219 inherit_rpath=yes |
| 10529 link_all_deplibs=yes | 10220 link_all_deplibs=yes |
| 10530 ;; | 10221 ;; |
| 10531 | 10222 |
| 10532 linux*) | 10223 netbsd* | netbsdelf*-gnu) |
| 10533 case $cc_basename in | |
| 10534 tcc*) | |
| 10535 » # Fabrice Bellard et al's Tiny C Compiler | |
| 10536 » ld_shlibs=yes | |
| 10537 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_
flags' | |
| 10538 » ;; | |
| 10539 esac | |
| 10540 ;; | |
| 10541 | |
| 10542 netbsd*) | |
| 10543 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 10224 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10544 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out | 10225 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out |
| 10545 else | 10226 else |
| 10546 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF | 10227 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF |
| 10547 fi | 10228 fi |
| 10548 hardcode_libdir_flag_spec='-R$libdir' | 10229 hardcode_libdir_flag_spec='-R$libdir' |
| 10549 hardcode_direct=yes | 10230 hardcode_direct=yes |
| 10550 hardcode_shlibpath_var=no | 10231 hardcode_shlibpath_var=no |
| 10551 ;; | 10232 ;; |
| 10552 | 10233 |
| 10553 newsos6) | 10234 newsos6) |
| 10554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 10235 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10555 hardcode_direct=yes | 10236 hardcode_direct=yes |
| 10556 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 10237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10557 hardcode_libdir_separator=: | 10238 hardcode_libdir_separator=: |
| 10558 hardcode_shlibpath_var=no | 10239 hardcode_shlibpath_var=no |
| 10559 ;; | 10240 ;; |
| 10560 | 10241 |
| 10561 *nto* | *qnx*) | 10242 *nto* | *qnx*) |
| 10562 ;; | 10243 ;; |
| 10563 | 10244 |
| 10564 openbsd* | bitrig*) | 10245 openbsd*) |
| 10565 if test -f /usr/libexec/ld.so; then | 10246 if test -f /usr/libexec/ld.so; then |
| 10566 hardcode_direct=yes | 10247 hardcode_direct=yes |
| 10567 hardcode_shlibpath_var=no | 10248 hardcode_shlibpath_var=no |
| 10568 hardcode_direct_absolute=yes | 10249 hardcode_direct_absolute=yes |
| 10569 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | 10250 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os
-$host_cpu" = "openbsd2.8-powerpc"; then |
| 10570 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' | 10251 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' |
| 10571 » archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $
compiler_flags $wl-retain-symbols-file,$export_symbols' | 10252 » archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $
compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 10572 » hardcode_libdir_flag_spec='$wl-rpath,$libdir' | 10253 » hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10573 » export_dynamic_flag_spec='$wl-E' | 10254 » export_dynamic_flag_spec='${wl}-E' |
| 10574 else | 10255 else |
| 10575 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' | 10256 » case $host_os in |
| 10576 » hardcode_libdir_flag_spec='$wl-rpath,$libdir' | 10257 » openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 10258 » archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_fla
gs' |
| 10259 » hardcode_libdir_flag_spec='-R$libdir' |
| 10260 » ;; |
| 10261 » *) |
| 10262 » archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $comp
iler_flags' |
| 10263 » hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10264 » ;; |
| 10265 » esac |
| 10577 fi | 10266 fi |
| 10578 else | 10267 else |
| 10579 ld_shlibs=no | 10268 ld_shlibs=no |
| 10580 fi | 10269 fi |
| 10581 ;; | 10270 ;; |
| 10582 | 10271 |
| 10583 os2*) | 10272 os2*) |
| 10584 hardcode_libdir_flag_spec='-L$libdir' | 10273 hardcode_libdir_flag_spec='-L$libdir' |
| 10585 hardcode_minus_L=yes | 10274 hardcode_minus_L=yes |
| 10586 allow_undefined_flag=unsupported | 10275 allow_undefined_flag=unsupported |
| 10587 shrext_cmds=.dll | 10276 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libn
ame.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DAT
A >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$lib
name.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_
objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags
$output_objdir/$libname.def' |
| 10588 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTAN
CE" > $output_objdir/$libname.def~ | 10277 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_obj
dir/$libname.def' |
| 10589 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ | |
| 10590 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ | |
| 10591 » $ECHO EXPORTS >> $output_objdir/$libname.def~ | |
| 10592 » emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def
~ | |
| 10593 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ | |
| 10594 » emximp -o $lib $output_objdir/$libname.def' | |
| 10595 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TER
MINSTANCE" > $output_objdir/$libname.def~ | |
| 10596 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ | |
| 10597 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ | |
| 10598 » $ECHO EXPORTS >> $output_objdir/$libname.def~ | |
| 10599 » prefix_cmds="$SED"~ | |
| 10600 » if test EXPORTS = "`$SED 1q $export_symbols`"; then | |
| 10601 » prefix_cmds="$prefix_cmds -e 1d"; | |
| 10602 » fi~ | |
| 10603 » prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ | |
| 10604 » cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ | |
| 10605 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ | |
| 10606 » emximp -o $lib $output_objdir/$libname.def' | |
| 10607 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $outp
ut_objdir/$libname.def' | |
| 10608 enable_shared_with_static_runtimes=yes | |
| 10609 ;; | 10278 ;; |
| 10610 | 10279 |
| 10611 osf3*) | 10280 osf3*) |
| 10612 if test yes = "$GCC"; then | 10281 if test "$GCC" = yes; then |
| 10613 » allow_undefined_flag=' $wl-expect_unresolved $wl\*' | 10282 » allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 10614 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil
er_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_v
ersion $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $li
b' | 10283 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${w
l}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_
locations -o $lib' |
| 10615 else | 10284 else |
| 10616 allow_undefined_flag=' -expect_unresolved \*' | 10285 allow_undefined_flag=' -expect_unresolved \*' |
| 10617 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil
er_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $v
erstring"` -update_registry $output_objdir/so_locations -o $lib' | 10286 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version
$verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 10618 fi | 10287 fi |
| 10619 archive_cmds_need_lc='no' | 10288 archive_cmds_need_lc='no' |
| 10620 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 10289 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10621 hardcode_libdir_separator=: | 10290 hardcode_libdir_separator=: |
| 10622 ;; | 10291 ;; |
| 10623 | 10292 |
| 10624 osf4* | osf5*) # as osf3* with the addition of -msym flag | 10293 osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 10625 if test yes = "$GCC"; then | 10294 if test "$GCC" = yes; then |
| 10626 » allow_undefined_flag=' $wl-expect_unresolved $wl\*' | 10295 » allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 10627 » archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $depli
bs $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' | 10296 » archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $dep
libs $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' |
| 10628 » hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | 10297 » hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10629 else | 10298 else |
| 10630 allow_undefined_flag=' -expect_unresolved \*' | 10299 allow_undefined_flag=' -expect_unresolved \*' |
| 10631 » archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compil
er_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_vers
ion $verstring"` -update_registry $output_objdir/so_locations -o $lib' | 10300 » archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $comp
iler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_ve
rsion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
| 10632 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~ | 10301 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~ |
| 10633 $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' | 10302 » $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_f
lags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_vers
ion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib
.exp' |
| 10634 | 10303 |
| 10635 # Both c and cxx compiler support -rpath directly | 10304 # Both c and cxx compiler support -rpath directly |
| 10636 hardcode_libdir_flag_spec='-rpath $libdir' | 10305 hardcode_libdir_flag_spec='-rpath $libdir' |
| 10637 fi | 10306 fi |
| 10638 archive_cmds_need_lc='no' | 10307 archive_cmds_need_lc='no' |
| 10639 hardcode_libdir_separator=: | 10308 hardcode_libdir_separator=: |
| 10640 ;; | 10309 ;; |
| 10641 | 10310 |
| 10642 solaris*) | 10311 solaris*) |
| 10643 no_undefined_flag=' -z defs' | 10312 no_undefined_flag=' -z defs' |
| 10644 if test yes = "$GCC"; then | 10313 if test "$GCC" = yes; then |
| 10645 » wlarc='$wl' | 10314 » wlarc='${wl}' |
| 10646 » archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o
$lib $libobjs $deplibs $compiler_flags' | 10315 » archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$sona
me -o $lib $libobjs $deplibs $compiler_flags' |
| 10647 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $
SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 10316 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $
SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 10648 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$sona
me -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 10317 » $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' |
| 10649 else | 10318 else |
| 10650 case `$CC -V 2>&1` in | 10319 case `$CC -V 2>&1` in |
| 10651 *"Compilers 5.0"*) | 10320 *"Compilers 5.0"*) |
| 10652 wlarc='' | 10321 wlarc='' |
| 10653 » archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs
$deplibs $linker_flags' | 10322 » archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $linker_flags' |
| 10654 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 10323 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 10655 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' | 10324 » $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' |
| 10656 ;; | 10325 ;; |
| 10657 *) | 10326 *) |
| 10658 » wlarc='$wl' | 10327 » wlarc='${wl}' |
| 10659 » archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs
$deplibs $compiler_flags' | 10328 » archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $compiler_flags' |
| 10660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 10329 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 10661 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' | 10330 » $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' |
| 10662 ;; | 10331 ;; |
| 10663 esac | 10332 esac |
| 10664 fi | 10333 fi |
| 10665 hardcode_libdir_flag_spec='-R$libdir' | 10334 hardcode_libdir_flag_spec='-R$libdir' |
| 10666 hardcode_shlibpath_var=no | 10335 hardcode_shlibpath_var=no |
| 10667 case $host_os in | 10336 case $host_os in |
| 10668 solaris2.[0-5] | solaris2.[0-5].*) ;; | 10337 solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 10669 *) | 10338 *) |
| 10670 # The compiler driver will combine and reorder linker options, | 10339 # The compiler driver will combine and reorder linker options, |
| 10671 » # but understands '-z linker_flag'. GCC discards it without '$wl', | 10340 » # but understands `-z linker_flag'. GCC discards it without `$wl', |
| 10672 # but is careful enough not to reorder. | 10341 # but is careful enough not to reorder. |
| 10673 # Supported since Solaris 2.6 (maybe 2.5.1?) | 10342 # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 10674 » if test yes = "$GCC"; then | 10343 » if test "$GCC" = yes; then |
| 10675 » whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}
defaultextract' | 10344 » whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z $
{wl}defaultextract' |
| 10676 else | 10345 else |
| 10677 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | 10346 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 10678 fi | 10347 fi |
| 10679 ;; | 10348 ;; |
| 10680 esac | 10349 esac |
| 10681 link_all_deplibs=yes | 10350 link_all_deplibs=yes |
| 10682 ;; | 10351 ;; |
| 10683 | 10352 |
| 10684 sunos4*) | 10353 sunos4*) |
| 10685 if test sequent = "$host_vendor"; then | 10354 if test "x$host_vendor" = xsequent; then |
| 10686 # Use $CC to link under sequent, because it throws in some extra .o | 10355 # Use $CC to link under sequent, because it throws in some extra .o |
| 10687 # files that make .init and .fini sections work. | 10356 # files that make .init and .fini sections work. |
| 10688 » archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_f
lags' | 10357 » archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 10689 else | 10358 else |
| 10690 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' | 10359 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' |
| 10691 fi | 10360 fi |
| 10692 hardcode_libdir_flag_spec='-L$libdir' | 10361 hardcode_libdir_flag_spec='-L$libdir' |
| 10693 hardcode_direct=yes | 10362 hardcode_direct=yes |
| 10694 hardcode_minus_L=yes | 10363 hardcode_minus_L=yes |
| 10695 hardcode_shlibpath_var=no | 10364 hardcode_shlibpath_var=no |
| 10696 ;; | 10365 ;; |
| 10697 | 10366 |
| 10698 sysv4) | 10367 sysv4) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 10727 if test -d /usr/nec; then | 10396 if test -d /usr/nec; then |
| 10728 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 10397 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10729 hardcode_shlibpath_var=no | 10398 hardcode_shlibpath_var=no |
| 10730 runpath_var=LD_RUN_PATH | 10399 runpath_var=LD_RUN_PATH |
| 10731 hardcode_runpath_var=yes | 10400 hardcode_runpath_var=yes |
| 10732 ld_shlibs=yes | 10401 ld_shlibs=yes |
| 10733 fi | 10402 fi |
| 10734 ;; | 10403 ;; |
| 10735 | 10404 |
| 10736 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) | 10405 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) |
| 10737 no_undefined_flag='$wl-z,text' | 10406 no_undefined_flag='${wl}-z,text' |
| 10738 archive_cmds_need_lc=no | 10407 archive_cmds_need_lc=no |
| 10739 hardcode_shlibpath_var=no | 10408 hardcode_shlibpath_var=no |
| 10740 runpath_var='LD_RUN_PATH' | 10409 runpath_var='LD_RUN_PATH' |
| 10741 | 10410 |
| 10742 if test yes = "$GCC"; then | 10411 if test "$GCC" = yes; then |
| 10743 » archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi
ler_flags' | 10412 » archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' |
| 10744 » archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona
me -o $lib $libobjs $deplibs $compiler_flags' | 10413 » archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10745 else | 10414 else |
| 10746 » archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f
lags' | 10415 » archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 10747 » archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o
$lib $libobjs $deplibs $compiler_flags' | 10416 » archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' |
| 10748 fi | 10417 fi |
| 10749 ;; | 10418 ;; |
| 10750 | 10419 |
| 10751 sysv5* | sco3.2v5* | sco5v6*) | 10420 sysv5* | sco3.2v5* | sco5v6*) |
| 10752 # Note: We CANNOT use -z defs as we might desire, because we do not | 10421 # Note: We can NOT use -z defs as we might desire, because we do not |
| 10753 # link with -lc, and that would cause any symbols used from libc to | 10422 # link with -lc, and that would cause any symbols used from libc to |
| 10754 # always be unresolved, which means just about no library would | 10423 # always be unresolved, which means just about no library would |
| 10755 # ever link correctly. If we're not using GNU ld we use -z text | 10424 # ever link correctly. If we're not using GNU ld we use -z text |
| 10756 # though, which does catch some bad symbols but isn't as heavy-handed | 10425 # though, which does catch some bad symbols but isn't as heavy-handed |
| 10757 # as -z defs. | 10426 # as -z defs. |
| 10758 no_undefined_flag='$wl-z,text' | 10427 no_undefined_flag='${wl}-z,text' |
| 10759 allow_undefined_flag='$wl-z,nodefs' | 10428 allow_undefined_flag='${wl}-z,nodefs' |
| 10760 archive_cmds_need_lc=no | 10429 archive_cmds_need_lc=no |
| 10761 hardcode_shlibpath_var=no | 10430 hardcode_shlibpath_var=no |
| 10762 hardcode_libdir_flag_spec='$wl-R,$libdir' | 10431 hardcode_libdir_flag_spec='${wl}-R,$libdir' |
| 10763 hardcode_libdir_separator=':' | 10432 hardcode_libdir_separator=':' |
| 10764 link_all_deplibs=yes | 10433 link_all_deplibs=yes |
| 10765 export_dynamic_flag_spec='$wl-Bexport' | 10434 export_dynamic_flag_spec='${wl}-Bexport' |
| 10766 runpath_var='LD_RUN_PATH' | 10435 runpath_var='LD_RUN_PATH' |
| 10767 | 10436 |
| 10768 if test yes = "$GCC"; then | 10437 if test "$GCC" = yes; then |
| 10769 » archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi
ler_flags' | 10438 » archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' |
| 10770 » archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona
me -o $lib $libobjs $deplibs $compiler_flags' | 10439 » archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' |
| 10771 else | 10440 else |
| 10772 » archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f
lags' | 10441 » archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 10773 » archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o
$lib $libobjs $deplibs $compiler_flags' | 10442 » archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' |
| 10774 fi | 10443 fi |
| 10775 ;; | 10444 ;; |
| 10776 | 10445 |
| 10777 uts4*) | 10446 uts4*) |
| 10778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 10447 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10779 hardcode_libdir_flag_spec='-L$libdir' | 10448 hardcode_libdir_flag_spec='-L$libdir' |
| 10780 hardcode_shlibpath_var=no | 10449 hardcode_shlibpath_var=no |
| 10781 ;; | 10450 ;; |
| 10782 | 10451 |
| 10783 *) | 10452 *) |
| 10784 ld_shlibs=no | 10453 ld_shlibs=no |
| 10785 ;; | 10454 ;; |
| 10786 esac | 10455 esac |
| 10787 | 10456 |
| 10788 if test sni = "$host_vendor"; then | 10457 if test x$host_vendor = xsni; then |
| 10789 case $host in | 10458 case $host in |
| 10790 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 10459 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 10791 » export_dynamic_flag_spec='$wl-Blargedynsym' | 10460 » export_dynamic_flag_spec='${wl}-Blargedynsym' |
| 10792 ;; | 10461 ;; |
| 10793 esac | 10462 esac |
| 10794 fi | 10463 fi |
| 10795 fi | 10464 fi |
| 10796 | 10465 |
| 10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | 10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 10798 $as_echo "$ld_shlibs" >&6; } | 10467 $as_echo "$ld_shlibs" >&6; } |
| 10799 test no = "$ld_shlibs" && can_build_shared=no | 10468 test "$ld_shlibs" = no && can_build_shared=no |
| 10800 | 10469 |
| 10801 with_gnu_ld=$with_gnu_ld | 10470 with_gnu_ld=$with_gnu_ld |
| 10802 | 10471 |
| 10803 | 10472 |
| 10804 | 10473 |
| 10805 | 10474 |
| 10806 | 10475 |
| 10807 | 10476 |
| 10808 | 10477 |
| 10809 | 10478 |
| 10810 | 10479 |
| 10811 | 10480 |
| 10812 | 10481 |
| 10813 | 10482 |
| 10814 | 10483 |
| 10815 | 10484 |
| 10816 | 10485 |
| 10817 # | 10486 # |
| 10818 # Do we need to explicitly link libc? | 10487 # Do we need to explicitly link libc? |
| 10819 # | 10488 # |
| 10820 case "x$archive_cmds_need_lc" in | 10489 case "x$archive_cmds_need_lc" in |
| 10821 x|xyes) | 10490 x|xyes) |
| 10822 # Assume -lc should be added | 10491 # Assume -lc should be added |
| 10823 archive_cmds_need_lc=yes | 10492 archive_cmds_need_lc=yes |
| 10824 | 10493 |
| 10825 if test yes,yes = "$GCC,$enable_shared"; then | 10494 if test "$enable_shared" = yes && test "$GCC" = yes; then |
| 10826 case $archive_cmds in | 10495 case $archive_cmds in |
| 10827 *'~'*) | 10496 *'~'*) |
| 10828 # FIXME: we may have to deal with multi-command sequences. | 10497 # FIXME: we may have to deal with multi-command sequences. |
| 10829 ;; | 10498 ;; |
| 10830 '$CC '*) | 10499 '$CC '*) |
| 10831 # Test whether the compiler implicitly links with -lc since on some | 10500 # Test whether the compiler implicitly links with -lc since on some |
| 10832 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 10501 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 10833 # to ld, don't add -lc before -lgcc. | 10502 # to ld, don't add -lc before -lgcc. |
| 10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex
plicitly linked in" >&5 | 10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex
plicitly linked in" >&5 |
| 10835 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | 10504 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11030 | 10699 |
| 11031 | 10700 |
| 11032 | 10701 |
| 11033 | 10702 |
| 11034 | 10703 |
| 11035 | 10704 |
| 11036 | 10705 |
| 11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 | 10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 |
| 11038 $as_echo_n "checking dynamic linker characteristics... " >&6; } | 10707 $as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 11039 | 10708 |
| 11040 if test yes = "$GCC"; then | 10709 if test "$GCC" = yes; then |
| 11041 case $host_os in | 10710 case $host_os in |
| 11042 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; | 10711 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 11043 *) lt_awk_arg='/^libraries:/' ;; | 10712 *) lt_awk_arg="/^libraries:/" ;; |
| 11044 esac | 10713 esac |
| 11045 case $host_os in | 10714 case $host_os in |
| 11046 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; | 10715 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
| 11047 *) lt_sed_strip_eq='s|=/|/|g' ;; | 10716 *) lt_sed_strip_eq="s,=/,/,g" ;; |
| 11048 esac | 10717 esac |
| 11049 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` | 10718 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` |
| 11050 case $lt_search_path_spec in | 10719 case $lt_search_path_spec in |
| 11051 *\;*) | 10720 *\;*) |
| 11052 # if the path contains ";" then we assume it to be the separator | 10721 # if the path contains ";" then we assume it to be the separator |
| 11053 # otherwise default to the standard path separator (i.e. ":") - it is | 10722 # otherwise default to the standard path separator (i.e. ":") - it is |
| 11054 # assumed that no part of a normal pathname contains ";" but that should | 10723 # assumed that no part of a normal pathname contains ";" but that should |
| 11055 # okay in the real world where ";" in dirpaths is itself problematic. | 10724 # okay in the real world where ";" in dirpaths is itself problematic. |
| 11056 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | 10725 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 11057 ;; | 10726 ;; |
| 11058 *) | 10727 *) |
| 11059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` | 10728 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` |
| 11060 ;; | 10729 ;; |
| 11061 esac | 10730 esac |
| 11062 # Ok, now we have the path, separated by spaces, we can step through it | 10731 # Ok, now we have the path, separated by spaces, we can step through it |
| 11063 # and add multilib dir if necessary... | 10732 # and add multilib dir if necessary. |
| 11064 lt_tmp_lt_search_path_spec= | 10733 lt_tmp_lt_search_path_spec= |
| 11065 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/
dev/null` | 10734 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d
ev/null` |
| 11066 # ...but if some path component already ends with the multilib dir we assume | |
| 11067 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). | |
| 11068 case "$lt_multi_os_dir; $lt_search_path_spec " in | |
| 11069 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) | |
| 11070 lt_multi_os_dir= | |
| 11071 ;; | |
| 11072 esac | |
| 11073 for lt_sys_path in $lt_search_path_spec; do | 10735 for lt_sys_path in $lt_search_path_spec; do |
| 11074 if test -d "$lt_sys_path$lt_multi_os_dir"; then | 10736 if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
| 11075 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_mu
lti_os_dir" | 10737 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m
ulti_os_dir" |
| 11076 elif test -n "$lt_multi_os_dir"; then | 10738 else |
| 11077 test -d "$lt_sys_path" && \ | 10739 test -d "$lt_sys_path" && \ |
| 11078 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | 10740 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 11079 fi | 10741 fi |
| 11080 done | 10742 done |
| 11081 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | 10743 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 11082 BEGIN {RS = " "; FS = "/|\n";} { | 10744 BEGIN {RS=" "; FS="/|\n";} { |
| 11083 lt_foo = ""; | 10745 lt_foo=""; |
| 11084 lt_count = 0; | 10746 lt_count=0; |
| 11085 for (lt_i = NF; lt_i > 0; lt_i--) { | 10747 for (lt_i = NF; lt_i > 0; lt_i--) { |
| 11086 if ($lt_i != "" && $lt_i != ".") { | 10748 if ($lt_i != "" && $lt_i != ".") { |
| 11087 if ($lt_i == "..") { | 10749 if ($lt_i == "..") { |
| 11088 lt_count++; | 10750 lt_count++; |
| 11089 } else { | 10751 } else { |
| 11090 if (lt_count == 0) { | 10752 if (lt_count == 0) { |
| 11091 lt_foo = "/" $lt_i lt_foo; | 10753 lt_foo="/" $lt_i lt_foo; |
| 11092 } else { | 10754 } else { |
| 11093 lt_count--; | 10755 lt_count--; |
| 11094 } | 10756 } |
| 11095 } | 10757 } |
| 11096 } | 10758 } |
| 11097 } | 10759 } |
| 11098 if (lt_foo != "") { lt_freq[lt_foo]++; } | 10760 if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 11099 if (lt_freq[lt_foo] == 1) { print lt_foo; } | 10761 if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 11100 }'` | 10762 }'` |
| 11101 # AWK program above erroneously prepends '/' to C:/dos/paths | 10763 # AWK program above erroneously prepends '/' to C:/dos/paths |
| 11102 # for these hosts. | 10764 # for these hosts. |
| 11103 case $host_os in | 10765 case $host_os in |
| 11104 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | 10766 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 11105 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; | 10767 $SED 's,/\([A-Za-z]:\),\1,g'` ;; |
| 11106 esac | 10768 esac |
| 11107 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | 10769 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 11108 else | 10770 else |
| 11109 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 10771 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 11110 fi | 10772 fi |
| 11111 library_names_spec= | 10773 library_names_spec= |
| 11112 libname_spec='lib$name' | 10774 libname_spec='lib$name' |
| 11113 soname_spec= | 10775 soname_spec= |
| 11114 shrext_cmds=.so | 10776 shrext_cmds=".so" |
| 11115 postinstall_cmds= | 10777 postinstall_cmds= |
| 11116 postuninstall_cmds= | 10778 postuninstall_cmds= |
| 11117 finish_cmds= | 10779 finish_cmds= |
| 11118 finish_eval= | 10780 finish_eval= |
| 11119 shlibpath_var= | 10781 shlibpath_var= |
| 11120 shlibpath_overrides_runpath=unknown | 10782 shlibpath_overrides_runpath=unknown |
| 11121 version_type=none | 10783 version_type=none |
| 11122 dynamic_linker="$host_os ld.so" | 10784 dynamic_linker="$host_os ld.so" |
| 11123 sys_lib_dlsearch_path_spec="/lib /usr/lib" | 10785 sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 11124 need_lib_prefix=unknown | 10786 need_lib_prefix=unknown |
| 11125 hardcode_into_libs=no | 10787 hardcode_into_libs=no |
| 11126 | 10788 |
| 11127 # when you set need_version to no, make sure it does not cause -set_version | 10789 # when you set need_version to no, make sure it does not cause -set_version |
| 11128 # flags to be left without arguments | 10790 # flags to be left without arguments |
| 11129 need_version=unknown | 10791 need_version=unknown |
| 11130 | 10792 |
| 11131 | |
| 11132 | |
| 11133 case $host_os in | 10793 case $host_os in |
| 11134 aix3*) | 10794 aix3*) |
| 11135 version_type=linux # correct to gnu/linux during the next big refactor | 10795 version_type=linux # correct to gnu/linux during the next big refactor |
| 11136 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' | 10796 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 11137 shlibpath_var=LIBPATH | 10797 shlibpath_var=LIBPATH |
| 11138 | 10798 |
| 11139 # AIX 3 has no versioning support, so we append a major version to the name. | 10799 # AIX 3 has no versioning support, so we append a major version to the name. |
| 11140 soname_spec='$libname$release$shared_ext$major' | 10800 soname_spec='${libname}${release}${shared_ext}$major' |
| 11141 ;; | 10801 ;; |
| 11142 | 10802 |
| 11143 aix[4-9]*) | 10803 aix[4-9]*) |
| 11144 version_type=linux # correct to gnu/linux during the next big refactor | 10804 version_type=linux # correct to gnu/linux during the next big refactor |
| 11145 need_lib_prefix=no | 10805 need_lib_prefix=no |
| 11146 need_version=no | 10806 need_version=no |
| 11147 hardcode_into_libs=yes | 10807 hardcode_into_libs=yes |
| 11148 if test ia64 = "$host_cpu"; then | 10808 if test "$host_cpu" = ia64; then |
| 11149 # AIX 5 supports IA64 | 10809 # AIX 5 supports IA64 |
| 11150 library_names_spec='$libname$release$shared_ext$major $libname$release$share
d_ext$versuffix $libname$shared_ext' | 10810 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' |
| 11151 shlibpath_var=LD_LIBRARY_PATH | 10811 shlibpath_var=LD_LIBRARY_PATH |
| 11152 else | 10812 else |
| 11153 # With GCC up to 2.95.x, collect2 would create an import file | 10813 # With GCC up to 2.95.x, collect2 would create an import file |
| 11154 # for dependence libraries. The import file would start with | 10814 # for dependence libraries. The import file would start with |
| 11155 # the line '#! .'. This would cause the generated library to | 10815 # the line `#! .'. This would cause the generated library to |
| 11156 # depend on '.', always an invalid library. This was fixed in | 10816 # depend on `.', always an invalid library. This was fixed in |
| 11157 # development snapshots of GCC prior to 3.0. | 10817 # development snapshots of GCC prior to 3.0. |
| 11158 case $host_os in | 10818 case $host_os in |
| 11159 aix4 | aix4.[01] | aix4.[01].*) | 10819 aix4 | aix4.[01] | aix4.[01].*) |
| 11160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 10820 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 11161 echo ' yes ' | 10821 echo ' yes ' |
| 11162 » echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then | 10822 » echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 11163 : | 10823 : |
| 11164 else | 10824 else |
| 11165 can_build_shared=no | 10825 can_build_shared=no |
| 11166 fi | 10826 fi |
| 11167 ;; | 10827 ;; |
| 11168 esac | 10828 esac |
| 11169 # Using Import Files as archive members, it is possible to support | 10829 # AIX (on Power*) has no versioning support, so currently we can not hardcod
e correct |
| 11170 # filename-based versioning of shared library archives on AIX. While | |
| 11171 # this would work for both with and without runtime linking, it will | |
| 11172 # prevent static linking of such archives. So we do filename-based | |
| 11173 # shared library versioning with .so extension only, which is used | |
| 11174 # when both runtime linking and shared linking is enabled. | |
| 11175 # Unfortunately, runtime linking may impact performance, so we do | |
| 11176 # not want this to be the default eventually. Also, we use the | |
| 11177 # versioned .so libs for executables only if there is the -brtl | |
| 11178 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. | |
| 11179 # To allow for filename-based versioning support, we need to create | |
| 11180 # libNAME.so.V as an archive file, containing: | |
| 11181 # *) an Import File, referring to the versioned filename of the | |
| 11182 # archive as well as the shared archive member, telling the | |
| 11183 # bitwidth (32 or 64) of that shared object, and providing the | |
| 11184 # list of exported symbols of that shared object, eventually | |
| 11185 # decorated with the 'weak' keyword | |
| 11186 # *) the shared object with the F_LOADONLY flag set, to really avoid | |
| 11187 # it being seen by the linker. | |
| 11188 # At run time we better use the real file rather than another symlink, | |
| 11189 # but for link time we create the symlink libNAME.so -> libNAME.so.V | |
| 11190 | |
| 11191 case $with_aix_soname,$aix_use_runtimelinking in | |
| 11192 # AIX (on Power*) has no versioning support, so currently we cannot hardcode
correct | |
| 11193 # soname into executable. Probably we can add versioning support to | 10830 # soname into executable. Probably we can add versioning support to |
| 11194 # collect2, so additional links can be useful in future. | 10831 # collect2, so additional links can be useful in future. |
| 11195 aix,yes) # traditional libtool | 10832 if test "$aix_use_runtimelinking" = yes; then |
| 11196 dynamic_linker='AIX unversionable lib.so' | |
| 11197 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 10833 # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 11198 # instead of lib<name>.a to let people know that these are not | 10834 # instead of lib<name>.a to let people know that these are not |
| 11199 # typical AIX shared libraries. | 10835 # typical AIX shared libraries. |
| 11200 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' | 10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext}$major $libname${shared_ext}' |
| 11201 ;; | 10837 else |
| 11202 aix,no) # traditional AIX only | |
| 11203 dynamic_linker='AIX lib.a(lib.so.V)' | |
| 11204 # We preserve .a as extension for shared libraries through AIX4.2 | 10838 # We preserve .a as extension for shared libraries through AIX4.2 |
| 11205 # and later when we are not doing run time linking. | 10839 # and later when we are not doing run time linking. |
| 11206 library_names_spec='$libname$release.a $libname.a' | 10840 library_names_spec='${libname}${release}.a $libname.a' |
| 11207 soname_spec='$libname$release$shared_ext$major' | 10841 soname_spec='${libname}${release}${shared_ext}$major' |
| 11208 ;; | 10842 fi |
| 11209 svr4,*) # full svr4 only | |
| 11210 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" | |
| 11211 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' | |
| 11212 # We do not specify a path in Import Files, so LIBPATH fires. | |
| 11213 shlibpath_overrides_runpath=yes | |
| 11214 ;; | |
| 11215 *,yes) # both, prefer svr4 | |
| 11216 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.
V)" | |
| 11217 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' | |
| 11218 # unpreferred sharedlib libNAME.a needs extra handling | |
| 11219 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripna
me "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libex
t" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$st
riplib" || $striplib "$destdir/$func_stripname_result.$libext"' | |
| 11220 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_
stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfi
les " $odir/$func_stripname_result.$libext"' | |
| 11221 # We do not specify a path in Import Files, so LIBPATH fires. | |
| 11222 shlibpath_overrides_runpath=yes | |
| 11223 ;; | |
| 11224 *,no) # both, prefer aix | |
| 11225 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.
o)" | |
| 11226 library_names_spec='$libname$release.a $libname.a' | |
| 11227 soname_spec='$libname$release$shared_ext$major' | |
| 11228 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra han
dling | |
| 11229 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" "$link
name"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' | |
| 11230 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlna
me"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"
~func_append rmfiles " $odir/$func_stripname_result.so"' | |
| 11231 ;; | |
| 11232 esac | |
| 11233 shlibpath_var=LIBPATH | 10843 shlibpath_var=LIBPATH |
| 11234 fi | 10844 fi |
| 11235 ;; | 10845 ;; |
| 11236 | 10846 |
| 11237 amigaos*) | 10847 amigaos*) |
| 11238 case $host_cpu in | 10848 case $host_cpu in |
| 11239 powerpc) | 10849 powerpc) |
| 11240 # Since July 2007 AmigaOS4 officially supports .so libraries. | 10850 # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 11241 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 10851 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 11242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11243 ;; | 10853 ;; |
| 11244 m68k) | 10854 m68k) |
| 11245 library_names_spec='$libname.ixlibrary $libname.a' | 10855 library_names_spec='$libname.ixlibrary $libname.a' |
| 11246 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 10856 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 11247 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu
nc_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/lib
s/${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' | 10857 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu
nc_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sy
s/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixli
brary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 11248 ;; | 10858 ;; |
| 11249 esac | 10859 esac |
| 11250 ;; | 10860 ;; |
| 11251 | 10861 |
| 11252 beos*) | 10862 beos*) |
| 11253 library_names_spec='$libname$shared_ext' | 10863 library_names_spec='${libname}${shared_ext}' |
| 11254 dynamic_linker="$host_os ld.so" | 10864 dynamic_linker="$host_os ld.so" |
| 11255 shlibpath_var=LIBRARY_PATH | 10865 shlibpath_var=LIBRARY_PATH |
| 11256 ;; | 10866 ;; |
| 11257 | 10867 |
| 11258 bsdi[45]*) | 10868 bsdi[45]*) |
| 11259 version_type=linux # correct to gnu/linux during the next big refactor | 10869 version_type=linux # correct to gnu/linux during the next big refactor |
| 11260 need_version=no | 10870 need_version=no |
| 11261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11262 soname_spec='$libname$release$shared_ext$major' | 10872 soname_spec='${libname}${release}${shared_ext}$major' |
| 11263 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 10873 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 11264 shlibpath_var=LD_LIBRARY_PATH | 10874 shlibpath_var=LD_LIBRARY_PATH |
| 11265 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" | 10875 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" |
| 11266 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 10876 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 11267 # the default ld.so.conf also contains /usr/contrib/lib and | 10877 # the default ld.so.conf also contains /usr/contrib/lib and |
| 11268 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 10878 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 11269 # libtool to hard-code these into programs | 10879 # libtool to hard-code these into programs |
| 11270 ;; | 10880 ;; |
| 11271 | 10881 |
| 11272 cygwin* | mingw* | pw32* | cegcc*) | 10882 cygwin* | mingw* | pw32* | cegcc*) |
| 11273 version_type=windows | 10883 version_type=windows |
| 11274 shrext_cmds=.dll | 10884 shrext_cmds=".dll" |
| 11275 need_version=no | 10885 need_version=no |
| 11276 need_lib_prefix=no | 10886 need_lib_prefix=no |
| 11277 | 10887 |
| 11278 case $GCC,$cc_basename in | 10888 case $GCC,$cc_basename in |
| 11279 yes,*) | 10889 yes,*) |
| 11280 # gcc | 10890 # gcc |
| 11281 library_names_spec='$libname.dll.a' | 10891 library_names_spec='$libname.dll.a' |
| 11282 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 10892 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11283 postinstall_cmds='base_file=`basename \$file`~ | 10893 postinstall_cmds='base_file=`basename \${file}`~ |
| 11284 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ | 10894 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ |
| 11285 dldir=$destdir/`dirname \$dlpath`~ | 10895 dldir=$destdir/`dirname \$dlpath`~ |
| 11286 test -d \$dldir || mkdir -p \$dldir~ | 10896 test -d \$dldir || mkdir -p \$dldir~ |
| 11287 $install_prog $dir/$dlname \$dldir/$dlname~ | 10897 $install_prog $dir/$dlname \$dldir/$dlname~ |
| 11288 chmod a+x \$dldir/$dlname~ | 10898 chmod a+x \$dldir/$dlname~ |
| 11289 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 10899 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 11290 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 10900 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 11291 fi' | 10901 fi' |
| 11292 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 10902 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 11293 dlpath=$dir/\$dldll~ | 10903 dlpath=$dir/\$dldll~ |
| 11294 $RM \$dlpath' | 10904 $RM \$dlpath' |
| 11295 shlibpath_overrides_runpath=yes | 10905 shlibpath_overrides_runpath=yes |
| 11296 | 10906 |
| 11297 case $host_os in | 10907 case $host_os in |
| 11298 cygwin*) | 10908 cygwin*) |
| 11299 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 10909 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 11300 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -
e 's/[.]/-/g'`$versuffix$shared_ext' | 10910 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S
ED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11301 | 10911 |
| 11302 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | 10912 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 11303 ;; | 10913 ;; |
| 11304 mingw* | cegcc*) | 10914 mingw* | cegcc*) |
| 11305 # MinGW DLLs use traditional 'lib' prefix | 10915 # MinGW DLLs use traditional 'lib' prefix |
| 11306 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$share
d_ext' | 10916 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}
${shared_ext}' |
| 11307 ;; | 10917 ;; |
| 11308 pw32*) | 10918 pw32*) |
| 11309 # pw32 DLLs use 'pw' prefix rather than 'lib' | 10919 # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 11310 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release |
$SED -e 's/[.]/-/g'`$versuffix$shared_ext' | 10920 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release
} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11311 ;; | 10921 ;; |
| 11312 esac | 10922 esac |
| 11313 dynamic_linker='Win32 ld.exe' | 10923 dynamic_linker='Win32 ld.exe' |
| 11314 ;; | 10924 ;; |
| 11315 | 10925 |
| 11316 *,cl*) | 10926 *,cl*) |
| 11317 # Native MSVC | 10927 # Native MSVC |
| 11318 libname_spec='$name' | 10928 libname_spec='$name' |
| 11319 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_
ext' | 10929 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${
shared_ext}' |
| 11320 library_names_spec='$libname.dll.lib' | 10930 library_names_spec='${libname}.dll.lib' |
| 11321 | 10931 |
| 11322 case $build_os in | 10932 case $build_os in |
| 11323 mingw*) | 10933 mingw*) |
| 11324 sys_lib_search_path_spec= | 10934 sys_lib_search_path_spec= |
| 11325 lt_save_ifs=$IFS | 10935 lt_save_ifs=$IFS |
| 11326 IFS=';' | 10936 IFS=';' |
| 11327 for lt_path in $LIB | 10937 for lt_path in $LIB |
| 11328 do | 10938 do |
| 11329 IFS=$lt_save_ifs | 10939 IFS=$lt_save_ifs |
| 11330 # Let DOS variable expansion print the short 8.3 style file name. | 10940 # Let DOS variable expansion print the short 8.3 style file name. |
| 11331 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` | 10941 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` |
| 11332 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | 10942 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 11333 done | 10943 done |
| 11334 IFS=$lt_save_ifs | 10944 IFS=$lt_save_ifs |
| 11335 # Convert to MSYS style. | 10945 # Convert to MSYS style. |
| 11336 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | 10946 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11337 ;; | 10947 ;; |
| 11338 cygwin*) | 10948 cygwin*) |
| 11339 # Convert to unix form, then to dos form, then back to unix form | 10949 # Convert to unix form, then to dos form, then back to unix form |
| 11340 # but this time dos style (no spaces!) so that the unix form looks | 10950 # but this time dos style (no spaces!) so that the unix form looks |
| 11341 # like /cygdrive/c/PROGRA~1:/cygdr... | 10951 # like /cygdrive/c/PROGRA~1:/cygdr... |
| 11342 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | 10952 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 11343 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` | 10953 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` |
| 11344 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 10954 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 11345 ;; | 10955 ;; |
| 11346 *) | 10956 *) |
| 11347 sys_lib_search_path_spec=$LIB | 10957 sys_lib_search_path_spec="$LIB" |
| 11348 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the
n | 10958 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the
n |
| 11349 # It is most probably a Windows format PATH. | 10959 # It is most probably a Windows format PATH. |
| 11350 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` | 10960 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` |
| 11351 else | 10961 else |
| 11352 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` | 10962 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` |
| 11353 fi | 10963 fi |
| 11354 # FIXME: find the short name or the path components, as spaces are | 10964 # FIXME: find the short name or the path components, as spaces are |
| 11355 # common. (e.g. "Program Files" -> "PROGRA~1") | 10965 # common. (e.g. "Program Files" -> "PROGRA~1") |
| 11356 ;; | 10966 ;; |
| 11357 esac | 10967 esac |
| 11358 | 10968 |
| 11359 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 10969 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11360 postinstall_cmds='base_file=`basename \$file`~ | 10970 postinstall_cmds='base_file=`basename \${file}`~ |
| 11361 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ | 10971 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ |
| 11362 dldir=$destdir/`dirname \$dlpath`~ | 10972 dldir=$destdir/`dirname \$dlpath`~ |
| 11363 test -d \$dldir || mkdir -p \$dldir~ | 10973 test -d \$dldir || mkdir -p \$dldir~ |
| 11364 $install_prog $dir/$dlname \$dldir/$dlname' | 10974 $install_prog $dir/$dlname \$dldir/$dlname' |
| 11365 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 10975 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 11366 dlpath=$dir/\$dldll~ | 10976 dlpath=$dir/\$dldll~ |
| 11367 $RM \$dlpath' | 10977 $RM \$dlpath' |
| 11368 shlibpath_overrides_runpath=yes | 10978 shlibpath_overrides_runpath=yes |
| 11369 dynamic_linker='Win32 link.exe' | 10979 dynamic_linker='Win32 link.exe' |
| 11370 ;; | 10980 ;; |
| 11371 | 10981 |
| 11372 *) | 10982 *) |
| 11373 # Assume MSVC wrapper | 10983 # Assume MSVC wrapper |
| 11374 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$
shared_ext $libname.lib' | 10984 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu
ffix}${shared_ext} $libname.lib' |
| 11375 dynamic_linker='Win32 ld.exe' | 10985 dynamic_linker='Win32 ld.exe' |
| 11376 ;; | 10986 ;; |
| 11377 esac | 10987 esac |
| 11378 # FIXME: first we should search . and the directory the executable is in | 10988 # FIXME: first we should search . and the directory the executable is in |
| 11379 shlibpath_var=PATH | 10989 shlibpath_var=PATH |
| 11380 ;; | 10990 ;; |
| 11381 | 10991 |
| 11382 darwin* | rhapsody*) | 10992 darwin* | rhapsody*) |
| 11383 dynamic_linker="$host_os dyld" | 10993 dynamic_linker="$host_os dyld" |
| 11384 version_type=darwin | 10994 version_type=darwin |
| 11385 need_lib_prefix=no | 10995 need_lib_prefix=no |
| 11386 need_version=no | 10996 need_version=no |
| 11387 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' | 10997 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_
ext' |
| 11388 soname_spec='$libname$release$major$shared_ext' | 10998 soname_spec='${libname}${release}${major}$shared_ext' |
| 11389 shlibpath_overrides_runpath=yes | 10999 shlibpath_overrides_runpath=yes |
| 11390 shlibpath_var=DYLD_LIBRARY_PATH | 11000 shlibpath_var=DYLD_LIBRARY_PATH |
| 11391 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | 11001 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 11392 | 11002 |
| 11393 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | 11003 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 11394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 11004 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 11395 ;; | 11005 ;; |
| 11396 | 11006 |
| 11397 dgux*) | 11007 dgux*) |
| 11398 version_type=linux # correct to gnu/linux during the next big refactor | 11008 version_type=linux # correct to gnu/linux during the next big refactor |
| 11399 need_lib_prefix=no | 11009 need_lib_prefix=no |
| 11400 need_version=no | 11010 need_version=no |
| 11401 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname$shared_ext' |
| 11402 soname_spec='$libname$release$shared_ext$major' | 11012 soname_spec='${libname}${release}${shared_ext}$major' |
| 11403 shlibpath_var=LD_LIBRARY_PATH | 11013 shlibpath_var=LD_LIBRARY_PATH |
| 11404 ;; | 11014 ;; |
| 11405 | 11015 |
| 11406 freebsd* | dragonfly*) | 11016 freebsd* | dragonfly*) |
| 11407 # DragonFly does not have aout. When/if they implement a new | 11017 # DragonFly does not have aout. When/if they implement a new |
| 11408 # versioning mechanism, adjust this. | 11018 # versioning mechanism, adjust this. |
| 11409 if test -x /usr/bin/objformat; then | 11019 if test -x /usr/bin/objformat; then |
| 11410 objformat=`/usr/bin/objformat` | 11020 objformat=`/usr/bin/objformat` |
| 11411 else | 11021 else |
| 11412 case $host_os in | 11022 case $host_os in |
| 11413 freebsd[23].*) objformat=aout ;; | 11023 freebsd[23].*) objformat=aout ;; |
| 11414 *) objformat=elf ;; | 11024 *) objformat=elf ;; |
| 11415 esac | 11025 esac |
| 11416 fi | 11026 fi |
| 11417 version_type=freebsd-$objformat | 11027 version_type=freebsd-$objformat |
| 11418 case $version_type in | 11028 case $version_type in |
| 11419 freebsd-elf*) | 11029 freebsd-elf*) |
| 11420 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' | 11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext} $libname${shared_ext}' |
| 11421 soname_spec='$libname$release$shared_ext$major' | |
| 11422 need_version=no | 11031 need_version=no |
| 11423 need_lib_prefix=no | 11032 need_lib_prefix=no |
| 11424 ;; | 11033 ;; |
| 11425 freebsd-*) | 11034 freebsd-*) |
| 11426 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_
ext$versuffix' | 11035 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${
shared_ext}$versuffix' |
| 11427 need_version=yes | 11036 need_version=yes |
| 11428 ;; | 11037 ;; |
| 11429 esac | 11038 esac |
| 11430 shlibpath_var=LD_LIBRARY_PATH | 11039 shlibpath_var=LD_LIBRARY_PATH |
| 11431 case $host_os in | 11040 case $host_os in |
| 11432 freebsd2.*) | 11041 freebsd2.*) |
| 11433 shlibpath_overrides_runpath=yes | 11042 shlibpath_overrides_runpath=yes |
| 11434 ;; | 11043 ;; |
| 11435 freebsd3.[01]* | freebsdelf3.[01]*) | 11044 freebsd3.[01]* | freebsdelf3.[01]*) |
| 11436 shlibpath_overrides_runpath=yes | 11045 shlibpath_overrides_runpath=yes |
| 11437 hardcode_into_libs=yes | 11046 hardcode_into_libs=yes |
| 11438 ;; | 11047 ;; |
| 11439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | 11048 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 11440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | 11049 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 11441 shlibpath_overrides_runpath=no | 11050 shlibpath_overrides_runpath=no |
| 11442 hardcode_into_libs=yes | 11051 hardcode_into_libs=yes |
| 11443 ;; | 11052 ;; |
| 11444 *) # from 4.6 on, and DragonFly | 11053 *) # from 4.6 on, and DragonFly |
| 11445 shlibpath_overrides_runpath=yes | 11054 shlibpath_overrides_runpath=yes |
| 11446 hardcode_into_libs=yes | 11055 hardcode_into_libs=yes |
| 11447 ;; | 11056 ;; |
| 11448 esac | 11057 esac |
| 11449 ;; | 11058 ;; |
| 11450 | 11059 |
| 11451 haiku*) | 11060 haiku*) |
| 11452 version_type=linux # correct to gnu/linux during the next big refactor | 11061 version_type=linux # correct to gnu/linux during the next big refactor |
| 11453 need_lib_prefix=no | 11062 need_lib_prefix=no |
| 11454 need_version=no | 11063 need_version=no |
| 11455 dynamic_linker="$host_os runtime_loader" | 11064 dynamic_linker="$host_os runtime_loader" |
| 11456 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' |
| 11457 soname_spec='$libname$release$shared_ext$major' | 11066 soname_spec='${libname}${release}${shared_ext}$major' |
| 11458 shlibpath_var=LIBRARY_PATH | 11067 shlibpath_var=LIBRARY_PATH |
| 11459 shlibpath_overrides_runpath=no | 11068 shlibpath_overrides_runpath=yes |
| 11460 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' | 11069 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' |
| 11461 hardcode_into_libs=yes | 11070 hardcode_into_libs=yes |
| 11462 ;; | 11071 ;; |
| 11463 | 11072 |
| 11464 hpux9* | hpux10* | hpux11*) | 11073 hpux9* | hpux10* | hpux11*) |
| 11465 # Give a soname corresponding to the major version so that dld.sl refuses to | 11074 # Give a soname corresponding to the major version so that dld.sl refuses to |
| 11466 # link against other versions. | 11075 # link against other versions. |
| 11467 version_type=sunos | 11076 version_type=sunos |
| 11468 need_lib_prefix=no | 11077 need_lib_prefix=no |
| 11469 need_version=no | 11078 need_version=no |
| 11470 case $host_cpu in | 11079 case $host_cpu in |
| 11471 ia64*) | 11080 ia64*) |
| 11472 shrext_cmds='.so' | 11081 shrext_cmds='.so' |
| 11473 hardcode_into_libs=yes | 11082 hardcode_into_libs=yes |
| 11474 dynamic_linker="$host_os dld.so" | 11083 dynamic_linker="$host_os dld.so" |
| 11475 shlibpath_var=LD_LIBRARY_PATH | 11084 shlibpath_var=LD_LIBRARY_PATH |
| 11476 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 11085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11477 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11478 soname_spec='$libname$release$shared_ext$major' | 11087 soname_spec='${libname}${release}${shared_ext}$major' |
| 11479 if test 32 = "$HPUX_IA64_MODE"; then | 11088 if test "X$HPUX_IA64_MODE" = X32; then |
| 11480 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" | 11089 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" |
| 11481 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 | |
| 11482 else | 11090 else |
| 11483 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 11091 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 11484 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 | |
| 11485 fi | 11092 fi |
| 11093 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11486 ;; | 11094 ;; |
| 11487 hppa*64*) | 11095 hppa*64*) |
| 11488 shrext_cmds='.sl' | 11096 shrext_cmds='.sl' |
| 11489 hardcode_into_libs=yes | 11097 hardcode_into_libs=yes |
| 11490 dynamic_linker="$host_os dld.sl" | 11098 dynamic_linker="$host_os dld.sl" |
| 11491 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 11099 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 11492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 11100 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 11101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11494 soname_spec='$libname$release$shared_ext$major' | 11102 soname_spec='${libname}${release}${shared_ext}$major' |
| 11495 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 11103 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 11496 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 11104 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11497 ;; | 11105 ;; |
| 11498 *) | 11106 *) |
| 11499 shrext_cmds='.sl' | 11107 shrext_cmds='.sl' |
| 11500 dynamic_linker="$host_os dld.sl" | 11108 dynamic_linker="$host_os dld.sl" |
| 11501 shlibpath_var=SHLIB_PATH | 11109 shlibpath_var=SHLIB_PATH |
| 11502 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 11110 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 11503 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11504 soname_spec='$libname$release$shared_ext$major' | 11112 soname_spec='${libname}${release}${shared_ext}$major' |
| 11505 ;; | 11113 ;; |
| 11506 esac | 11114 esac |
| 11507 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | 11115 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 11508 postinstall_cmds='chmod 555 $lib' | 11116 postinstall_cmds='chmod 555 $lib' |
| 11509 # or fails outright, so override atomically: | 11117 # or fails outright, so override atomically: |
| 11510 install_override_mode=555 | 11118 install_override_mode=555 |
| 11511 ;; | 11119 ;; |
| 11512 | 11120 |
| 11513 interix[3-9]*) | 11121 interix[3-9]*) |
| 11514 version_type=linux # correct to gnu/linux during the next big refactor | 11122 version_type=linux # correct to gnu/linux during the next big refactor |
| 11515 need_lib_prefix=no | 11123 need_lib_prefix=no |
| 11516 need_version=no | 11124 need_version=no |
| 11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' |
| 11518 soname_spec='$libname$release$shared_ext$major' | 11126 soname_spec='${libname}${release}${shared_ext}$major' |
| 11519 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | 11127 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 11520 shlibpath_var=LD_LIBRARY_PATH | 11128 shlibpath_var=LD_LIBRARY_PATH |
| 11521 shlibpath_overrides_runpath=no | 11129 shlibpath_overrides_runpath=no |
| 11522 hardcode_into_libs=yes | 11130 hardcode_into_libs=yes |
| 11523 ;; | 11131 ;; |
| 11524 | 11132 |
| 11525 irix5* | irix6* | nonstopux*) | 11133 irix5* | irix6* | nonstopux*) |
| 11526 case $host_os in | 11134 case $host_os in |
| 11527 nonstopux*) version_type=nonstopux ;; | 11135 nonstopux*) version_type=nonstopux ;; |
| 11528 *) | 11136 *) |
| 11529 » if test yes = "$lt_cv_prog_gnu_ld"; then | 11137 » if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11530 version_type=linux # correct to gnu/linux during the next big re
factor | 11138 version_type=linux # correct to gnu/linux during the next big re
factor |
| 11531 else | 11139 else |
| 11532 version_type=irix | 11140 version_type=irix |
| 11533 fi ;; | 11141 fi ;; |
| 11534 esac | 11142 esac |
| 11535 need_lib_prefix=no | 11143 need_lib_prefix=no |
| 11536 need_version=no | 11144 need_version=no |
| 11537 soname_spec='$libname$release$shared_ext$major' | 11145 soname_spec='${libname}${release}${shared_ext}$major' |
| 11538 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$release$shared_ext $libname$shared_ext' | 11146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext
}' |
| 11539 case $host_os in | 11147 case $host_os in |
| 11540 irix5* | nonstopux*) | 11148 irix5* | nonstopux*) |
| 11541 libsuff= shlibsuff= | 11149 libsuff= shlibsuff= |
| 11542 ;; | 11150 ;; |
| 11543 *) | 11151 *) |
| 11544 case $LD in # libtool.m4 will add one of these switches to LD | 11152 case $LD in # libtool.m4 will add one of these switches to LD |
| 11545 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 11153 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 11546 libsuff= shlibsuff= libmagic=32-bit;; | 11154 libsuff= shlibsuff= libmagic=32-bit;; |
| 11547 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 11155 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 11548 libsuff=32 shlibsuff=N32 libmagic=N32;; | 11156 libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 11549 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 11157 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 11550 libsuff=64 shlibsuff=64 libmagic=64-bit;; | 11158 libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 11551 *) libsuff= shlibsuff= libmagic=never-match;; | 11159 *) libsuff= shlibsuff= libmagic=never-match;; |
| 11552 esac | 11160 esac |
| 11553 ;; | 11161 ;; |
| 11554 esac | 11162 esac |
| 11555 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 11163 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 11556 shlibpath_overrides_runpath=no | 11164 shlibpath_overrides_runpath=no |
| 11557 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff
" | 11165 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li
bsuff}" |
| 11558 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" | 11166 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 11559 hardcode_into_libs=yes | 11167 hardcode_into_libs=yes |
| 11560 ;; | 11168 ;; |
| 11561 | 11169 |
| 11562 # No shared lib support for Linux oldld, aout, or coff. | 11170 # No shared lib support for Linux oldld, aout, or coff. |
| 11563 linux*oldld* | linux*aout* | linux*coff*) | 11171 linux*oldld* | linux*aout* | linux*coff*) |
| 11564 dynamic_linker=no | 11172 dynamic_linker=no |
| 11565 ;; | 11173 ;; |
| 11566 | 11174 |
| 11567 linux*android*) | |
| 11568 version_type=none # Android doesn't support versioned libraries. | |
| 11569 need_lib_prefix=no | |
| 11570 need_version=no | |
| 11571 library_names_spec='$libname$release$shared_ext' | |
| 11572 soname_spec='$libname$release$shared_ext' | |
| 11573 finish_cmds= | |
| 11574 shlibpath_var=LD_LIBRARY_PATH | |
| 11575 shlibpath_overrides_runpath=yes | |
| 11576 | |
| 11577 # This implies no fast_install, which is unacceptable. | |
| 11578 # Some rework will be needed to allow for fast_install | |
| 11579 # before this can be enabled. | |
| 11580 hardcode_into_libs=yes | |
| 11581 | |
| 11582 dynamic_linker='Android linker' | |
| 11583 # Don't embed -rpath directories since the linker doesn't support them. | |
| 11584 hardcode_libdir_flag_spec='-L$libdir' | |
| 11585 ;; | |
| 11586 | |
| 11587 # This must be glibc/ELF. | 11175 # This must be glibc/ELF. |
| 11588 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 11176 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 11589 version_type=linux # correct to gnu/linux during the next big refactor | 11177 version_type=linux # correct to gnu/linux during the next big refactor |
| 11590 need_lib_prefix=no | 11178 need_lib_prefix=no |
| 11591 need_version=no | 11179 need_version=no |
| 11592 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11593 soname_spec='$libname$release$shared_ext$major' | 11181 soname_spec='${libname}${release}${shared_ext}$major' |
| 11594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 11182 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 11595 shlibpath_var=LD_LIBRARY_PATH | 11183 shlibpath_var=LD_LIBRARY_PATH |
| 11596 shlibpath_overrides_runpath=no | 11184 shlibpath_overrides_runpath=no |
| 11597 | 11185 |
| 11598 # Some binutils ld are patched to set DT_RUNPATH | 11186 # Some binutils ld are patched to set DT_RUNPATH |
| 11599 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | 11187 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 11600 $as_echo_n "(cached) " >&6 | 11188 $as_echo_n "(cached) " >&6 |
| 11601 else | 11189 else |
| 11602 lt_cv_shlibpath_overrides_runpath=no | 11190 lt_cv_shlibpath_overrides_runpath=no |
| 11603 save_LDFLAGS=$LDFLAGS | 11191 save_LDFLAGS=$LDFLAGS |
| (...skipping 23 matching lines...) Expand all Loading... |
| 11627 | 11215 |
| 11628 fi | 11216 fi |
| 11629 | 11217 |
| 11630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 11218 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 11631 | 11219 |
| 11632 # This implies no fast_install, which is unacceptable. | 11220 # This implies no fast_install, which is unacceptable. |
| 11633 # Some rework will be needed to allow for fast_install | 11221 # Some rework will be needed to allow for fast_install |
| 11634 # before this can be enabled. | 11222 # before this can be enabled. |
| 11635 hardcode_into_libs=yes | 11223 hardcode_into_libs=yes |
| 11636 | 11224 |
| 11637 # Add ABI-specific directories to the system library path. | 11225 # Append ld.so.conf contents to the search path |
| 11638 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
| 11639 | |
| 11640 # Ideally, we could use ldconfig to report *all* directores which are | |
| 11641 # searched for libraries, however this is still not possible. Aside from not | |
| 11642 # being certain /sbin/ldconfig is available, command | |
| 11643 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, | |
| 11644 # even though it is searched at run-time. Try to do the best guess by | |
| 11645 # appending ld.so.conf contents (and includes) to the search path. | |
| 11646 if test -f /etc/ld.so.conf; then | 11226 if test -f /etc/ld.so.conf; then |
| 11647 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 | $S
ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^=
]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | 11227 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 | $S
ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^=
]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 11648 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | 11228 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11649 fi | 11229 fi |
| 11650 | 11230 |
| 11651 # We used to test for /lib/ld.so.1 and disable shared libraries on | 11231 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 11652 # powerpc, because MkLinux only supported shared libraries with the | 11232 # powerpc, because MkLinux only supported shared libraries with the |
| 11653 # GNU dynamic linker. Since this was broken with cross compilers, | 11233 # GNU dynamic linker. Since this was broken with cross compilers, |
| 11654 # most powerpc-linux boxes support dynamic linking these days and | 11234 # most powerpc-linux boxes support dynamic linking these days and |
| 11655 # people can always --disable-shared, the test was removed, and we | 11235 # people can always --disable-shared, the test was removed, and we |
| 11656 # assume the GNU/Linux dynamic linker is in use. | 11236 # assume the GNU/Linux dynamic linker is in use. |
| 11657 dynamic_linker='GNU/Linux ld.so' | 11237 dynamic_linker='GNU/Linux ld.so' |
| 11658 ;; | 11238 ;; |
| 11659 | 11239 |
| 11240 netbsdelf*-gnu) |
| 11241 version_type=linux |
| 11242 need_lib_prefix=no |
| 11243 need_version=no |
| 11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' |
| 11245 soname_spec='${libname}${release}${shared_ext}$major' |
| 11246 shlibpath_var=LD_LIBRARY_PATH |
| 11247 shlibpath_overrides_runpath=no |
| 11248 hardcode_into_libs=yes |
| 11249 dynamic_linker='NetBSD ld.elf_so' |
| 11250 ;; |
| 11251 |
| 11660 netbsd*) | 11252 netbsd*) |
| 11661 version_type=sunos | 11253 version_type=sunos |
| 11662 need_lib_prefix=no | 11254 need_lib_prefix=no |
| 11663 need_version=no | 11255 need_version=no |
| 11664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 11256 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 11665 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex
t$versuffix' | 11257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
shared_ext}$versuffix' |
| 11666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 11258 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 11667 dynamic_linker='NetBSD (a.out) ld.so' | 11259 dynamic_linker='NetBSD (a.out) ld.so' |
| 11668 else | 11260 else |
| 11669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 11261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major ${libname}${shared_ext}' |
| 11670 soname_spec='$libname$release$shared_ext$major' | 11262 soname_spec='${libname}${release}${shared_ext}$major' |
| 11671 dynamic_linker='NetBSD ld.elf_so' | 11263 dynamic_linker='NetBSD ld.elf_so' |
| 11672 fi | 11264 fi |
| 11673 shlibpath_var=LD_LIBRARY_PATH | 11265 shlibpath_var=LD_LIBRARY_PATH |
| 11674 shlibpath_overrides_runpath=yes | 11266 shlibpath_overrides_runpath=yes |
| 11675 hardcode_into_libs=yes | 11267 hardcode_into_libs=yes |
| 11676 ;; | 11268 ;; |
| 11677 | 11269 |
| 11678 newsos6) | 11270 newsos6) |
| 11679 version_type=linux # correct to gnu/linux during the next big refactor | 11271 version_type=linux # correct to gnu/linux during the next big refactor |
| 11680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11681 shlibpath_var=LD_LIBRARY_PATH | 11273 shlibpath_var=LD_LIBRARY_PATH |
| 11682 shlibpath_overrides_runpath=yes | 11274 shlibpath_overrides_runpath=yes |
| 11683 ;; | 11275 ;; |
| 11684 | 11276 |
| 11685 *nto* | *qnx*) | 11277 *nto* | *qnx*) |
| 11686 version_type=qnx | 11278 version_type=qnx |
| 11687 need_lib_prefix=no | 11279 need_lib_prefix=no |
| 11688 need_version=no | 11280 need_version=no |
| 11689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11690 soname_spec='$libname$release$shared_ext$major' | 11282 soname_spec='${libname}${release}${shared_ext}$major' |
| 11691 shlibpath_var=LD_LIBRARY_PATH | 11283 shlibpath_var=LD_LIBRARY_PATH |
| 11692 shlibpath_overrides_runpath=no | 11284 shlibpath_overrides_runpath=no |
| 11693 hardcode_into_libs=yes | 11285 hardcode_into_libs=yes |
| 11694 dynamic_linker='ldqnx.so' | 11286 dynamic_linker='ldqnx.so' |
| 11695 ;; | 11287 ;; |
| 11696 | 11288 |
| 11697 openbsd* | bitrig*) | 11289 openbsd*) |
| 11698 version_type=sunos | 11290 version_type=sunos |
| 11699 sys_lib_dlsearch_path_spec=/usr/lib | 11291 sys_lib_dlsearch_path_spec="/usr/lib" |
| 11700 need_lib_prefix=no | 11292 need_lib_prefix=no |
| 11701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | 11293 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 11702 need_version=no | 11294 case $host_os in |
| 11703 else | 11295 openbsd3.3 | openbsd3.3.*)» need_version=yes ;; |
| 11704 need_version=yes | 11296 *)» » » » need_version=no ;; |
| 11705 fi | 11297 esac |
| 11706 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' | 11298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' |
| 11707 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 11299 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 11708 shlibpath_var=LD_LIBRARY_PATH | 11300 shlibpath_var=LD_LIBRARY_PATH |
| 11709 shlibpath_overrides_runpath=yes | 11301 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then |
| 11302 case $host_os in |
| 11303 openbsd2.[89] | openbsd2.[89].*) |
| 11304 » shlibpath_overrides_runpath=no |
| 11305 » ;; |
| 11306 *) |
| 11307 » shlibpath_overrides_runpath=yes |
| 11308 » ;; |
| 11309 esac |
| 11310 else |
| 11311 shlibpath_overrides_runpath=yes |
| 11312 fi |
| 11710 ;; | 11313 ;; |
| 11711 | 11314 |
| 11712 os2*) | 11315 os2*) |
| 11713 libname_spec='$name' | 11316 libname_spec='$name' |
| 11714 version_type=windows | 11317 shrext_cmds=".dll" |
| 11715 shrext_cmds=.dll | |
| 11716 need_version=no | |
| 11717 need_lib_prefix=no | 11318 need_lib_prefix=no |
| 11718 # OS/2 can only load a DLL with a base name of 8 characters or less. | 11319 library_names_spec='$libname${shared_ext} $libname.a' |
| 11719 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; | |
| 11720 v=$($ECHO $release$versuffix | tr -d .-); | |
| 11721 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); | |
| 11722 $ECHO $n$v`$shared_ext' | |
| 11723 library_names_spec='${libname}_dll.$libext' | |
| 11724 dynamic_linker='OS/2 ld.exe' | 11320 dynamic_linker='OS/2 ld.exe' |
| 11725 shlibpath_var=BEGINLIBPATH | 11321 shlibpath_var=LIBPATH |
| 11726 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | |
| 11727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 11728 postinstall_cmds='base_file=`basename \$file`~ | |
| 11729 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ | |
| 11730 dldir=$destdir/`dirname \$dlpath`~ | |
| 11731 test -d \$dldir || mkdir -p \$dldir~ | |
| 11732 $install_prog $dir/$dlname \$dldir/$dlname~ | |
| 11733 chmod a+x \$dldir/$dlname~ | |
| 11734 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
| 11735 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
| 11736 fi' | |
| 11737 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ | |
| 11738 dlpath=$dir/\$dldll~ | |
| 11739 $RM \$dlpath' | |
| 11740 ;; | 11322 ;; |
| 11741 | 11323 |
| 11742 osf3* | osf4* | osf5*) | 11324 osf3* | osf4* | osf5*) |
| 11743 version_type=osf | 11325 version_type=osf |
| 11744 need_lib_prefix=no | 11326 need_lib_prefix=no |
| 11745 need_version=no | 11327 need_version=no |
| 11746 soname_spec='$libname$release$shared_ext$major' | 11328 soname_spec='${libname}${release}${shared_ext}$major' |
| 11747 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11748 shlibpath_var=LD_LIBRARY_PATH | 11330 shlibpath_var=LD_LIBRARY_PATH |
| 11749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" | 11331 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" |
| 11750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 11332 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 11751 ;; | 11333 ;; |
| 11752 | 11334 |
| 11753 rdos*) | 11335 rdos*) |
| 11754 dynamic_linker=no | 11336 dynamic_linker=no |
| 11755 ;; | 11337 ;; |
| 11756 | 11338 |
| 11757 solaris*) | 11339 solaris*) |
| 11758 version_type=linux # correct to gnu/linux during the next big refactor | 11340 version_type=linux # correct to gnu/linux during the next big refactor |
| 11759 need_lib_prefix=no | 11341 need_lib_prefix=no |
| 11760 need_version=no | 11342 need_version=no |
| 11761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11762 soname_spec='$libname$release$shared_ext$major' | 11344 soname_spec='${libname}${release}${shared_ext}$major' |
| 11763 shlibpath_var=LD_LIBRARY_PATH | 11345 shlibpath_var=LD_LIBRARY_PATH |
| 11764 shlibpath_overrides_runpath=yes | 11346 shlibpath_overrides_runpath=yes |
| 11765 hardcode_into_libs=yes | 11347 hardcode_into_libs=yes |
| 11766 # ldd complains unless libraries are executable | 11348 # ldd complains unless libraries are executable |
| 11767 postinstall_cmds='chmod +x $lib' | 11349 postinstall_cmds='chmod +x $lib' |
| 11768 ;; | 11350 ;; |
| 11769 | 11351 |
| 11770 sunos4*) | 11352 sunos4*) |
| 11771 version_type=sunos | 11353 version_type=sunos |
| 11772 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' | 11354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' |
| 11773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 11355 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 11774 shlibpath_var=LD_LIBRARY_PATH | 11356 shlibpath_var=LD_LIBRARY_PATH |
| 11775 shlibpath_overrides_runpath=yes | 11357 shlibpath_overrides_runpath=yes |
| 11776 if test yes = "$with_gnu_ld"; then | 11358 if test "$with_gnu_ld" = yes; then |
| 11777 need_lib_prefix=no | 11359 need_lib_prefix=no |
| 11778 fi | 11360 fi |
| 11779 need_version=yes | 11361 need_version=yes |
| 11780 ;; | 11362 ;; |
| 11781 | 11363 |
| 11782 sysv4 | sysv4.3*) | 11364 sysv4 | sysv4.3*) |
| 11783 version_type=linux # correct to gnu/linux during the next big refactor | 11365 version_type=linux # correct to gnu/linux during the next big refactor |
| 11784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11785 soname_spec='$libname$release$shared_ext$major' | 11367 soname_spec='${libname}${release}${shared_ext}$major' |
| 11786 shlibpath_var=LD_LIBRARY_PATH | 11368 shlibpath_var=LD_LIBRARY_PATH |
| 11787 case $host_vendor in | 11369 case $host_vendor in |
| 11788 sni) | 11370 sni) |
| 11789 shlibpath_overrides_runpath=no | 11371 shlibpath_overrides_runpath=no |
| 11790 need_lib_prefix=no | 11372 need_lib_prefix=no |
| 11791 runpath_var=LD_RUN_PATH | 11373 runpath_var=LD_RUN_PATH |
| 11792 ;; | 11374 ;; |
| 11793 siemens) | 11375 siemens) |
| 11794 need_lib_prefix=no | 11376 need_lib_prefix=no |
| 11795 ;; | 11377 ;; |
| 11796 motorola) | 11378 motorola) |
| 11797 need_lib_prefix=no | 11379 need_lib_prefix=no |
| 11798 need_version=no | 11380 need_version=no |
| 11799 shlibpath_overrides_runpath=no | 11381 shlibpath_overrides_runpath=no |
| 11800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 11382 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 11801 ;; | 11383 ;; |
| 11802 esac | 11384 esac |
| 11803 ;; | 11385 ;; |
| 11804 | 11386 |
| 11805 sysv4*MP*) | 11387 sysv4*MP*) |
| 11806 if test -d /usr/nec; then | 11388 if test -d /usr/nec ;then |
| 11807 version_type=linux # correct to gnu/linux during the next big refactor | 11389 version_type=linux # correct to gnu/linux during the next big refactor |
| 11808 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$majo
r $libname$shared_ext' | 11390 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$
major $libname${shared_ext}' |
| 11809 soname_spec='$libname$shared_ext.$major' | 11391 soname_spec='$libname${shared_ext}.$major' |
| 11810 shlibpath_var=LD_LIBRARY_PATH | 11392 shlibpath_var=LD_LIBRARY_PATH |
| 11811 fi | 11393 fi |
| 11812 ;; | 11394 ;; |
| 11813 | 11395 |
| 11814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 11396 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 11815 version_type=sco | 11397 version_type=freebsd-elf |
| 11816 need_lib_prefix=no | 11398 need_lib_prefix=no |
| 11817 need_version=no | 11399 need_version=no |
| 11818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext $libname$shared_ext' | 11400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext} $libname${shared_ext}' |
| 11819 soname_spec='$libname$release$shared_ext$major' | 11401 soname_spec='${libname}${release}${shared_ext}$major' |
| 11820 shlibpath_var=LD_LIBRARY_PATH | 11402 shlibpath_var=LD_LIBRARY_PATH |
| 11821 shlibpath_overrides_runpath=yes | 11403 shlibpath_overrides_runpath=yes |
| 11822 hardcode_into_libs=yes | 11404 hardcode_into_libs=yes |
| 11823 if test yes = "$with_gnu_ld"; then | 11405 if test "$with_gnu_ld" = yes; then |
| 11824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' | 11406 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' |
| 11825 else | 11407 else |
| 11826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 11408 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 11827 case $host_os in | 11409 case $host_os in |
| 11828 sco3.2v5*) | 11410 sco3.2v5*) |
| 11829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 11411 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 11830 ;; | 11412 ;; |
| 11831 esac | 11413 esac |
| 11832 fi | 11414 fi |
| 11833 sys_lib_dlsearch_path_spec='/usr/lib' | 11415 sys_lib_dlsearch_path_spec='/usr/lib' |
| 11834 ;; | 11416 ;; |
| 11835 | 11417 |
| 11836 tpf*) | 11418 tpf*) |
| 11837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | 11419 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 11838 version_type=linux # correct to gnu/linux during the next big refactor | 11420 version_type=linux # correct to gnu/linux during the next big refactor |
| 11839 need_lib_prefix=no | 11421 need_lib_prefix=no |
| 11840 need_version=no | 11422 need_version=no |
| 11841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11842 shlibpath_var=LD_LIBRARY_PATH | 11424 shlibpath_var=LD_LIBRARY_PATH |
| 11843 shlibpath_overrides_runpath=no | 11425 shlibpath_overrides_runpath=no |
| 11844 hardcode_into_libs=yes | 11426 hardcode_into_libs=yes |
| 11845 ;; | 11427 ;; |
| 11846 | 11428 |
| 11847 uts4*) | 11429 uts4*) |
| 11848 version_type=linux # correct to gnu/linux during the next big refactor | 11430 version_type=linux # correct to gnu/linux during the next big refactor |
| 11849 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11850 soname_spec='$libname$release$shared_ext$major' | 11432 soname_spec='${libname}${release}${shared_ext}$major' |
| 11851 shlibpath_var=LD_LIBRARY_PATH | 11433 shlibpath_var=LD_LIBRARY_PATH |
| 11852 ;; | 11434 ;; |
| 11853 | 11435 |
| 11854 *) | 11436 *) |
| 11855 dynamic_linker=no | 11437 dynamic_linker=no |
| 11856 ;; | 11438 ;; |
| 11857 esac | 11439 esac |
| 11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | 11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 11859 $as_echo "$dynamic_linker" >&6; } | 11441 $as_echo "$dynamic_linker" >&6; } |
| 11860 test no = "$dynamic_linker" && can_build_shared=no | 11442 test "$dynamic_linker" = no && can_build_shared=no |
| 11861 | 11443 |
| 11862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 11444 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 11863 if test yes = "$GCC"; then | 11445 if test "$GCC" = yes; then |
| 11864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | 11446 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" |
| 11865 fi | 11447 fi |
| 11866 | 11448 |
| 11867 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then | 11449 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 11868 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec | 11450 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 11869 fi | 11451 fi |
| 11870 | 11452 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 11871 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then | 11453 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 11872 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec | |
| 11873 fi | 11454 fi |
| 11874 | 11455 |
| 11875 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... | |
| 11876 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec | |
| 11877 | |
| 11878 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code | |
| 11879 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" | |
| 11880 | |
| 11881 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool | |
| 11882 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH | |
| 11883 | |
| 11884 | 11456 |
| 11885 | 11457 |
| 11886 | 11458 |
| 11887 | |
| 11888 | |
| 11889 | |
| 11890 | |
| 11891 | |
| 11892 | 11459 |
| 11893 | 11460 |
| 11894 | 11461 |
| 11895 | 11462 |
| 11896 | 11463 |
| 11897 | 11464 |
| 11898 | 11465 |
| 11899 | 11466 |
| 11900 | 11467 |
| 11901 | 11468 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11975 | 11542 |
| 11976 | 11543 |
| 11977 | 11544 |
| 11978 | 11545 |
| 11979 | 11546 |
| 11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 | 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 |
| 11981 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | 11548 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 11982 hardcode_action= | 11549 hardcode_action= |
| 11983 if test -n "$hardcode_libdir_flag_spec" || | 11550 if test -n "$hardcode_libdir_flag_spec" || |
| 11984 test -n "$runpath_var" || | 11551 test -n "$runpath_var" || |
| 11985 test yes = "$hardcode_automatic"; then | 11552 test "X$hardcode_automatic" = "Xyes" ; then |
| 11986 | 11553 |
| 11987 # We can hardcode non-existent directories. | 11554 # We can hardcode non-existent directories. |
| 11988 if test no != "$hardcode_direct" && | 11555 if test "$hardcode_direct" != no && |
| 11989 # If the only mechanism to avoid hardcoding is shlibpath_var, we | 11556 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 11990 # have to relink, otherwise we might link with an installed library | 11557 # have to relink, otherwise we might link with an installed library |
| 11991 # when we should be linking with a yet-to-be-installed one | 11558 # when we should be linking with a yet-to-be-installed one |
| 11992 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && | 11559 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
| 11993 test no != "$hardcode_minus_L"; then | 11560 test "$hardcode_minus_L" != no; then |
| 11994 # Linking always hardcodes the temporary library directory. | 11561 # Linking always hardcodes the temporary library directory. |
| 11995 hardcode_action=relink | 11562 hardcode_action=relink |
| 11996 else | 11563 else |
| 11997 # We can link without hardcoding, and we can hardcode nonexisting dirs. | 11564 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 11998 hardcode_action=immediate | 11565 hardcode_action=immediate |
| 11999 fi | 11566 fi |
| 12000 else | 11567 else |
| 12001 # We cannot hardcode anything, or else we can only hardcode existing | 11568 # We cannot hardcode anything, or else we can only hardcode existing |
| 12002 # directories. | 11569 # directories. |
| 12003 hardcode_action=unsupported | 11570 hardcode_action=unsupported |
| 12004 fi | 11571 fi |
| 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | 11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
| 12006 $as_echo "$hardcode_action" >&6; } | 11573 $as_echo "$hardcode_action" >&6; } |
| 12007 | 11574 |
| 12008 if test relink = "$hardcode_action" || | 11575 if test "$hardcode_action" = relink || |
| 12009 test yes = "$inherit_rpath"; then | 11576 test "$inherit_rpath" = yes; then |
| 12010 # Fast installation is not supported | 11577 # Fast installation is not supported |
| 12011 enable_fast_install=no | 11578 enable_fast_install=no |
| 12012 elif test yes = "$shlibpath_overrides_runpath" || | 11579 elif test "$shlibpath_overrides_runpath" = yes || |
| 12013 test no = "$enable_shared"; then | 11580 test "$enable_shared" = no; then |
| 12014 # Fast installation is not necessary | 11581 # Fast installation is not necessary |
| 12015 enable_fast_install=needless | 11582 enable_fast_install=needless |
| 12016 fi | 11583 fi |
| 12017 | 11584 |
| 12018 | 11585 |
| 12019 | 11586 |
| 12020 | 11587 |
| 12021 | 11588 |
| 12022 | 11589 |
| 12023 if test yes != "$enable_dlopen"; then | 11590 if test "x$enable_dlopen" != xyes; then |
| 12024 enable_dlopen=unknown | 11591 enable_dlopen=unknown |
| 12025 enable_dlopen_self=unknown | 11592 enable_dlopen_self=unknown |
| 12026 enable_dlopen_self_static=unknown | 11593 enable_dlopen_self_static=unknown |
| 12027 else | 11594 else |
| 12028 lt_cv_dlopen=no | 11595 lt_cv_dlopen=no |
| 12029 lt_cv_dlopen_libs= | 11596 lt_cv_dlopen_libs= |
| 12030 | 11597 |
| 12031 case $host_os in | 11598 case $host_os in |
| 12032 beos*) | 11599 beos*) |
| 12033 lt_cv_dlopen=load_add_on | 11600 lt_cv_dlopen="load_add_on" |
| 12034 lt_cv_dlopen_libs= | 11601 lt_cv_dlopen_libs= |
| 12035 lt_cv_dlopen_self=yes | 11602 lt_cv_dlopen_self=yes |
| 12036 ;; | 11603 ;; |
| 12037 | 11604 |
| 12038 mingw* | pw32* | cegcc*) | 11605 mingw* | pw32* | cegcc*) |
| 12039 lt_cv_dlopen=LoadLibrary | 11606 lt_cv_dlopen="LoadLibrary" |
| 12040 lt_cv_dlopen_libs= | 11607 lt_cv_dlopen_libs= |
| 12041 ;; | 11608 ;; |
| 12042 | 11609 |
| 12043 cygwin*) | 11610 cygwin*) |
| 12044 lt_cv_dlopen=dlopen | 11611 lt_cv_dlopen="dlopen" |
| 12045 lt_cv_dlopen_libs= | 11612 lt_cv_dlopen_libs= |
| 12046 ;; | 11613 ;; |
| 12047 | 11614 |
| 12048 darwin*) | 11615 darwin*) |
| 12049 # if libdl is installed we need to link against it | 11616 # if libdl is installed we need to link against it |
| 12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12051 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 11618 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12052 if ${ac_cv_lib_dl_dlopen+:} false; then : | 11619 if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12053 $as_echo_n "(cached) " >&6 | 11620 $as_echo_n "(cached) " >&6 |
| 12054 else | 11621 else |
| 12055 ac_check_lib_save_LIBS=$LIBS | 11622 ac_check_lib_save_LIBS=$LIBS |
| 12056 LIBS="-ldl $LIBS" | 11623 LIBS="-ldl $LIBS" |
| 12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12058 /* end confdefs.h. */ | 11625 /* end confdefs.h. */ |
| 12059 | 11626 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 12077 else | 11644 else |
| 12078 ac_cv_lib_dl_dlopen=no | 11645 ac_cv_lib_dl_dlopen=no |
| 12079 fi | 11646 fi |
| 12080 rm -f core conftest.err conftest.$ac_objext \ | 11647 rm -f core conftest.err conftest.$ac_objext \ |
| 12081 conftest$ac_exeext conftest.$ac_ext | 11648 conftest$ac_exeext conftest.$ac_ext |
| 12082 LIBS=$ac_check_lib_save_LIBS | 11649 LIBS=$ac_check_lib_save_LIBS |
| 12083 fi | 11650 fi |
| 12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12085 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 11652 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12086 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 11653 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12087 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl | 11654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12088 else | 11655 else |
| 12089 | 11656 |
| 12090 lt_cv_dlopen=dyld | 11657 lt_cv_dlopen="dyld" |
| 12091 lt_cv_dlopen_libs= | 11658 lt_cv_dlopen_libs= |
| 12092 lt_cv_dlopen_self=yes | 11659 lt_cv_dlopen_self=yes |
| 12093 | 11660 |
| 12094 fi | 11661 fi |
| 12095 | 11662 |
| 12096 ;; | 11663 ;; |
| 12097 | 11664 |
| 12098 tpf*) | |
| 12099 # Don't try to run any link tests for TPF. We know it's impossible | |
| 12100 # because TPF is a cross-compiler, and we know how we open DSOs. | |
| 12101 lt_cv_dlopen=dlopen | |
| 12102 lt_cv_dlopen_libs= | |
| 12103 lt_cv_dlopen_self=no | |
| 12104 ;; | |
| 12105 | |
| 12106 *) | 11665 *) |
| 12107 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | 11666 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
| 12108 if test "x$ac_cv_func_shl_load" = xyes; then : | 11667 if test "x$ac_cv_func_shl_load" = xyes; then : |
| 12109 lt_cv_dlopen=shl_load | 11668 lt_cv_dlopen="shl_load" |
| 12110 else | 11669 else |
| 12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | 11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
| 12112 $as_echo_n "checking for shl_load in -ldld... " >&6; } | 11671 $as_echo_n "checking for shl_load in -ldld... " >&6; } |
| 12113 if ${ac_cv_lib_dld_shl_load+:} false; then : | 11672 if ${ac_cv_lib_dld_shl_load+:} false; then : |
| 12114 $as_echo_n "(cached) " >&6 | 11673 $as_echo_n "(cached) " >&6 |
| 12115 else | 11674 else |
| 12116 ac_check_lib_save_LIBS=$LIBS | 11675 ac_check_lib_save_LIBS=$LIBS |
| 12117 LIBS="-ldld $LIBS" | 11676 LIBS="-ldld $LIBS" |
| 12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12119 /* end confdefs.h. */ | 11678 /* end confdefs.h. */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 12138 else | 11697 else |
| 12139 ac_cv_lib_dld_shl_load=no | 11698 ac_cv_lib_dld_shl_load=no |
| 12140 fi | 11699 fi |
| 12141 rm -f core conftest.err conftest.$ac_objext \ | 11700 rm -f core conftest.err conftest.$ac_objext \ |
| 12142 conftest$ac_exeext conftest.$ac_ext | 11701 conftest$ac_exeext conftest.$ac_ext |
| 12143 LIBS=$ac_check_lib_save_LIBS | 11702 LIBS=$ac_check_lib_save_LIBS |
| 12144 fi | 11703 fi |
| 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | 11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
| 12146 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | 11705 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
| 12147 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 11706 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
| 12148 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld | 11707 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
| 12149 else | 11708 else |
| 12150 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | 11709 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
| 12151 if test "x$ac_cv_func_dlopen" = xyes; then : | 11710 if test "x$ac_cv_func_dlopen" = xyes; then : |
| 12152 lt_cv_dlopen=dlopen | 11711 lt_cv_dlopen="dlopen" |
| 12153 else | 11712 else |
| 12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
| 12155 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 11714 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
| 12156 if ${ac_cv_lib_dl_dlopen+:} false; then : | 11715 if ${ac_cv_lib_dl_dlopen+:} false; then : |
| 12157 $as_echo_n "(cached) " >&6 | 11716 $as_echo_n "(cached) " >&6 |
| 12158 else | 11717 else |
| 12159 ac_check_lib_save_LIBS=$LIBS | 11718 ac_check_lib_save_LIBS=$LIBS |
| 12160 LIBS="-ldl $LIBS" | 11719 LIBS="-ldl $LIBS" |
| 12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12162 /* end confdefs.h. */ | 11721 /* end confdefs.h. */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 12181 else | 11740 else |
| 12182 ac_cv_lib_dl_dlopen=no | 11741 ac_cv_lib_dl_dlopen=no |
| 12183 fi | 11742 fi |
| 12184 rm -f core conftest.err conftest.$ac_objext \ | 11743 rm -f core conftest.err conftest.$ac_objext \ |
| 12185 conftest$ac_exeext conftest.$ac_ext | 11744 conftest$ac_exeext conftest.$ac_ext |
| 12186 LIBS=$ac_check_lib_save_LIBS | 11745 LIBS=$ac_check_lib_save_LIBS |
| 12187 fi | 11746 fi |
| 12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
| 12189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 11748 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
| 12190 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 11749 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12191 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl | 11750 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12192 else | 11751 else |
| 12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | 11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
| 12194 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | 11753 $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
| 12195 if ${ac_cv_lib_svld_dlopen+:} false; then : | 11754 if ${ac_cv_lib_svld_dlopen+:} false; then : |
| 12196 $as_echo_n "(cached) " >&6 | 11755 $as_echo_n "(cached) " >&6 |
| 12197 else | 11756 else |
| 12198 ac_check_lib_save_LIBS=$LIBS | 11757 ac_check_lib_save_LIBS=$LIBS |
| 12199 LIBS="-lsvld $LIBS" | 11758 LIBS="-lsvld $LIBS" |
| 12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12201 /* end confdefs.h. */ | 11760 /* end confdefs.h. */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 12220 else | 11779 else |
| 12221 ac_cv_lib_svld_dlopen=no | 11780 ac_cv_lib_svld_dlopen=no |
| 12222 fi | 11781 fi |
| 12223 rm -f core conftest.err conftest.$ac_objext \ | 11782 rm -f core conftest.err conftest.$ac_objext \ |
| 12224 conftest$ac_exeext conftest.$ac_ext | 11783 conftest$ac_exeext conftest.$ac_ext |
| 12225 LIBS=$ac_check_lib_save_LIBS | 11784 LIBS=$ac_check_lib_save_LIBS |
| 12226 fi | 11785 fi |
| 12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | 11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
| 12228 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | 11787 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
| 12229 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | 11788 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12230 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld | 11789 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
| 12231 else | 11790 else |
| 12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | 11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
| 12233 $as_echo_n "checking for dld_link in -ldld... " >&6; } | 11792 $as_echo_n "checking for dld_link in -ldld... " >&6; } |
| 12234 if ${ac_cv_lib_dld_dld_link+:} false; then : | 11793 if ${ac_cv_lib_dld_dld_link+:} false; then : |
| 12235 $as_echo_n "(cached) " >&6 | 11794 $as_echo_n "(cached) " >&6 |
| 12236 else | 11795 else |
| 12237 ac_check_lib_save_LIBS=$LIBS | 11796 ac_check_lib_save_LIBS=$LIBS |
| 12238 LIBS="-ldld $LIBS" | 11797 LIBS="-ldld $LIBS" |
| 12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12240 /* end confdefs.h. */ | 11799 /* end confdefs.h. */ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 12259 else | 11818 else |
| 12260 ac_cv_lib_dld_dld_link=no | 11819 ac_cv_lib_dld_dld_link=no |
| 12261 fi | 11820 fi |
| 12262 rm -f core conftest.err conftest.$ac_objext \ | 11821 rm -f core conftest.err conftest.$ac_objext \ |
| 12263 conftest$ac_exeext conftest.$ac_ext | 11822 conftest$ac_exeext conftest.$ac_ext |
| 12264 LIBS=$ac_check_lib_save_LIBS | 11823 LIBS=$ac_check_lib_save_LIBS |
| 12265 fi | 11824 fi |
| 12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | 11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
| 12267 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | 11826 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
| 12268 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | 11827 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
| 12269 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld | 11828 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
| 12270 fi | 11829 fi |
| 12271 | 11830 |
| 12272 | 11831 |
| 12273 fi | 11832 fi |
| 12274 | 11833 |
| 12275 | 11834 |
| 12276 fi | 11835 fi |
| 12277 | 11836 |
| 12278 | 11837 |
| 12279 fi | 11838 fi |
| 12280 | 11839 |
| 12281 | 11840 |
| 12282 fi | 11841 fi |
| 12283 | 11842 |
| 12284 | 11843 |
| 12285 fi | 11844 fi |
| 12286 | 11845 |
| 12287 ;; | 11846 ;; |
| 12288 esac | 11847 esac |
| 12289 | 11848 |
| 12290 if test no = "$lt_cv_dlopen"; then | 11849 if test "x$lt_cv_dlopen" != xno; then |
| 11850 enable_dlopen=yes |
| 11851 else |
| 12291 enable_dlopen=no | 11852 enable_dlopen=no |
| 12292 else | |
| 12293 enable_dlopen=yes | |
| 12294 fi | 11853 fi |
| 12295 | 11854 |
| 12296 case $lt_cv_dlopen in | 11855 case $lt_cv_dlopen in |
| 12297 dlopen) | 11856 dlopen) |
| 12298 save_CPPFLAGS=$CPPFLAGS | 11857 save_CPPFLAGS="$CPPFLAGS" |
| 12299 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 11858 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12300 | 11859 |
| 12301 save_LDFLAGS=$LDFLAGS | 11860 save_LDFLAGS="$LDFLAGS" |
| 12302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 11861 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 12303 | 11862 |
| 12304 save_LIBS=$LIBS | 11863 save_LIBS="$LIBS" |
| 12305 LIBS="$lt_cv_dlopen_libs $LIBS" | 11864 LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12306 | 11865 |
| 12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop
en itself" >&5 | 11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop
en itself" >&5 |
| 12308 $as_echo_n "checking whether a program can dlopen itself... " >&6; } | 11867 $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 12309 if ${lt_cv_dlopen_self+:} false; then : | 11868 if ${lt_cv_dlopen_self+:} false; then : |
| 12310 $as_echo_n "(cached) " >&6 | 11869 $as_echo_n "(cached) " >&6 |
| 12311 else | 11870 else |
| 12312 » if test yes = "$cross_compiling"; then : | 11871 » if test "$cross_compiling" = yes; then : |
| 12313 lt_cv_dlopen_self=cross | 11872 lt_cv_dlopen_self=cross |
| 12314 else | 11873 else |
| 12315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 11874 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12316 lt_status=$lt_dlunknown | 11875 lt_status=$lt_dlunknown |
| 12317 cat > conftest.$ac_ext <<_LT_EOF | 11876 cat > conftest.$ac_ext <<_LT_EOF |
| 12318 #line $LINENO "configure" | 11877 #line $LINENO "configure" |
| 12319 #include "confdefs.h" | 11878 #include "confdefs.h" |
| 12320 | 11879 |
| 12321 #if HAVE_DLFCN_H | 11880 #if HAVE_DLFCN_H |
| 12322 #include <dlfcn.h> | 11881 #include <dlfcn.h> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12349 # ifdef DL_NOW | 11908 # ifdef DL_NOW |
| 12350 # define LT_DLLAZY_OR_NOW DL_NOW | 11909 # define LT_DLLAZY_OR_NOW DL_NOW |
| 12351 # else | 11910 # else |
| 12352 # define LT_DLLAZY_OR_NOW 0 | 11911 # define LT_DLLAZY_OR_NOW 0 |
| 12353 # endif | 11912 # endif |
| 12354 # endif | 11913 # endif |
| 12355 # endif | 11914 # endif |
| 12356 # endif | 11915 # endif |
| 12357 #endif | 11916 #endif |
| 12358 | 11917 |
| 12359 /* When -fvisibility=hidden is used, assume the code has been annotated | 11918 /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12360 correspondingly for the symbols needed. */ | 11919 correspondingly for the symbols needed. */ |
| 12361 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__
> 3)) | 11920 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) |
| 12362 int fnord () __attribute__((visibility("default"))); | 11921 int fnord () __attribute__((visibility("default"))); |
| 12363 #endif | 11922 #endif |
| 12364 | 11923 |
| 12365 int fnord () { return 42; } | 11924 int fnord () { return 42; } |
| 12366 int main () | 11925 int main () |
| 12367 { | 11926 { |
| 12368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 11927 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12369 int status = $lt_dlunknown; | 11928 int status = $lt_dlunknown; |
| 12370 | 11929 |
| 12371 if (self) | 11930 if (self) |
| 12372 { | 11931 { |
| 12373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 11932 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 12374 else | 11933 else |
| 12375 { | 11934 { |
| 12376 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 11935 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12377 else puts (dlerror ()); | 11936 else puts (dlerror ()); |
| 12378 } | 11937 } |
| 12379 /* dlclose (self); */ | 11938 /* dlclose (self); */ |
| 12380 } | 11939 } |
| 12381 else | 11940 else |
| 12382 puts (dlerror ()); | 11941 puts (dlerror ()); |
| 12383 | 11942 |
| 12384 return status; | 11943 return status; |
| 12385 } | 11944 } |
| 12386 _LT_EOF | 11945 _LT_EOF |
| 12387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 11946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12388 (eval $ac_link) 2>&5 | 11947 (eval $ac_link) 2>&5 |
| 12389 ac_status=$? | 11948 ac_status=$? |
| 12390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12391 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then | 11950 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12392 (./conftest; exit; ) >&5 2>/dev/null | 11951 (./conftest; exit; ) >&5 2>/dev/null |
| 12393 lt_status=$? | 11952 lt_status=$? |
| 12394 case x$lt_status in | 11953 case x$lt_status in |
| 12395 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 11954 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 12396 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 11955 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 12397 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | 11956 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 12398 esac | 11957 esac |
| 12399 else : | 11958 else : |
| 12400 # compilation failed | 11959 # compilation failed |
| 12401 lt_cv_dlopen_self=no | 11960 lt_cv_dlopen_self=no |
| 12402 fi | 11961 fi |
| 12403 fi | 11962 fi |
| 12404 rm -fr conftest* | 11963 rm -fr conftest* |
| 12405 | 11964 |
| 12406 | 11965 |
| 12407 fi | 11966 fi |
| 12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | 11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12409 $as_echo "$lt_cv_dlopen_self" >&6; } | 11968 $as_echo "$lt_cv_dlopen_self" >&6; } |
| 12410 | 11969 |
| 12411 if test yes = "$lt_cv_dlopen_self"; then | 11970 if test "x$lt_cv_dlopen_self" = xyes; then |
| 12412 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" | 11971 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" |
| 12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin
ked program can dlopen itself" >&5 | 11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin
ked program can dlopen itself" >&5 |
| 12414 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } | 11973 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } |
| 12415 if ${lt_cv_dlopen_self_static+:} false; then : | 11974 if ${lt_cv_dlopen_self_static+:} false; then : |
| 12416 $as_echo_n "(cached) " >&6 | 11975 $as_echo_n "(cached) " >&6 |
| 12417 else | 11976 else |
| 12418 » if test yes = "$cross_compiling"; then : | 11977 » if test "$cross_compiling" = yes; then : |
| 12419 lt_cv_dlopen_self_static=cross | 11978 lt_cv_dlopen_self_static=cross |
| 12420 else | 11979 else |
| 12421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 11980 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12422 lt_status=$lt_dlunknown | 11981 lt_status=$lt_dlunknown |
| 12423 cat > conftest.$ac_ext <<_LT_EOF | 11982 cat > conftest.$ac_ext <<_LT_EOF |
| 12424 #line $LINENO "configure" | 11983 #line $LINENO "configure" |
| 12425 #include "confdefs.h" | 11984 #include "confdefs.h" |
| 12426 | 11985 |
| 12427 #if HAVE_DLFCN_H | 11986 #if HAVE_DLFCN_H |
| 12428 #include <dlfcn.h> | 11987 #include <dlfcn.h> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 12455 # ifdef DL_NOW | 12014 # ifdef DL_NOW |
| 12456 # define LT_DLLAZY_OR_NOW DL_NOW | 12015 # define LT_DLLAZY_OR_NOW DL_NOW |
| 12457 # else | 12016 # else |
| 12458 # define LT_DLLAZY_OR_NOW 0 | 12017 # define LT_DLLAZY_OR_NOW 0 |
| 12459 # endif | 12018 # endif |
| 12460 # endif | 12019 # endif |
| 12461 # endif | 12020 # endif |
| 12462 # endif | 12021 # endif |
| 12463 #endif | 12022 #endif |
| 12464 | 12023 |
| 12465 /* When -fvisibility=hidden is used, assume the code has been annotated | 12024 /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12466 correspondingly for the symbols needed. */ | 12025 correspondingly for the symbols needed. */ |
| 12467 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__
> 3)) | 12026 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) |
| 12468 int fnord () __attribute__((visibility("default"))); | 12027 int fnord () __attribute__((visibility("default"))); |
| 12469 #endif | 12028 #endif |
| 12470 | 12029 |
| 12471 int fnord () { return 42; } | 12030 int fnord () { return 42; } |
| 12472 int main () | 12031 int main () |
| 12473 { | 12032 { |
| 12474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 12033 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12475 int status = $lt_dlunknown; | 12034 int status = $lt_dlunknown; |
| 12476 | 12035 |
| 12477 if (self) | 12036 if (self) |
| 12478 { | 12037 { |
| 12479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 12038 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 12480 else | 12039 else |
| 12481 { | 12040 { |
| 12482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 12041 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12483 else puts (dlerror ()); | 12042 else puts (dlerror ()); |
| 12484 } | 12043 } |
| 12485 /* dlclose (self); */ | 12044 /* dlclose (self); */ |
| 12486 } | 12045 } |
| 12487 else | 12046 else |
| 12488 puts (dlerror ()); | 12047 puts (dlerror ()); |
| 12489 | 12048 |
| 12490 return status; | 12049 return status; |
| 12491 } | 12050 } |
| 12492 _LT_EOF | 12051 _LT_EOF |
| 12493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 12052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12494 (eval $ac_link) 2>&5 | 12053 (eval $ac_link) 2>&5 |
| 12495 ac_status=$? | 12054 ac_status=$? |
| 12496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 12055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12497 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then | 12056 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12498 (./conftest; exit; ) >&5 2>/dev/null | 12057 (./conftest; exit; ) >&5 2>/dev/null |
| 12499 lt_status=$? | 12058 lt_status=$? |
| 12500 case x$lt_status in | 12059 case x$lt_status in |
| 12501 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 12060 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 12502 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 12061 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 12503 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | 12062 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 12504 esac | 12063 esac |
| 12505 else : | 12064 else : |
| 12506 # compilation failed | 12065 # compilation failed |
| 12507 lt_cv_dlopen_self_static=no | 12066 lt_cv_dlopen_self_static=no |
| 12508 fi | 12067 fi |
| 12509 fi | 12068 fi |
| 12510 rm -fr conftest* | 12069 rm -fr conftest* |
| 12511 | 12070 |
| 12512 | 12071 |
| 12513 fi | 12072 fi |
| 12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | 12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12515 $as_echo "$lt_cv_dlopen_self_static" >&6; } | 12074 $as_echo "$lt_cv_dlopen_self_static" >&6; } |
| 12516 fi | 12075 fi |
| 12517 | 12076 |
| 12518 CPPFLAGS=$save_CPPFLAGS | 12077 CPPFLAGS="$save_CPPFLAGS" |
| 12519 LDFLAGS=$save_LDFLAGS | 12078 LDFLAGS="$save_LDFLAGS" |
| 12520 LIBS=$save_LIBS | 12079 LIBS="$save_LIBS" |
| 12521 ;; | 12080 ;; |
| 12522 esac | 12081 esac |
| 12523 | 12082 |
| 12524 case $lt_cv_dlopen_self in | 12083 case $lt_cv_dlopen_self in |
| 12525 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 12084 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 12526 *) enable_dlopen_self=unknown ;; | 12085 *) enable_dlopen_self=unknown ;; |
| 12527 esac | 12086 esac |
| 12528 | 12087 |
| 12529 case $lt_cv_dlopen_self_static in | 12088 case $lt_cv_dlopen_self_static in |
| 12530 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 12089 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 12554 $as_echo_n "checking whether stripping libraries is possible... " >&6; } | 12113 $as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 12555 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | 12114 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12556 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 12115 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 12557 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 12116 test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12559 $as_echo "yes" >&6; } | 12118 $as_echo "yes" >&6; } |
| 12560 else | 12119 else |
| 12561 # FIXME - insert some real tests, host_os isn't really good enough | 12120 # FIXME - insert some real tests, host_os isn't really good enough |
| 12562 case $host_os in | 12121 case $host_os in |
| 12563 darwin*) | 12122 darwin*) |
| 12564 if test -n "$STRIP"; then | 12123 if test -n "$STRIP" ; then |
| 12565 striplib="$STRIP -x" | 12124 striplib="$STRIP -x" |
| 12566 old_striplib="$STRIP -S" | 12125 old_striplib="$STRIP -S" |
| 12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12568 $as_echo "yes" >&6; } | 12127 $as_echo "yes" >&6; } |
| 12569 else | 12128 else |
| 12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12571 $as_echo "no" >&6; } | 12130 $as_echo "no" >&6; } |
| 12572 fi | 12131 fi |
| 12573 ;; | 12132 ;; |
| 12574 *) | 12133 *) |
| 12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12576 $as_echo "no" >&6; } | 12135 $as_echo "no" >&6; } |
| 12577 ;; | 12136 ;; |
| 12578 esac | 12137 esac |
| 12579 fi | 12138 fi |
| 12580 | 12139 |
| 12581 | 12140 |
| 12582 | 12141 |
| 12583 | 12142 |
| 12584 | 12143 |
| 12585 | 12144 |
| 12586 | 12145 |
| 12587 | 12146 |
| 12588 | 12147 |
| 12589 | 12148 |
| 12590 | 12149 |
| 12591 | 12150 |
| 12592 # Report what library types will actually be built | 12151 # Report which library types will actually be built |
| 12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l
ibraries" >&5 | 12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l
ibraries" >&5 |
| 12594 $as_echo_n "checking if libtool supports shared libraries... " >&6; } | 12153 $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | 12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 12596 $as_echo "$can_build_shared" >&6; } | 12155 $as_echo "$can_build_shared" >&6; } |
| 12597 | 12156 |
| 12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr
aries" >&5 | 12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr
aries" >&5 |
| 12599 $as_echo_n "checking whether to build shared libraries... " >&6; } | 12158 $as_echo_n "checking whether to build shared libraries... " >&6; } |
| 12600 test no = "$can_build_shared" && enable_shared=no | 12159 test "$can_build_shared" = "no" && enable_shared=no |
| 12601 | 12160 |
| 12602 # On AIX, shared libraries and static libraries use the same namespace, and | 12161 # On AIX, shared libraries and static libraries use the same namespace, and |
| 12603 # are all built from PIC. | 12162 # are all built from PIC. |
| 12604 case $host_os in | 12163 case $host_os in |
| 12605 aix3*) | 12164 aix3*) |
| 12606 test yes = "$enable_shared" && enable_static=no | 12165 test "$enable_shared" = yes && enable_static=no |
| 12607 if test -n "$RANLIB"; then | 12166 if test -n "$RANLIB"; then |
| 12608 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 12167 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 12609 postinstall_cmds='$RANLIB $lib' | 12168 postinstall_cmds='$RANLIB $lib' |
| 12610 fi | 12169 fi |
| 12611 ;; | 12170 ;; |
| 12612 | 12171 |
| 12613 aix[4-9]*) | 12172 aix[4-9]*) |
| 12614 if test ia64 != "$host_cpu"; then | 12173 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 12615 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in | 12174 test "$enable_shared" = yes && enable_static=no |
| 12616 yes,aix,yes) ;;» » » # shared object as lib.so file only | |
| 12617 yes,svr4,*) ;;» » » # shared object as lib.so archive member
only | |
| 12618 yes,*) enable_static=no ;;» # shared object in lib.a archive as well | |
| 12619 esac | |
| 12620 fi | 12175 fi |
| 12621 ;; | 12176 ;; |
| 12622 esac | 12177 esac |
| 12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | 12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 12624 $as_echo "$enable_shared" >&6; } | 12179 $as_echo "$enable_shared" >&6; } |
| 12625 | 12180 |
| 12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr
aries" >&5 | 12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr
aries" >&5 |
| 12627 $as_echo_n "checking whether to build static libraries... " >&6; } | 12182 $as_echo_n "checking whether to build static libraries... " >&6; } |
| 12628 # Make sure either enable_shared or enable_static is yes. | 12183 # Make sure either enable_shared or enable_static is yes. |
| 12629 test yes = "$enable_shared" || enable_static=yes | 12184 test "$enable_shared" = yes || enable_static=yes |
| 12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | 12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 12631 $as_echo "$enable_static" >&6; } | 12186 $as_echo "$enable_static" >&6; } |
| 12632 | 12187 |
| 12633 | 12188 |
| 12634 | 12189 |
| 12635 | 12190 |
| 12636 fi | 12191 fi |
| 12637 ac_ext=c | 12192 ac_ext=c |
| 12638 ac_cpp='$CPP $CPPFLAGS' | 12193 ac_cpp='$CPP $CPPFLAGS' |
| 12639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 12194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 12640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 12195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 12641 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 12196 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 12642 | 12197 |
| 12643 CC=$lt_save_CC | 12198 CC="$lt_save_CC" |
| 12644 | 12199 |
| 12645 | 12200 |
| 12646 | 12201 |
| 12647 | 12202 |
| 12648 | 12203 |
| 12649 | 12204 |
| 12650 | 12205 |
| 12651 | 12206 |
| 12652 | 12207 |
| 12653 | 12208 |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13137 fi | 12692 fi |
| 13138 fi | 12693 fi |
| 13139 | 12694 |
| 13140 echo Checking zlib | 12695 echo Checking zlib |
| 13141 | 12696 |
| 13142 | 12697 |
| 13143 WITH_ZLIB=0 | 12698 WITH_ZLIB=0 |
| 13144 if test "$with_zlib" = "no"; then | 12699 if test "$with_zlib" = "no"; then |
| 13145 echo "Disabling compression support" | 12700 echo "Disabling compression support" |
| 13146 else | 12701 else |
| 13147 for ac_header in zlib.h | 12702 # Try pkg-config first so that static linking works. |
| 12703 # If this succeeeds, we ignore the WITH_ZLIB directory. |
| 12704 |
| 12705 pkg_failed=no |
| 12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Z" >&5 |
| 12707 $as_echo_n "checking for Z... " >&6; } |
| 12708 |
| 12709 if test -n "$Z_CFLAGS"; then |
| 12710 pkg_cv_Z_CFLAGS="$Z_CFLAGS" |
| 12711 elif test -n "$PKG_CONFIG"; then |
| 12712 if test -n "$PKG_CONFIG" && \ |
| 12713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"zlib\""; } >&5 |
| 12714 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 12715 ac_status=$? |
| 12716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12717 test $ac_status = 0; }; then |
| 12718 pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` |
| 12719 » » test "x$?" != "x0" && pkg_failed=yes |
| 12720 else |
| 12721 pkg_failed=yes |
| 12722 fi |
| 12723 else |
| 12724 pkg_failed=untried |
| 12725 fi |
| 12726 if test -n "$Z_LIBS"; then |
| 12727 pkg_cv_Z_LIBS="$Z_LIBS" |
| 12728 elif test -n "$PKG_CONFIG"; then |
| 12729 if test -n "$PKG_CONFIG" && \ |
| 12730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"zlib\""; } >&5 |
| 12731 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 12732 ac_status=$? |
| 12733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12734 test $ac_status = 0; }; then |
| 12735 pkg_cv_Z_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` |
| 12736 » » test "x$?" != "x0" && pkg_failed=yes |
| 12737 else |
| 12738 pkg_failed=yes |
| 12739 fi |
| 12740 else |
| 12741 pkg_failed=untried |
| 12742 fi |
| 12743 |
| 12744 |
| 12745 |
| 12746 if test $pkg_failed = yes; then |
| 12747 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12748 $as_echo "no" >&6; } |
| 12749 |
| 12750 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 12751 _pkg_short_errors_supported=yes |
| 12752 else |
| 12753 _pkg_short_errors_supported=no |
| 12754 fi |
| 12755 if test $_pkg_short_errors_supported = yes; then |
| 12756 » Z_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags
--libs "zlib" 2>&1` |
| 12757 else |
| 12758 » Z_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib"
2>&1` |
| 12759 fi |
| 12760 » # Put the nasty error message in config.log where it belongs |
| 12761 » echo "$Z_PKG_ERRORS" >&5 |
| 12762 |
| 12763 » have_libz=no |
| 12764 elif test $pkg_failed = untried; then |
| 12765 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12766 $as_echo "no" >&6; } |
| 12767 » have_libz=no |
| 12768 else |
| 12769 » Z_CFLAGS=$pkg_cv_Z_CFLAGS |
| 12770 » Z_LIBS=$pkg_cv_Z_LIBS |
| 12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12772 $as_echo "yes" >&6; } |
| 12773 » have_libz=yes |
| 12774 fi |
| 12775 |
| 12776 if test "x$have_libz" = "xno"; then |
| 12777 for ac_header in zlib.h |
| 13148 do : | 12778 do : |
| 13149 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default" | 12779 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default" |
| 13150 if test "x$ac_cv_header_zlib_h" = xyes; then : | 12780 if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13151 cat >>confdefs.h <<_ACEOF | 12781 cat >>confdefs.h <<_ACEOF |
| 13152 #define HAVE_ZLIB_H 1 | 12782 #define HAVE_ZLIB_H 1 |
| 13153 _ACEOF | 12783 _ACEOF |
| 13154 SAVE_LDFLAGS="${LDFLAGS}" | 12784 SAVE_LDFLAGS="${LDFLAGS}" |
| 13155 » LDFLAGS="-L${Z_DIR}/lib" | 12785 LDFLAGS="-L${Z_DIR}/lib" |
| 13156 » { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 | 12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz"
>&5 |
| 13157 $as_echo_n "checking for gzread in -lz... " >&6; } | 12787 $as_echo_n "checking for gzread in -lz... " >&6; } |
| 13158 if ${ac_cv_lib_z_gzread+:} false; then : | 12788 if ${ac_cv_lib_z_gzread+:} false; then : |
| 13159 $as_echo_n "(cached) " >&6 | 12789 $as_echo_n "(cached) " >&6 |
| 13160 else | 12790 else |
| 13161 ac_check_lib_save_LIBS=$LIBS | 12791 ac_check_lib_save_LIBS=$LIBS |
| 13162 LIBS="-lz $LIBS" | 12792 LIBS="-lz $LIBS" |
| 13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13164 /* end confdefs.h. */ | 12794 /* end confdefs.h. */ |
| 13165 | 12795 |
| 13166 /* Override any GCC internal prototype to avoid an error. | 12796 /* Override any GCC internal prototype to avoid an error. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 13184 ac_cv_lib_z_gzread=no | 12814 ac_cv_lib_z_gzread=no |
| 13185 fi | 12815 fi |
| 13186 rm -f core conftest.err conftest.$ac_objext \ | 12816 rm -f core conftest.err conftest.$ac_objext \ |
| 13187 conftest$ac_exeext conftest.$ac_ext | 12817 conftest$ac_exeext conftest.$ac_ext |
| 13188 LIBS=$ac_check_lib_save_LIBS | 12818 LIBS=$ac_check_lib_save_LIBS |
| 13189 fi | 12819 fi |
| 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 | 12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 |
| 13191 $as_echo "$ac_cv_lib_z_gzread" >&6; } | 12821 $as_echo "$ac_cv_lib_z_gzread" >&6; } |
| 13192 if test "x$ac_cv_lib_z_gzread" = xyes; then : | 12822 if test "x$ac_cv_lib_z_gzread" = xyes; then : |
| 13193 | 12823 |
| 13194 | 12824 have_libz=yes |
| 13195 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h | 12825 if test "x${Z_DIR}" != "x"; then |
| 13196 | 12826 Z_CFLAGS="-I${Z_DIR}/include" |
| 13197 » WITH_ZLIB=1 | 12827 Z_LIBS="-L${Z_DIR}/lib -lz" |
| 13198 » if test "x${Z_DIR}" != "x"; then | 12828 case ${host} in |
| 13199 » » Z_CFLAGS="-I${Z_DIR}/include" | 12829 *-*-solaris*) |
| 13200 » » Z_LIBS="-L${Z_DIR}/lib -lz" | 12830 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" |
| 13201 » » case ${host} in | 12831 ;; |
| 13202 » » *-*-solaris*) | 12832 esac |
| 13203 » » » Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" | 12833 else |
| 13204 » » » ;; | 12834 Z_LIBS="-lz" |
| 13205 » » esac | 12835 fi |
| 13206 » else | 12836 else |
| 13207 » » Z_LIBS="-lz" | 12837 have_libz=no |
| 13208 » fi | |
| 13209 fi | 12838 fi |
| 13210 | 12839 |
| 13211 » LDFLAGS="${SAVE_LDFLAGS}" | 12840 LDFLAGS="${SAVE_LDFLAGS}" |
| 13212 fi | 12841 fi |
| 13213 | 12842 |
| 13214 done | 12843 done |
| 13215 | 12844 |
| 12845 else |
| 12846 # we still need to check for zlib.h header |
| 12847 for ac_header in zlib.h |
| 12848 do : |
| 12849 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default" |
| 12850 if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 12851 cat >>confdefs.h <<_ACEOF |
| 12852 #define HAVE_ZLIB_H 1 |
| 12853 _ACEOF |
| 12854 |
| 12855 fi |
| 12856 |
| 12857 done |
| 12858 |
| 12859 fi |
| 12860 |
| 12861 # Found the library via either method? |
| 12862 if test "x$have_libz" = "xyes"; then |
| 12863 |
| 12864 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 12865 |
| 12866 WITH_ZLIB=1 |
| 12867 fi |
| 13216 fi | 12868 fi |
| 13217 | 12869 |
| 13218 | 12870 |
| 13219 | 12871 |
| 13220 | 12872 |
| 13221 | 12873 |
| 13222 echo Checking lzma | 12874 echo Checking lzma |
| 13223 | 12875 |
| 13224 | 12876 |
| 13225 WITH_LZMA=0 | 12877 WITH_LZMA=0 |
| (...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14314 if test x"$have___va_copy" = x"yes"; then | 13966 if test x"$have___va_copy" = x"yes"; then |
| 14315 | 13967 |
| 14316 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h | 13968 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h |
| 14317 | 13969 |
| 14318 fi | 13970 fi |
| 14319 fi | 13971 fi |
| 14320 | 13972 |
| 14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array ty
pe" >&5 | 13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array ty
pe" >&5 |
| 14322 $as_echo_n "checking whether va_list is an array type... " >&6; } | 13974 $as_echo_n "checking whether va_list is an array type... " >&6; } |
| 14323 cat > conftest.$ac_ext <<EOF | 13975 cat > conftest.$ac_ext <<EOF |
| 14324 #line 14324 "configure" | 13976 #line 13976 "configure" |
| 14325 #include "confdefs.h" | 13977 #include "confdefs.h" |
| 14326 | 13978 |
| 14327 #include <stdarg.h> | 13979 #include <stdarg.h> |
| 14328 void a(va_list * ap) {} | 13980 void a(va_list * ap) {} |
| 14329 int main(void) { | 13981 int main(void) { |
| 14330 | 13982 |
| 14331 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 | 13983 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 |
| 14332 ; return 0; } | 13984 ; return 0; } |
| 14333 EOF | 13985 EOF |
| 14334 if { (eval echo configure:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | 13986 if { (eval echo configure:13986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14335 rm -rf conftest* | 13987 rm -rf conftest* |
| 14336 | 13988 |
| 14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14338 $as_echo "no" >&6; } | 13990 $as_echo "no" >&6; } |
| 14339 else | 13991 else |
| 14340 echo "configure: failed program was:" >&5 | 13992 echo "configure: failed program was:" >&5 |
| 14341 cat conftest.$ac_ext >&5 | 13993 cat conftest.$ac_ext >&5 |
| 14342 rm -rf conftest* | 13994 rm -rf conftest* |
| 14343 | 13995 |
| 14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14514 ac_res=$ac_cv_search_connect | 14166 ac_res=$ac_cv_search_connect |
| 14515 if test "$ac_res" != no; then : | 14167 if test "$ac_res" != no; then : |
| 14516 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14168 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14517 | 14169 |
| 14518 fi | 14170 fi |
| 14519 | 14171 |
| 14520 | 14172 |
| 14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (soc
klen_t)" >&5 | 14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (soc
klen_t)" >&5 |
| 14522 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; } | 14174 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; } |
| 14523 cat > conftest.$ac_ext <<EOF | 14175 cat > conftest.$ac_ext <<EOF |
| 14524 #line 14524 "configure" | 14176 #line 14176 "configure" |
| 14525 #include "confdefs.h" | 14177 #include "confdefs.h" |
| 14526 | 14178 |
| 14527 #include <stddef.h> | 14179 #include <stddef.h> |
| 14528 #include <sys/types.h> | 14180 #include <sys/types.h> |
| 14529 #include <sys/socket.h> | 14181 #include <sys/socket.h> |
| 14530 int main(void) { | 14182 int main(void) { |
| 14531 | 14183 |
| 14532 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) | 14184 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) |
| 14533 ; return 0; } | 14185 ; return 0; } |
| 14534 EOF | 14186 EOF |
| 14535 if { (eval echo configure:14535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | 14187 if { (eval echo configure:14187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14536 rm -rf conftest* | 14188 rm -rf conftest* |
| 14537 | 14189 |
| 14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 | 14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 |
| 14539 $as_echo "socklen_t *" >&6; } | 14191 $as_echo "socklen_t *" >&6; } |
| 14540 XML_SOCKLEN_T=socklen_t | 14192 XML_SOCKLEN_T=socklen_t |
| 14541 else | 14193 else |
| 14542 echo "configure: failed program was:" >&5 | 14194 echo "configure: failed program was:" >&5 |
| 14543 cat conftest.$ac_ext >&5 | 14195 cat conftest.$ac_ext >&5 |
| 14544 rm -rf conftest* | 14196 rm -rf conftest* |
| 14545 | 14197 |
| 14546 cat > conftest.$ac_ext <<EOF | 14198 cat > conftest.$ac_ext <<EOF |
| 14547 #line 14547 "configure" | 14199 #line 14199 "configure" |
| 14548 #include "confdefs.h" | 14200 #include "confdefs.h" |
| 14549 | 14201 |
| 14550 #include <stddef.h> | 14202 #include <stddef.h> |
| 14551 #include <sys/types.h> | 14203 #include <sys/types.h> |
| 14552 #include <sys/socket.h> | 14204 #include <sys/socket.h> |
| 14553 int main(void) { | 14205 int main(void) { |
| 14554 | 14206 |
| 14555 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) | 14207 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) |
| 14556 ; return 0; } | 14208 ; return 0; } |
| 14557 EOF | 14209 EOF |
| 14558 if { (eval echo configure:14558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | 14210 if { (eval echo configure:14210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14559 rm -rf conftest* | 14211 rm -rf conftest* |
| 14560 | 14212 |
| 14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 | 14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 |
| 14562 $as_echo "size_t *" >&6; } | 14214 $as_echo "size_t *" >&6; } |
| 14563 XML_SOCKLEN_T=size_t | 14215 XML_SOCKLEN_T=size_t |
| 14564 else | 14216 else |
| 14565 echo "configure: failed program was:" >&5 | 14217 echo "configure: failed program was:" >&5 |
| 14566 cat conftest.$ac_ext >&5 | 14218 cat conftest.$ac_ext >&5 |
| 14567 rm -rf conftest* | 14219 rm -rf conftest* |
| 14568 | 14220 |
| 14569 cat > conftest.$ac_ext <<EOF | 14221 cat > conftest.$ac_ext <<EOF |
| 14570 #line 14570 "configure" | 14222 #line 14222 "configure" |
| 14571 #include "confdefs.h" | 14223 #include "confdefs.h" |
| 14572 | 14224 |
| 14573 #include <stddef.h> | 14225 #include <stddef.h> |
| 14574 #include <sys/types.h> | 14226 #include <sys/types.h> |
| 14575 #include <sys/socket.h> | 14227 #include <sys/socket.h> |
| 14576 int main(void) { | 14228 int main(void) { |
| 14577 | 14229 |
| 14578 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) | 14230 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) |
| 14579 ; return 0; } | 14231 ; return 0; } |
| 14580 EOF | 14232 EOF |
| 14581 if { (eval echo configure:14581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then | 14233 if { (eval echo configure:14233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14582 rm -rf conftest* | 14234 rm -rf conftest* |
| 14583 | 14235 |
| 14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 | 14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 |
| 14585 $as_echo "int *" >&6; } | 14237 $as_echo "int *" >&6; } |
| 14586 XML_SOCKLEN_T=int | 14238 XML_SOCKLEN_T=int |
| 14587 else | 14239 else |
| 14588 echo "configure: failed program was:" >&5 | 14240 echo "configure: failed program was:" >&5 |
| 14589 cat conftest.$ac_ext >&5 | 14241 cat conftest.$ac_ext >&5 |
| 14590 rm -rf conftest* | 14242 rm -rf conftest* |
| 14591 | 14243 |
| (...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16095 case "$host" in | 15747 case "$host" in |
| 16096 *mingw*) M_LIBS="" | 15748 *mingw*) M_LIBS="" |
| 16097 ;; | 15749 ;; |
| 16098 *beos*) M_LIBS="" | 15750 *beos*) M_LIBS="" |
| 16099 ;; | 15751 ;; |
| 16100 *haiku*) M_LIBS="" | 15752 *haiku*) M_LIBS="" |
| 16101 ;; | 15753 ;; |
| 16102 *) M_LIBS="-lm" | 15754 *) M_LIBS="-lm" |
| 16103 ;; | 15755 ;; |
| 16104 esac | 15756 esac |
| 16105 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS" | |
| 16106 XML_LIBTOOLLIBS="libxml2.la" | |
| 16107 | 15757 |
| 16108 | 15758 |
| 16109 WITH_ICU=0 | 15759 WITH_ICU=0 |
| 16110 ICU_LIBS="" | 15760 ICU_LIBS="" |
| 16111 if test "$with_icu" != "yes" ; then | 15761 if test "$with_icu" != "yes" ; then |
| 16112 echo Disabling ICU support | 15762 echo Disabling ICU support |
| 16113 else | 15763 else |
| 16114 ICU_CONFIG=icu-config | 15764 # Try pkg-config first so that static linking works. |
| 16115 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 | 15765 # If this succeeeds, we ignore the WITH_ICU directory. |
| 16116 then | 15766 |
| 16117 ICU_LIBS=`${ICU_CONFIG} --ldflags` | 15767 pkg_failed=no |
| 16118 WITH_ICU=1 | 15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5 |
| 16119 echo Enabling ICU support | 15769 $as_echo_n "checking for ICU... " >&6; } |
| 16120 else | 15770 |
| 16121 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5 | 15771 if test -n "$ICU_CFLAGS"; then |
| 16122 fi | 15772 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS" |
| 15773 elif test -n "$PKG_CONFIG"; then |
| 15774 if test -n "$PKG_CONFIG" && \ |
| 15775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-i18n\""; } >&5 |
| 15776 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 |
| 15777 ac_status=$? |
| 15778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15779 test $ac_status = 0; }; then |
| 15780 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null` |
| 15781 » » test "x$?" != "x0" && pkg_failed=yes |
| 15782 else |
| 15783 pkg_failed=yes |
| 15784 fi |
| 15785 else |
| 15786 pkg_failed=untried |
| 15787 fi |
| 15788 if test -n "$ICU_LIBS"; then |
| 15789 pkg_cv_ICU_LIBS="$ICU_LIBS" |
| 15790 elif test -n "$PKG_CONFIG"; then |
| 15791 if test -n "$PKG_CONFIG" && \ |
| 15792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-i18n\""; } >&5 |
| 15793 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 |
| 15794 ac_status=$? |
| 15795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 15796 test $ac_status = 0; }; then |
| 15797 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null` |
| 15798 » » test "x$?" != "x0" && pkg_failed=yes |
| 15799 else |
| 15800 pkg_failed=yes |
| 15801 fi |
| 15802 else |
| 15803 pkg_failed=untried |
| 16123 fi | 15804 fi |
| 16124 | 15805 |
| 16125 | 15806 |
| 16126 | 15807 |
| 15808 if test $pkg_failed = yes; then |
| 15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15810 $as_echo "no" >&6; } |
| 15811 |
| 15812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 15813 _pkg_short_errors_supported=yes |
| 15814 else |
| 15815 _pkg_short_errors_supported=no |
| 15816 fi |
| 15817 if test $_pkg_short_errors_supported = yes; then |
| 15818 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfla
gs --libs "icu-i18n" 2>&1` |
| 15819 else |
| 15820 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-
i18n" 2>&1` |
| 15821 fi |
| 15822 # Put the nasty error message in config.log where it belongs |
| 15823 echo "$ICU_PKG_ERRORS" >&5 |
| 15824 |
| 15825 have_libicu=no |
| 15826 elif test $pkg_failed = untried; then |
| 15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15828 $as_echo "no" >&6; } |
| 15829 have_libicu=no |
| 15830 else |
| 15831 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS |
| 15832 ICU_LIBS=$pkg_cv_ICU_LIBS |
| 15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15834 $as_echo "yes" >&6; } |
| 15835 have_libicu=yes |
| 15836 fi |
| 15837 |
| 15838 # If pkg-config failed, fall back to AC_CHECK_LIB. This |
| 15839 # will not pick up the necessary LIBS flags for liblzma's |
| 15840 # private dependencies, though, so static linking may fail. |
| 15841 if test "x$have_libicu" = "xno"; then |
| 15842 ICU_CONFIG=icu-config |
| 15843 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 |
| 15844 then |
| 15845 ICU_LIBS=`${ICU_CONFIG} --ldflags` |
| 15846 have_libicu=yes |
| 15847 echo Enabling ICU support |
| 15848 else |
| 15849 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then |
| 15850 CPPFLAGS="${CPPFLAGS} -I$with_icu" |
| 15851 # Export this since our headers include icu.h |
| 15852 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu" |
| 15853 fi |
| 15854 |
| 15855 ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucnv.h" "ac_cv_heade
r_unicode_ucnv_h" "$ac_includes_default" |
| 15856 if test "x$ac_cv_header_unicode_ucnv_h" = xyes; then : |
| 15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu" >&5 |
| 15858 $as_echo_n "checking for icu... " >&6; } |
| 15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15860 /* end confdefs.h. */ |
| 15861 #include <unicode/ucnv.h> |
| 15862 int |
| 15863 main () |
| 15864 { |
| 15865 |
| 15866 UConverter *utf = ucnv_open("UTF-8", NULL); |
| 15867 ; |
| 15868 return 0; |
| 15869 } |
| 15870 _ACEOF |
| 15871 if ac_fn_c_try_link "$LINENO"; then : |
| 15872 |
| 15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15874 $as_echo "yes" >&6; } |
| 15875 have_libicu=yes |
| 15876 else |
| 15877 |
| 15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15879 $as_echo "no" >&6; } |
| 15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu in -li
cucore" >&5 |
| 15881 $as_echo_n "checking for icu in -licucore... " >&6; } |
| 15882 |
| 15883 _ldflags="${LDFLAGS}" |
| 15884 _libs="${LIBS}" |
| 15885 LDFLAGS="${LDFLAGS} ${ICU_LIBS}" |
| 15886 LIBS="${LIBS} -licucore" |
| 15887 |
| 15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15889 /* end confdefs.h. */ |
| 15890 #include <unicode/ucnv.h> |
| 15891 int |
| 15892 main () |
| 15893 { |
| 15894 |
| 15895 UConverter *utf = ucnv_open("UTF-8", NULL); |
| 15896 ; |
| 15897 return 0; |
| 15898 } |
| 15899 _ACEOF |
| 15900 if ac_fn_c_try_link "$LINENO"; then : |
| 15901 |
| 15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 15903 $as_echo "yes" >&6; } |
| 15904 have_libicu=yes |
| 15905 ICU_LIBS="${ICU_LIBS} -licucore" |
| 15906 LIBS="${_libs}" |
| 15907 LDFLAGS="${_ldflags}" |
| 15908 else |
| 15909 |
| 15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15911 $as_echo "no" >&6; } |
| 15912 LIBS="${_libs}" |
| 15913 LDFLAGS="${_ldflags}" |
| 15914 fi |
| 15915 rm -f core conftest.err conftest.$ac_objext \ |
| 15916 conftest$ac_exeext conftest.$ac_ext |
| 15917 fi |
| 15918 rm -f core conftest.err conftest.$ac_objext \ |
| 15919 conftest$ac_exeext conftest.$ac_ext |
| 15920 fi |
| 15921 |
| 15922 |
| 15923 fi |
| 15924 fi |
| 15925 |
| 15926 # Found the library via either method? |
| 15927 if test "x$have_libicu" = "xyes"; then |
| 15928 WITH_ICU=1 |
| 15929 fi |
| 15930 fi |
| 15931 XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $
LIBS" |
| 15932 XML_LIBTOOLLIBS="libxml2.la" |
| 15933 |
| 15934 |
| 16127 WITH_ISO8859X=1 | 15935 WITH_ISO8859X=1 |
| 16128 if test "$WITH_ICONV" != "1" ; then | 15936 if test "$WITH_ICONV" != "1" ; then |
| 16129 if test "$with_iso8859x" = "no" ; then | 15937 if test "$with_iso8859x" = "no" ; then |
| 16130 echo Disabling ISO8859X support | 15938 echo Disabling ISO8859X support |
| 16131 WITH_ISO8859X=0 | 15939 WITH_ISO8859X=0 |
| 16132 fi | 15940 fi |
| 16133 fi | 15941 fi |
| 16134 | 15942 |
| 16135 | 15943 |
| 16136 if test "$with_schemas" = "no" ; then | 15944 if test "$with_schemas" = "no" ; then |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16265 | 16073 |
| 16266 | 16074 |
| 16267 | 16075 |
| 16268 | 16076 |
| 16269 | 16077 |
| 16270 | 16078 |
| 16271 | 16079 |
| 16272 | 16080 |
| 16273 | 16081 |
| 16274 | 16082 |
| 16083 |
| 16275 RELDATE=`date +'%a %b %e %Y'` | 16084 RELDATE=`date +'%a %b %e %Y'` |
| 16276 | 16085 |
| 16277 | 16086 |
| 16278 | 16087 |
| 16279 rm -f COPYING.LIB COPYING | 16088 rm -f COPYING.LIB COPYING |
| 16280 ln -s $srcdir/Copyright COPYING | 16089 ln -s $srcdir/Copyright COPYING |
| 16281 | 16090 |
| 16282 # keep on one line for cygwin c.f. #130896 | 16091 # keep on one line for cygwin c.f. #130896 |
| 16283 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/M
akefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/M
akefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile inc
lude/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-config.
cmake" | 16092 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/M
akefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/M
akefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile inc
lude/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-config.
cmake" |
| 16284 | 16093 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 16197 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 16389 # will be set to the directory where LIBOBJS objects are built. | 16198 # will be set to the directory where LIBOBJS objects are built. |
| 16390 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 16199 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 16391 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 16200 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 16392 done | 16201 done |
| 16393 LIBOBJS=$ac_libobjs | 16202 LIBOBJS=$ac_libobjs |
| 16394 | 16203 |
| 16395 LTLIBOBJS=$ac_ltlibobjs | 16204 LTLIBOBJS=$ac_ltlibobjs |
| 16396 | 16205 |
| 16397 | 16206 |
| 16207 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 16208 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 16209 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16210 fi |
| 16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer
than configure" >&5 | 16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer
than configure" >&5 |
| 16399 $as_echo_n "checking that generated files are newer than configure... " >&6; } | 16212 $as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 16400 if test -n "$am_sleep_pid"; then | 16213 if test -n "$am_sleep_pid"; then |
| 16401 # Hide warnings about reused PIDs. | 16214 # Hide warnings about reused PIDs. |
| 16402 wait $am_sleep_pid 2>/dev/null | 16215 wait $am_sleep_pid 2>/dev/null |
| 16403 fi | 16216 fi |
| 16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | 16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 16405 $as_echo "done" >&6; } | 16218 $as_echo "done" >&6; } |
| 16406 if test -n "$EXEEXT"; then | 16219 if test -n "$EXEEXT"; then |
| 16407 am__EXEEXT_TRUE= | 16220 am__EXEEXT_TRUE= |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17034 | 16847 |
| 17035 sed_quote_subst='$sed_quote_subst' | 16848 sed_quote_subst='$sed_quote_subst' |
| 17036 double_quote_subst='$double_quote_subst' | 16849 double_quote_subst='$double_quote_subst' |
| 17037 delay_variable_subst='$delay_variable_subst' | 16850 delay_variable_subst='$delay_variable_subst' |
| 17038 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | 16851 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
| 17039 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | 16852 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 17040 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | 16853 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
| 17041 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | 16854 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
| 17042 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | 16855 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
| 17043 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s
ubst"`' | 16856 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s
ubst"`' |
| 17044 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_
single_quote_subst"`' | |
| 17045 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | 16857 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
| 17046 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | 16858 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
| 17047 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' | 16859 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
| 17048 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | 16860 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
| 17049 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | 16861 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
| 17050 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | 16862 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
| 17051 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | 16863 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
| 17052 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | 16864 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
| 17053 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | 16865 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
| 17054 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | 16866 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
| (...skipping 29 matching lines...) Expand all Loading... |
| 17084 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote
_subst"`' | 16896 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote
_subst"`' |
| 17085 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q
uote_subst"`' | 16897 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_q
uote_subst"`' |
| 17086 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`
' | 16898 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`
' |
| 17087 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela
y_single_quote_subst"`' | 16899 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela
y_single_quote_subst"`' |
| 17088 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | 16900 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
| 17089 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | 16901 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
| 17090 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | 16902 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
| 17091 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | 16903 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
| 17092 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lay_single_quote_subst"`' | 16904 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
lay_single_quote_subst"`' |
| 17093 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $
SED "$delay_single_quote_subst"`' | 16905 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $
SED "$delay_single_quote_subst"`' |
| 17094 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" |
$SED "$delay_single_quote_subst"`' | |
| 17095 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c
_name_address" | $SED "$delay_single_quote_subst"`' | 16906 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c
_name_address" | $SED "$delay_single_quote_subst"`' |
| 17096 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"`' | 16907 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"`' |
| 17097 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_sub
st"`' | |
| 17098 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst
"`' | 16908 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst
"`' |
| 17099 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' | 16909 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
| 17100 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_sub
st"`' | |
| 17101 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | 16910 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
| 17102 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | 16911 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
| 17103 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $
SED "$delay_single_quote_subst"`' | 16912 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $
SED "$delay_single_quote_subst"`' |
| 17104 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote
_subst"`' | 16913 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote
_subst"`' |
| 17105 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s
ubst"`' | 16914 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_s
ubst"`' |
| 17106 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single
_quote_subst"`' | 16915 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single
_quote_subst"`' |
| 17107 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single
_quote_subst"`' | 16916 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single
_quote_subst"`' |
| 17108 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | 16917 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
| 17109 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | 16918 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
| 17110 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | 16919 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17155 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | 16964 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
| 17156 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' | 16965 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' |
| 17157 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | 16966 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
| 17158 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' | 16967 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' |
| 17159 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' | 16968 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' |
| 17160 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' | 16969 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' |
| 17161 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | 16970 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
| 17162 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | 16971 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
| 17163 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub
st"`' | 16972 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub
st"`' |
| 17164 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing
le_quote_subst"`' | 16973 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_sing
le_quote_subst"`' |
| 17165 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$de
lay_single_quote_subst"`' | 16974 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_
single_quote_subst"`' |
| 17166 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path"
| $SED "$delay_single_quote_subst"`' | |
| 17167 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | 16975 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
| 17168 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | 16976 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
| 17169 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub
st"`' | 16977 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub
st"`' |
| 17170 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si
ngle_quote_subst"`' | 16978 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_si
ngle_quote_subst"`' |
| 17171 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | 16979 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
| 17172 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | 16980 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
| 17173 | 16981 |
| 17174 LTCC='$LTCC' | 16982 LTCC='$LTCC' |
| 17175 LTCFLAGS='$LTCFLAGS' | 16983 LTCFLAGS='$LTCFLAGS' |
| 17176 compiler='$compiler_DEFAULT' | 16984 compiler='$compiler_DEFAULT' |
| (...skipping 30 matching lines...) Expand all Loading... |
| 17207 AR \ | 17015 AR \ |
| 17208 AR_FLAGS \ | 17016 AR_FLAGS \ |
| 17209 archiver_list_spec \ | 17017 archiver_list_spec \ |
| 17210 STRIP \ | 17018 STRIP \ |
| 17211 RANLIB \ | 17019 RANLIB \ |
| 17212 CC \ | 17020 CC \ |
| 17213 CFLAGS \ | 17021 CFLAGS \ |
| 17214 compiler \ | 17022 compiler \ |
| 17215 lt_cv_sys_global_symbol_pipe \ | 17023 lt_cv_sys_global_symbol_pipe \ |
| 17216 lt_cv_sys_global_symbol_to_cdecl \ | 17024 lt_cv_sys_global_symbol_to_cdecl \ |
| 17217 lt_cv_sys_global_symbol_to_import \ | |
| 17218 lt_cv_sys_global_symbol_to_c_name_address \ | 17025 lt_cv_sys_global_symbol_to_c_name_address \ |
| 17219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | 17026 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
| 17220 lt_cv_nm_interface \ | |
| 17221 nm_file_list_spec \ | 17027 nm_file_list_spec \ |
| 17222 lt_cv_truncate_bin \ | |
| 17223 lt_prog_compiler_no_builtin_flag \ | 17028 lt_prog_compiler_no_builtin_flag \ |
| 17224 lt_prog_compiler_pic \ | 17029 lt_prog_compiler_pic \ |
| 17225 lt_prog_compiler_wl \ | 17030 lt_prog_compiler_wl \ |
| 17226 lt_prog_compiler_static \ | 17031 lt_prog_compiler_static \ |
| 17227 lt_cv_prog_compiler_c_o \ | 17032 lt_cv_prog_compiler_c_o \ |
| 17228 need_locks \ | 17033 need_locks \ |
| 17229 MANIFEST_TOOL \ | 17034 MANIFEST_TOOL \ |
| 17230 DSYMUTIL \ | 17035 DSYMUTIL \ |
| 17231 NMEDIT \ | 17036 NMEDIT \ |
| 17232 LIPO \ | 17037 LIPO \ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 17247 variables_saved_for_relink \ | 17052 variables_saved_for_relink \ |
| 17248 libname_spec \ | 17053 libname_spec \ |
| 17249 library_names_spec \ | 17054 library_names_spec \ |
| 17250 soname_spec \ | 17055 soname_spec \ |
| 17251 install_override_mode \ | 17056 install_override_mode \ |
| 17252 finish_eval \ | 17057 finish_eval \ |
| 17253 old_striplib \ | 17058 old_striplib \ |
| 17254 striplib; do | 17059 striplib; do |
| 17255 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 17060 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 17256 *[\\\\\\\`\\"\\\$]*) | 17061 *[\\\\\\\`\\"\\\$]*) |
| 17257 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes | 17062 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" |
| 17258 ;; | 17063 ;; |
| 17259 *) | 17064 *) |
| 17260 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 17065 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 17261 ;; | 17066 ;; |
| 17262 esac | 17067 esac |
| 17263 done | 17068 done |
| 17264 | 17069 |
| 17265 # Double-quote double-evaled strings. | 17070 # Double-quote double-evaled strings. |
| 17266 for var in reload_cmds \ | 17071 for var in reload_cmds \ |
| 17267 old_postinstall_cmds \ | 17072 old_postinstall_cmds \ |
| 17268 old_postuninstall_cmds \ | 17073 old_postuninstall_cmds \ |
| 17269 old_archive_cmds \ | 17074 old_archive_cmds \ |
| 17270 extract_expsyms_cmds \ | 17075 extract_expsyms_cmds \ |
| 17271 old_archive_from_new_cmds \ | 17076 old_archive_from_new_cmds \ |
| 17272 old_archive_from_expsyms_cmds \ | 17077 old_archive_from_expsyms_cmds \ |
| 17273 archive_cmds \ | 17078 archive_cmds \ |
| 17274 archive_expsym_cmds \ | 17079 archive_expsym_cmds \ |
| 17275 module_cmds \ | 17080 module_cmds \ |
| 17276 module_expsym_cmds \ | 17081 module_expsym_cmds \ |
| 17277 export_symbols_cmds \ | 17082 export_symbols_cmds \ |
| 17278 prelink_cmds \ | 17083 prelink_cmds \ |
| 17279 postlink_cmds \ | 17084 postlink_cmds \ |
| 17280 postinstall_cmds \ | 17085 postinstall_cmds \ |
| 17281 postuninstall_cmds \ | 17086 postuninstall_cmds \ |
| 17282 finish_cmds \ | 17087 finish_cmds \ |
| 17283 sys_lib_search_path_spec \ | 17088 sys_lib_search_path_spec \ |
| 17284 configure_time_dlsearch_path \ | 17089 sys_lib_dlsearch_path_spec; do |
| 17285 configure_time_lt_sys_library_path; do | |
| 17286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 17090 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 17287 *[\\\\\\\`\\"\\\$]*) | 17091 *[\\\\\\\`\\"\\\$]*) |
| 17288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes | 17092 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" |
| 17289 ;; | 17093 ;; |
| 17290 *) | 17094 *) |
| 17291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 17095 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 17292 ;; | 17096 ;; |
| 17293 esac | 17097 esac |
| 17294 done | 17098 done |
| 17295 | 17099 |
| 17296 ac_aux_dir='$ac_aux_dir' | 17100 ac_aux_dir='$ac_aux_dir' |
| 17101 xsi_shell='$xsi_shell' |
| 17102 lt_shell_append='$lt_shell_append' |
| 17297 | 17103 |
| 17298 # See if we are running on zsh, and set the options that allow our | 17104 # See if we are running on zsh, and set the options which allow our |
| 17299 # commands through without removal of \ escapes INIT. | 17105 # commands through without removal of \ escapes INIT. |
| 17300 if test -n "\${ZSH_VERSION+set}"; then | 17106 if test -n "\${ZSH_VERSION+set}" ; then |
| 17301 setopt NO_GLOB_SUBST | 17107 setopt NO_GLOB_SUBST |
| 17302 fi | 17108 fi |
| 17303 | 17109 |
| 17304 | 17110 |
| 17305 PACKAGE='$PACKAGE' | 17111 PACKAGE='$PACKAGE' |
| 17306 VERSION='$VERSION' | 17112 VERSION='$VERSION' |
| 17113 TIMESTAMP='$TIMESTAMP' |
| 17307 RM='$RM' | 17114 RM='$RM' |
| 17308 ofile='$ofile' | 17115 ofile='$ofile' |
| 17309 | 17116 |
| 17310 | 17117 |
| 17311 | 17118 |
| 17312 | 17119 |
| 17313 _ACEOF | 17120 _ACEOF |
| 17314 | 17121 |
| 17315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 17122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17316 | 17123 |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18021 s/.*/./; q'` | 17828 s/.*/./; q'` |
| 18022 as_dir=$dirpart/$fdir; as_fn_mkdir_p | 17829 as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 18023 # echo "creating $dirpart/$file" | 17830 # echo "creating $dirpart/$file" |
| 18024 echo '# dummy' > "$dirpart/$file" | 17831 echo '# dummy' > "$dirpart/$file" |
| 18025 done | 17832 done |
| 18026 done | 17833 done |
| 18027 } | 17834 } |
| 18028 ;; | 17835 ;; |
| 18029 "libtool":C) | 17836 "libtool":C) |
| 18030 | 17837 |
| 18031 # See if we are running on zsh, and set the options that allow our | 17838 # See if we are running on zsh, and set the options which allow our |
| 18032 # commands through without removal of \ escapes. | 17839 # commands through without removal of \ escapes. |
| 18033 if test -n "${ZSH_VERSION+set}"; then | 17840 if test -n "${ZSH_VERSION+set}" ; then |
| 18034 setopt NO_GLOB_SUBST | 17841 setopt NO_GLOB_SUBST |
| 18035 fi | 17842 fi |
| 18036 | 17843 |
| 18037 cfgfile=${ofile}T | 17844 cfgfile="${ofile}T" |
| 18038 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | 17845 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 18039 $RM "$cfgfile" | 17846 $RM "$cfgfile" |
| 18040 | 17847 |
| 18041 cat <<_LT_EOF >> "$cfgfile" | 17848 cat <<_LT_EOF >> "$cfgfile" |
| 18042 #! $SHELL | 17849 #! $SHELL |
| 18043 # Generated automatically by $as_me ($PACKAGE) $VERSION | 17850 |
| 17851 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo
rt services. |
| 17852 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
| 18044 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 17853 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 18045 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 17854 # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 18046 | |
| 18047 # Provide generalized library-building support services. | |
| 18048 # Written by Gordon Matzigkeit, 1996 | |
| 18049 | |
| 18050 # Copyright (C) 2014 Free Software Foundation, Inc. | |
| 18051 # This is free software; see the source for copying conditions. There is NO | |
| 18052 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 18053 | |
| 18054 # GNU Libtool is free software; you can redistribute it and/or modify | |
| 18055 # it under the terms of the GNU General Public License as published by | |
| 18056 # the Free Software Foundation; either version 2 of of the License, or | |
| 18057 # (at your option) any later version. | |
| 18058 # | 17855 # |
| 18059 # As a special exception to the GNU General Public License, if you | 17856 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 18060 # distribute this file as part of a program or library that is built | 17857 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
| 18061 # using GNU Libtool, you may include this file under the same | 17858 # Foundation, Inc. |
| 18062 # distribution terms that you use for the rest of that program. | 17859 # Written by Gordon Matzigkeit, 1996 |
| 18063 # | 17860 # |
| 18064 # GNU Libtool is distributed in the hope that it will be useful, but | 17861 # This file is part of GNU Libtool. |
| 18065 # WITHOUT ANY WARRANTY; without even the implied warranty of | 17862 # |
| 17863 # GNU Libtool is free software; you can redistribute it and/or |
| 17864 # modify it under the terms of the GNU General Public License as |
| 17865 # published by the Free Software Foundation; either version 2 of |
| 17866 # the License, or (at your option) any later version. |
| 17867 # |
| 17868 # As a special exception to the GNU General Public License, |
| 17869 # if you distribute this file as part of a program or library that |
| 17870 # is built using GNU Libtool, you may include this file under the |
| 17871 # same distribution terms that you use for the rest of that program. |
| 17872 # |
| 17873 # GNU Libtool is distributed in the hope that it will be useful, |
| 17874 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18066 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17875 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18067 # GNU General Public License for more details. | 17876 # GNU General Public License for more details. |
| 18068 # | 17877 # |
| 18069 # You should have received a copy of the GNU General Public License | 17878 # You should have received a copy of the GNU General Public License |
| 18070 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 17879 # along with GNU Libtool; see the file COPYING. If not, a copy |
| 17880 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
| 17881 # obtained by writing to the Free Software Foundation, Inc., |
| 17882 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 18071 | 17883 |
| 18072 | 17884 |
| 18073 # The names of the tagged configurations supported by this script. | 17885 # The names of the tagged configurations supported by this script. |
| 18074 available_tags='' | 17886 available_tags="" |
| 18075 | |
| 18076 # Configured defaults for sys_lib_dlsearch_path munging. | |
| 18077 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} | |
| 18078 | 17887 |
| 18079 # ### BEGIN LIBTOOL CONFIG | 17888 # ### BEGIN LIBTOOL CONFIG |
| 18080 | 17889 |
| 18081 # Which release of libtool.m4 was used? | 17890 # Which release of libtool.m4 was used? |
| 18082 macro_version=$macro_version | 17891 macro_version=$macro_version |
| 18083 macro_revision=$macro_revision | 17892 macro_revision=$macro_revision |
| 18084 | 17893 |
| 18085 # Whether or not to build shared libraries. | 17894 # Whether or not to build shared libraries. |
| 18086 build_libtool_libs=$enable_shared | 17895 build_libtool_libs=$enable_shared |
| 18087 | 17896 |
| 18088 # Whether or not to build static libraries. | 17897 # Whether or not to build static libraries. |
| 18089 build_old_libs=$enable_static | 17898 build_old_libs=$enable_static |
| 18090 | 17899 |
| 18091 # What type of objects to build. | 17900 # What type of objects to build. |
| 18092 pic_mode=$pic_mode | 17901 pic_mode=$pic_mode |
| 18093 | 17902 |
| 18094 # Whether or not to optimize for fast installation. | 17903 # Whether or not to optimize for fast installation. |
| 18095 fast_install=$enable_fast_install | 17904 fast_install=$enable_fast_install |
| 18096 | 17905 |
| 18097 # Shared archive member basename,for filename based shared library versioning on
AIX. | |
| 18098 shared_archive_member_spec=$shared_archive_member_spec | |
| 18099 | |
| 18100 # Shell to use when invoking shell scripts. | 17906 # Shell to use when invoking shell scripts. |
| 18101 SHELL=$lt_SHELL | 17907 SHELL=$lt_SHELL |
| 18102 | 17908 |
| 18103 # An echo program that protects backslashes. | 17909 # An echo program that protects backslashes. |
| 18104 ECHO=$lt_ECHO | 17910 ECHO=$lt_ECHO |
| 18105 | 17911 |
| 18106 # The PATH separator for the build system. | 17912 # The PATH separator for the build system. |
| 18107 PATH_SEPARATOR=$lt_PATH_SEPARATOR | 17913 PATH_SEPARATOR=$lt_PATH_SEPARATOR |
| 18108 | 17914 |
| 18109 # The host system. | 17915 # The host system. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18207 | 18013 |
| 18208 # LTCC compiler flags. | 18014 # LTCC compiler flags. |
| 18209 LTCFLAGS=$lt_CFLAGS | 18015 LTCFLAGS=$lt_CFLAGS |
| 18210 | 18016 |
| 18211 # Take the output of nm and produce a listing of raw symbols and C names. | 18017 # Take the output of nm and produce a listing of raw symbols and C names. |
| 18212 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 18018 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
| 18213 | 18019 |
| 18214 # Transform the output of nm in a proper C declaration. | 18020 # Transform the output of nm in a proper C declaration. |
| 18215 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 18021 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
| 18216 | 18022 |
| 18217 # Transform the output of nm into a list of symbols to manually relocate. | |
| 18218 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import | |
| 18219 | |
| 18220 # Transform the output of nm in a C name address pair. | 18023 # Transform the output of nm in a C name address pair. |
| 18221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 18024 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
| 18222 | 18025 |
| 18223 # Transform the output of nm in a C name address pair when lib prefix is needed. | 18026 # Transform the output of nm in a C name address pair when lib prefix is needed. |
| 18224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name
_address_lib_prefix | 18027 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name
_address_lib_prefix |
| 18225 | 18028 |
| 18226 # The name lister interface. | |
| 18227 nm_interface=$lt_lt_cv_nm_interface | |
| 18228 | |
| 18229 # Specify filename containing input files for \$NM. | 18029 # Specify filename containing input files for \$NM. |
| 18230 nm_file_list_spec=$lt_nm_file_list_spec | 18030 nm_file_list_spec=$lt_nm_file_list_spec |
| 18231 | 18031 |
| 18232 # The root where to search for dependent libraries,and where our libraries shoul
d be installed. | 18032 # The root where to search for dependent libraries,and in which our libraries sh
ould be installed. |
| 18233 lt_sysroot=$lt_sysroot | 18033 lt_sysroot=$lt_sysroot |
| 18234 | 18034 |
| 18235 # Command to truncate a binary pipe. | |
| 18236 lt_truncate_bin=$lt_lt_cv_truncate_bin | |
| 18237 | |
| 18238 # The name of the directory that contains temporary libtool files. | 18035 # The name of the directory that contains temporary libtool files. |
| 18239 objdir=$objdir | 18036 objdir=$objdir |
| 18240 | 18037 |
| 18241 # Used to examine libraries when file_magic_cmd begins with "file". | 18038 # Used to examine libraries when file_magic_cmd begins with "file". |
| 18242 MAGIC_CMD=$MAGIC_CMD | 18039 MAGIC_CMD=$MAGIC_CMD |
| 18243 | 18040 |
| 18244 # Must we lock files when doing compilation? | 18041 # Must we lock files when doing compilation? |
| 18245 need_locks=$lt_need_locks | 18042 need_locks=$lt_need_locks |
| 18246 | 18043 |
| 18247 # Manifest tool. | 18044 # Manifest tool. |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18318 # As "finish_cmds", except a single script fragment to be evaled but | 18115 # As "finish_cmds", except a single script fragment to be evaled but |
| 18319 # not shown. | 18116 # not shown. |
| 18320 finish_eval=$lt_finish_eval | 18117 finish_eval=$lt_finish_eval |
| 18321 | 18118 |
| 18322 # Whether we should hardcode library paths into libraries. | 18119 # Whether we should hardcode library paths into libraries. |
| 18323 hardcode_into_libs=$hardcode_into_libs | 18120 hardcode_into_libs=$hardcode_into_libs |
| 18324 | 18121 |
| 18325 # Compile-time system search path for libraries. | 18122 # Compile-time system search path for libraries. |
| 18326 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 18123 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
| 18327 | 18124 |
| 18328 # Detected run-time system search path for libraries. | 18125 # Run-time system search path for libraries. |
| 18329 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path | 18126 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
| 18330 | |
| 18331 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. | |
| 18332 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path | |
| 18333 | 18127 |
| 18334 # Whether dlopen is supported. | 18128 # Whether dlopen is supported. |
| 18335 dlopen_support=$enable_dlopen | 18129 dlopen_support=$enable_dlopen |
| 18336 | 18130 |
| 18337 # Whether dlopen of programs is supported. | 18131 # Whether dlopen of programs is supported. |
| 18338 dlopen_self=$enable_dlopen_self | 18132 dlopen_self=$enable_dlopen_self |
| 18339 | 18133 |
| 18340 # Whether dlopen of statically linked programs is supported. | 18134 # Whether dlopen of statically linked programs is supported. |
| 18341 dlopen_self_static=$enable_dlopen_self_static | 18135 dlopen_self_static=$enable_dlopen_self_static |
| 18342 | 18136 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18415 # Flag that enforces no undefined symbols. | 18209 # Flag that enforces no undefined symbols. |
| 18416 no_undefined_flag=$lt_no_undefined_flag | 18210 no_undefined_flag=$lt_no_undefined_flag |
| 18417 | 18211 |
| 18418 # Flag to hardcode \$libdir into a binary during linking. | 18212 # Flag to hardcode \$libdir into a binary during linking. |
| 18419 # This must work even if \$libdir does not exist | 18213 # This must work even if \$libdir does not exist |
| 18420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 18214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
| 18421 | 18215 |
| 18422 # Whether we need a single "-rpath" flag with a separated argument. | 18216 # Whether we need a single "-rpath" flag with a separated argument. |
| 18423 hardcode_libdir_separator=$lt_hardcode_libdir_separator | 18217 hardcode_libdir_separator=$lt_hardcode_libdir_separator |
| 18424 | 18218 |
| 18425 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes | 18219 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 18426 # DIR into the resulting binary. | 18220 # DIR into the resulting binary. |
| 18427 hardcode_direct=$hardcode_direct | 18221 hardcode_direct=$hardcode_direct |
| 18428 | 18222 |
| 18429 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes | 18223 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
| 18430 # DIR into the resulting binary and the resulting library dependency is | 18224 # DIR into the resulting binary and the resulting library dependency is |
| 18431 # "absolute",i.e impossible to change by setting \$shlibpath_var if the | 18225 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
| 18432 # library is relocated. | 18226 # library is relocated. |
| 18433 hardcode_direct_absolute=$hardcode_direct_absolute | 18227 hardcode_direct_absolute=$hardcode_direct_absolute |
| 18434 | 18228 |
| 18435 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 18229 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 18436 # into the resulting binary. | 18230 # into the resulting binary. |
| 18437 hardcode_minus_L=$hardcode_minus_L | 18231 hardcode_minus_L=$hardcode_minus_L |
| 18438 | 18232 |
| 18439 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 18233 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 18440 # into the resulting binary. | 18234 # into the resulting binary. |
| 18441 hardcode_shlibpath_var=$hardcode_shlibpath_var | 18235 hardcode_shlibpath_var=$hardcode_shlibpath_var |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18473 # Specify filename containing input files. | 18267 # Specify filename containing input files. |
| 18474 file_list_spec=$lt_file_list_spec | 18268 file_list_spec=$lt_file_list_spec |
| 18475 | 18269 |
| 18476 # How to hardcode a shared library path into an executable. | 18270 # How to hardcode a shared library path into an executable. |
| 18477 hardcode_action=$hardcode_action | 18271 hardcode_action=$hardcode_action |
| 18478 | 18272 |
| 18479 # ### END LIBTOOL CONFIG | 18273 # ### END LIBTOOL CONFIG |
| 18480 | 18274 |
| 18481 _LT_EOF | 18275 _LT_EOF |
| 18482 | 18276 |
| 18483 cat <<'_LT_EOF' >> "$cfgfile" | |
| 18484 | |
| 18485 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE | |
| 18486 | |
| 18487 # func_munge_path_list VARIABLE PATH | |
| 18488 # ----------------------------------- | |
| 18489 # VARIABLE is name of variable containing _space_ separated list of | |
| 18490 # directories to be munged by the contents of PATH, which is string | |
| 18491 # having a format: | |
| 18492 # "DIR[:DIR]:" | |
| 18493 # string "DIR[ DIR]" will be prepended to VARIABLE | |
| 18494 # ":DIR[:DIR]" | |
| 18495 # string "DIR[ DIR]" will be appended to VARIABLE | |
| 18496 # "DIRP[:DIRP]::[DIRA:]DIRA" | |
| 18497 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string | |
| 18498 # "DIRA[ DIRA]" will be appended to VARIABLE | |
| 18499 # "DIR[:DIR]" | |
| 18500 # VARIABLE will be replaced by "DIR[ DIR]" | |
| 18501 func_munge_path_list () | |
| 18502 { | |
| 18503 case x$2 in | |
| 18504 x) | |
| 18505 ;; | |
| 18506 *:) | |
| 18507 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" | |
| 18508 ;; | |
| 18509 x:*) | |
| 18510 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" | |
| 18511 ;; | |
| 18512 *::*) | |
| 18513 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" | |
| 18514 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" | |
| 18515 ;; | |
| 18516 *) | |
| 18517 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" | |
| 18518 ;; | |
| 18519 esac | |
| 18520 } | |
| 18521 | |
| 18522 | |
| 18523 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | |
| 18524 func_cc_basename () | |
| 18525 { | |
| 18526 for cc_temp in $*""; do | |
| 18527 case $cc_temp in | |
| 18528 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | |
| 18529 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | |
| 18530 \-*) ;; | |
| 18531 *) break;; | |
| 18532 esac | |
| 18533 done | |
| 18534 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%
"` | |
| 18535 } | |
| 18536 | |
| 18537 | |
| 18538 # ### END FUNCTIONS SHARED WITH CONFIGURE | |
| 18539 | |
| 18540 _LT_EOF | |
| 18541 | |
| 18542 case $host_os in | 18277 case $host_os in |
| 18543 aix3*) | 18278 aix3*) |
| 18544 cat <<\_LT_EOF >> "$cfgfile" | 18279 cat <<\_LT_EOF >> "$cfgfile" |
| 18545 # AIX sometimes has problems with the GCC collect2 program. For some | 18280 # AIX sometimes has problems with the GCC collect2 program. For some |
| 18546 # reason, if we set the COLLECT_NAMES environment variable, the problems | 18281 # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 18547 # vanish in a puff of smoke. | 18282 # vanish in a puff of smoke. |
| 18548 if test set != "${COLLECT_NAMES+set}"; then | 18283 if test "X${COLLECT_NAMES+set}" != Xset; then |
| 18549 COLLECT_NAMES= | 18284 COLLECT_NAMES= |
| 18550 export COLLECT_NAMES | 18285 export COLLECT_NAMES |
| 18551 fi | 18286 fi |
| 18552 _LT_EOF | 18287 _LT_EOF |
| 18553 ;; | 18288 ;; |
| 18554 esac | 18289 esac |
| 18555 | 18290 |
| 18556 | 18291 |
| 18557 ltmain=$ac_aux_dir/ltmain.sh | 18292 ltmain="$ac_aux_dir/ltmain.sh" |
| 18558 | 18293 |
| 18559 | 18294 |
| 18560 # We use sed instead of cat because bash on DJGPP gets confused if | 18295 # We use sed instead of cat because bash on DJGPP gets confused if |
| 18561 # if finds mixed CR/LF and LF-only lines. Since sed operates in | 18296 # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 18562 # text mode, it properly converts lines to CR/LF. This bash problem | 18297 # text mode, it properly converts lines to CR/LF. This bash problem |
| 18563 # is reportedly fixed, but why not run on old versions too? | 18298 # is reportedly fixed, but why not run on old versions too? |
| 18564 sed '$q' "$ltmain" >> "$cfgfile" \ | 18299 sed '$q' "$ltmain" >> "$cfgfile" \ |
| 18565 || (rm -f "$cfgfile"; exit 1) | 18300 || (rm -f "$cfgfile"; exit 1) |
| 18566 | 18301 |
| 18302 if test x"$xsi_shell" = xyes; then |
| 18303 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 18304 func_dirname ()\ |
| 18305 {\ |
| 18306 \ case ${1} in\ |
| 18307 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 18308 \ * ) func_dirname_result="${3}" ;;\ |
| 18309 \ esac\ |
| 18310 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18311 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18312 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18313 test 0 -eq $? || _lt_function_replace_fail=: |
| 18314 |
| 18315 |
| 18316 sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 18317 func_basename ()\ |
| 18318 {\ |
| 18319 \ func_basename_result="${1##*/}"\ |
| 18320 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18321 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18323 test 0 -eq $? || _lt_function_replace_fail=: |
| 18324 |
| 18325 |
| 18326 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 18327 func_dirname_and_basename ()\ |
| 18328 {\ |
| 18329 \ case ${1} in\ |
| 18330 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 18331 \ * ) func_dirname_result="${3}" ;;\ |
| 18332 \ esac\ |
| 18333 \ func_basename_result="${1##*/}"\ |
| 18334 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfi
le.tmp \ |
| 18335 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18336 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18337 test 0 -eq $? || _lt_function_replace_fail=: |
| 18338 |
| 18339 |
| 18340 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 18341 func_stripname ()\ |
| 18342 {\ |
| 18343 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 18344 \ # positional parameters, so assign one to ordinary parameter first.\ |
| 18345 \ func_stripname_result=${3}\ |
| 18346 \ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 18347 \ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 18348 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18349 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18350 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18351 test 0 -eq $? || _lt_function_replace_fail=: |
| 18352 |
| 18353 |
| 18354 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 18355 func_split_long_opt ()\ |
| 18356 {\ |
| 18357 \ func_split_long_opt_name=${1%%=*}\ |
| 18358 \ func_split_long_opt_arg=${1#*=}\ |
| 18359 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp
\ |
| 18360 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18361 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18362 test 0 -eq $? || _lt_function_replace_fail=: |
| 18363 |
| 18364 |
| 18365 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 18366 func_split_short_opt ()\ |
| 18367 {\ |
| 18368 \ func_split_short_opt_arg=${1#??}\ |
| 18369 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 18370 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tm
p \ |
| 18371 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18372 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18373 test 0 -eq $? || _lt_function_replace_fail=: |
| 18374 |
| 18375 |
| 18376 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 18377 func_lo2o ()\ |
| 18378 {\ |
| 18379 \ case ${1} in\ |
| 18380 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 18381 \ *) func_lo2o_result=${1} ;;\ |
| 18382 \ esac\ |
| 18383 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18384 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18385 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18386 test 0 -eq $? || _lt_function_replace_fail=: |
| 18387 |
| 18388 |
| 18389 sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 18390 func_xform ()\ |
| 18391 {\ |
| 18392 func_xform_result=${1%.*}.lo\ |
| 18393 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18394 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18395 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18396 test 0 -eq $? || _lt_function_replace_fail=: |
| 18397 |
| 18398 |
| 18399 sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 18400 func_arith ()\ |
| 18401 {\ |
| 18402 func_arith_result=$(( $* ))\ |
| 18403 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18404 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18405 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18406 test 0 -eq $? || _lt_function_replace_fail=: |
| 18407 |
| 18408 |
| 18409 sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 18410 func_len ()\ |
| 18411 {\ |
| 18412 func_len_result=${#1}\ |
| 18413 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18414 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18415 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18416 test 0 -eq $? || _lt_function_replace_fail=: |
| 18417 |
| 18418 fi |
| 18419 |
| 18420 if test x"$lt_shell_append" = xyes; then |
| 18421 sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 18422 func_append ()\ |
| 18423 {\ |
| 18424 eval "${1}+=\\${2}"\ |
| 18425 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 18426 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18427 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18428 test 0 -eq $? || _lt_function_replace_fail=: |
| 18429 |
| 18430 |
| 18431 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 18432 func_append_quoted ()\ |
| 18433 {\ |
| 18434 \ func_quote_for_eval "${2}"\ |
| 18435 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 18436 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp
\ |
| 18437 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18438 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 18439 test 0 -eq $? || _lt_function_replace_fail=: |
| 18440 |
| 18441 |
| 18442 # Save a `func_append' function call where possible by direct use of '+=' |
| 18443 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 18444 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18445 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") |
| 18446 test 0 -eq $? || _lt_function_replace_fail=: |
| 18447 else |
| 18448 # Save a `func_append' function call even when '+=' is not available |
| 18449 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp
\ |
| 18450 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 18451 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") |
| 18452 test 0 -eq $? || _lt_function_replace_fail=: |
| 18453 fi |
| 18454 |
| 18455 if test x"$_lt_function_replace_fail" = x":"; then |
| 18456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extende
d shell functions in $ofile" >&5 |
| 18457 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofi
le" >&2;} |
| 18458 fi |
| 18459 |
| 18460 |
| 18567 mv -f "$cfgfile" "$ofile" || | 18461 mv -f "$cfgfile" "$ofile" || |
| 18568 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 18462 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 18569 chmod +x "$ofile" | 18463 chmod +x "$ofile" |
| 18570 | 18464 |
| 18571 ;; | 18465 ;; |
| 18572 "python/setup.py":F) chmod +x python/setup.py ;; | 18466 "python/setup.py":F) chmod +x python/setup.py ;; |
| 18573 "xml2-config":F) chmod +x xml2-config ;; | 18467 "xml2-config":F) chmod +x xml2-config ;; |
| 18574 | 18468 |
| 18575 esac | 18469 esac |
| 18576 done # for ac_tag | 18470 done # for ac_tag |
| (...skipping 27 matching lines...) Expand all Loading... |
| 18604 # would make configure fail if this is the last instruction. | 18498 # would make configure fail if this is the last instruction. |
| 18605 $ac_cs_success || as_fn_exit 1 | 18499 $ac_cs_success || as_fn_exit 1 |
| 18606 fi | 18500 fi |
| 18607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 18501 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 18608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 18502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
| 18609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 18503 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18610 fi | 18504 fi |
| 18611 | 18505 |
| 18612 | 18506 |
| 18613 echo Done configuring | 18507 echo Done configuring |
| OLD | NEW |