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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 else | 190 else |
191 exitcode=1; echo positional parameters were not saved. | 191 exitcode=1; echo positional parameters were not saved. |
192 fi | 192 fi |
193 test x\$exitcode = x0 || exit 1 | 193 test x\$exitcode = x0 || exit 1 |
194 test -x / || exit 1" | 194 test -x / || exit 1" |
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$
as_suggested" as_lineno_1a=\$LINENO | 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$
as_suggested" as_lineno_1a=\$LINENO |
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as
_lineno_2a=\$LINENO | 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as
_lineno_2a=\$LINENO |
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"'
|| exit 1 | 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"'
|| exit 1 |
| 199 test \$(( 1 + 1 )) = 2 || exit 1 |
199 | 200 |
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
204 PATH=/empty FPATH=/empty; export PATH FPATH | 205 PATH=/empty FPATH=/empty; export PATH FPATH |
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 | 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
207 test \$(( 1 + 1 )) = 2 || exit 1" | |
208 if (eval "$as_required") 2>/dev/null; then : | 208 if (eval "$as_required") 2>/dev/null; then : |
209 as_have_required=yes | 209 as_have_required=yes |
210 else | 210 else |
211 as_have_required=no | 211 as_have_required=no |
212 fi | 212 fi |
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then
: | 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then
: |
214 | 214 |
215 else | 215 else |
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
217 as_found=false | 217 as_found=false |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 MAKEFLAGS= | 585 MAKEFLAGS= |
586 | 586 |
587 # Identity of this package. | 587 # Identity of this package. |
588 PACKAGE_NAME= | 588 PACKAGE_NAME= |
589 PACKAGE_TARNAME= | 589 PACKAGE_TARNAME= |
590 PACKAGE_VERSION= | 590 PACKAGE_VERSION= |
591 PACKAGE_STRING= | 591 PACKAGE_STRING= |
592 PACKAGE_BUGREPORT= | 592 PACKAGE_BUGREPORT= |
593 PACKAGE_URL= | 593 PACKAGE_URL= |
594 | 594 |
595 ac_unique_file="entities.c" | 595 ac_unique_file="libxslt/xslt.c" |
596 # Factoring default headers for most tests. | 596 # Factoring default headers for most tests. |
597 ac_includes_default="\ | 597 ac_includes_default="\ |
598 #include <stdio.h> | 598 #include <stdio.h> |
599 #ifdef HAVE_SYS_TYPES_H | 599 #ifdef HAVE_SYS_TYPES_H |
600 # include <sys/types.h> | 600 # include <sys/types.h> |
601 #endif | 601 #endif |
602 #ifdef HAVE_SYS_STAT_H | 602 #ifdef HAVE_SYS_STAT_H |
603 # include <sys/stat.h> | 603 # include <sys/stat.h> |
604 #endif | 604 #endif |
605 #ifdef STDC_HEADERS | 605 #ifdef STDC_HEADERS |
(...skipping 20 matching lines...) Expand all Loading... |
626 # include <stdint.h> | 626 # include <stdint.h> |
627 #endif | 627 #endif |
628 #ifdef HAVE_UNISTD_H | 628 #ifdef HAVE_UNISTD_H |
629 # include <unistd.h> | 629 # include <unistd.h> |
630 #endif" | 630 #endif" |
631 | 631 |
632 ac_subst_vars='am__EXEEXT_FALSE | 632 ac_subst_vars='am__EXEEXT_FALSE |
633 am__EXEEXT_TRUE | 633 am__EXEEXT_TRUE |
634 LTLIBOBJS | 634 LTLIBOBJS |
635 LIBOBJS | 635 LIBOBJS |
636 PYTHON_TESTS | |
637 RELDATE | 636 RELDATE |
638 RDL_LIBS | |
639 M_LIBS | 637 M_LIBS |
| 638 EXTRA_LIBS |
| 639 EXSLT_LIBS |
| 640 EXSLT_INCLUDEDIR |
| 641 EXSLT_LIBDIR |
| 642 XSLT_LIBS |
| 643 XSLT_INCLUDEDIR |
| 644 XSLT_LIBDIR |
640 PYTHON_SITE_PACKAGES | 645 PYTHON_SITE_PACKAGES |
641 PYTHON_INCLUDES | 646 PYTHON_INCLUDES |
642 PYTHON_VERSION | 647 PYTHON_VERSION |
643 HAVE_ISINF | 648 LIBXML_CFLAGS |
644 HAVE_ISNAN | 649 LIBXML_LIBS |
645 XML_INCLUDEDIR | 650 PYTHONSODV |
646 ICONV_LIBS | 651 XSLTPROCDV |
647 XML_LIBTOOLLIBS | |
648 XML_LIBS | |
649 XML_LIBDIR | |
650 XML_CFLAGS | |
651 CYGWIN_EXTRA_PYTHON_LIBADD | |
652 CYGWIN_EXTRA_LDFLAGS | |
653 WIN32_EXTRA_PYTHON_LIBADD | |
654 WIN32_EXTRA_LDFLAGS | 652 WIN32_EXTRA_LDFLAGS |
655 WIN32_EXTRA_LIBADD | 653 WIN32_EXTRA_LIBADD |
656 WITH_RUN_DEBUG | 654 LIBXSLT_DEFAULT_PLUGINS_PATH |
| 655 WITH_MODULES_FALSE |
| 656 WITH_MODULES_TRUE |
| 657 WITH_MODULES |
| 658 XML_CONFIG |
| 659 LIBXML_REQUIRED_VERSION |
| 660 LIBXML_SRC |
| 661 WITH_DEBUGGER |
657 WITH_MEM_DEBUG | 662 WITH_MEM_DEBUG |
658 TEST_DEBUG | 663 WITH_XSLT_DEBUG |
659 DEBUG_OBJ | 664 LIBGCRYPT_LIBS |
660 WITH_DEBUG | 665 LIBGCRYPT_CFLAGS |
661 TEST_REGEXPS | 666 CRYPTO_TESTDIR |
662 WITH_REGEXPS | 667 WITH_CRYPTO |
663 TEST_SCHEMAS | 668 LIBGCRYPT_CONFIG |
664 WITH_SCHEMAS | |
665 WITH_ISO8859X | |
666 ICU_LIBS | |
667 WITH_ICU | |
668 WITH_ICONV | |
669 WITH_OUTPUT | |
670 TEST_XPATH | |
671 XPATH_OBJ | |
672 WITH_XPATH | |
673 TEST_SCHEMATRON | |
674 WITH_SCHEMATRON | |
675 TEST_XINCLUDE | |
676 XINCLUDE_OBJ | |
677 WITH_XINCLUDE | |
678 TEST_C14N | |
679 C14N_OBJ | |
680 WITH_C14N | |
681 TEST_XPTR | |
682 XPTR_OBJ | |
683 WITH_XPTR | |
684 DOCB_OBJ | |
685 WITH_DOCB | |
686 TEST_CATALOG | |
687 CATALOG_OBJ | |
688 WITH_CATALOG | |
689 TEST_VTIME | |
690 TEST_VALID | |
691 WITH_VALID | |
692 TEST_PHTML | |
693 TEST_HTML | |
694 HTML_OBJ | |
695 WITH_HTML | |
696 TEST_PUSH | |
697 WITH_PUSH | |
698 TEST_SAX | |
699 WITH_SAX1_SOURCES_FALSE | |
700 WITH_SAX1_SOURCES_TRUE | |
701 WITH_SAX1 | |
702 TEST_PATTERN | |
703 WITH_PATTERN | |
704 WITH_WRITER | |
705 READER_TEST | |
706 WITH_READER | |
707 WITH_LEGACY | |
708 HTTP_OBJ | |
709 WITH_HTTP | |
710 FTP_OBJ | |
711 WITH_FTP | |
712 WITH_TREE | |
713 THREADS_W32_FALSE | |
714 THREADS_W32_TRUE | |
715 WITH_THREAD_ALLOC | |
716 TEST_THREADS | |
717 THREAD_CFLAGS | |
718 WITH_THREADS | |
719 BASE_THREAD_LIBS | |
720 THREAD_LIBS | |
721 WITH_TRIO | |
722 WITH_TRIO_SOURCES_FALSE | |
723 WITH_TRIO_SOURCES_TRUE | |
724 STATIC_BINARIES | |
725 TEST_MODULES | |
726 MODULE_EXTENSION | |
727 MODULE_PLATFORM_LIBS | |
728 WITH_MODULES | |
729 PYTHON_LIBS | 669 PYTHON_LIBS |
730 PYTHON_SUBDIR | 670 PYTHON_SUBDIR |
731 pythondir | 671 pythondir |
732 WITH_PYTHON_FALSE | 672 WITH_PYTHON_FALSE |
733 WITH_PYTHON_TRUE | 673 WITH_PYTHON_TRUE |
734 PYTHON | 674 PYTHON |
735 WITH_LZMA | 675 WITH_PERL_FALSE |
736 LZMA_LIBS | 676 WITH_PERL_TRUE |
737 LZMA_CFLAGS | 677 PERL |
738 WITH_ZLIB | 678 WITH_TRIO |
739 Z_LIBS | 679 XSLT_LOCALE_WINAPI |
740 Z_CFLAGS | 680 XSLT_LOCALE_XLOCALE |
741 REBUILD_DOCS_FALSE | 681 THREAD_LIBS |
742 REBUILD_DOCS_TRUE | |
743 HTML_DIR | |
744 USE_VERSION_SCRIPT_FALSE | 682 USE_VERSION_SCRIPT_FALSE |
745 USE_VERSION_SCRIPT_TRUE | 683 USE_VERSION_SCRIPT_TRUE |
746 VERSION_SCRIPT_FLAGS | 684 VERSION_SCRIPT_FLAGS |
747 LT_SYS_LIBRARY_PATH | |
748 OTOOL64 | 685 OTOOL64 |
749 OTOOL | 686 OTOOL |
750 LIPO | 687 LIPO |
751 NMEDIT | 688 NMEDIT |
752 DSYMUTIL | 689 DSYMUTIL |
753 MANIFEST_TOOL | 690 MANIFEST_TOOL |
754 RANLIB | 691 RANLIB |
755 ac_ct_AR | 692 ac_ct_AR |
756 AR | 693 AR |
757 DLLTOOL | 694 LN_S |
758 OBJDUMP | |
759 NM | 695 NM |
760 ac_ct_DUMPBIN | 696 ac_ct_DUMPBIN |
761 DUMPBIN | 697 DUMPBIN |
762 LD | 698 LD |
763 FGREP | 699 FGREP |
764 EGREP | |
765 GREP | |
766 SED | 700 SED |
767 LIBTOOL | 701 LIBTOOL |
768 PKG_CONFIG_LIBDIR | 702 OBJDUMP |
769 PKG_CONFIG_PATH | 703 DLLTOOL |
770 PKG_CONFIG | 704 AS |
771 XSLTPROC | 705 XSLTPROC |
772 XMLLINT | 706 XMLLINT |
773 WGET | |
774 PERL | |
775 TAR | 707 TAR |
776 MV | 708 MV |
777 CPP | 709 RM |
778 LN_S | 710 HTML_DIR |
| 711 AM_BACKSLASH |
| 712 AM_DEFAULT_VERBOSITY |
| 713 AM_DEFAULT_V |
| 714 AM_V |
779 am__fastdepCC_FALSE | 715 am__fastdepCC_FALSE |
780 am__fastdepCC_TRUE | 716 am__fastdepCC_TRUE |
781 CCDEPMODE | 717 CCDEPMODE |
782 am__nodep | 718 am__nodep |
783 AMDEPBACKSLASH | 719 AMDEPBACKSLASH |
784 AMDEP_FALSE | 720 AMDEP_FALSE |
785 AMDEP_TRUE | 721 AMDEP_TRUE |
786 am__quote | 722 am__quote |
787 am__include | 723 am__include |
788 DEPDIR | 724 DEPDIR |
789 OBJEXT | |
790 EXEEXT | |
791 ac_ct_CC | |
792 CPPFLAGS | |
793 LDFLAGS | |
794 CFLAGS | |
795 CC | |
796 AM_BACKSLASH | |
797 AM_DEFAULT_VERBOSITY | |
798 AM_DEFAULT_V | |
799 AM_V | |
800 am__untar | 725 am__untar |
801 am__tar | 726 am__tar |
802 AMTAR | 727 AMTAR |
803 am__leading_dot | 728 am__leading_dot |
804 SET_MAKE | 729 SET_MAKE |
805 AWK | 730 AWK |
806 mkdir_p | 731 mkdir_p |
807 MKDIR_P | 732 MKDIR_P |
808 INSTALL_STRIP_PROGRAM | 733 INSTALL_STRIP_PROGRAM |
809 STRIP | 734 STRIP |
810 install_sh | 735 install_sh |
811 MAKEINFO | 736 MAKEINFO |
812 AUTOHEADER | 737 AUTOHEADER |
813 AUTOMAKE | 738 AUTOMAKE |
814 AUTOCONF | 739 AUTOCONF |
815 ACLOCAL | 740 ACLOCAL |
816 VERSION | 741 VERSION |
817 PACKAGE | 742 PACKAGE |
818 CYGPATH_W | 743 CYGPATH_W |
819 am__isrc | 744 am__isrc |
820 INSTALL_DATA | 745 INSTALL_DATA |
821 INSTALL_SCRIPT | 746 INSTALL_SCRIPT |
822 INSTALL_PROGRAM | 747 INSTALL_PROGRAM |
823 LIBXML_VERSION_EXTRA | 748 LIBEXSLT_VERSION_EXTRA |
824 LIBXML_VERSION_NUMBER | 749 LIBEXSLT_VERSION_NUMBER |
825 LIBXML_VERSION_INFO | 750 LIBEXSLT_VERSION_INFO |
826 LIBXML_VERSION | 751 LIBEXSLT_VERSION |
827 LIBXML_MICRO_VERSION | 752 LIBEXSLT_MICRO_VERSION |
828 LIBXML_MINOR_VERSION | 753 LIBEXSLT_MINOR_VERSION |
829 LIBXML_MAJOR_VERSION | 754 LIBEXSLT_MAJOR_VERSION |
| 755 LIBXSLT_MAJOR_MINOR_VERSION |
| 756 LIBXSLT_VERSION_EXTRA |
| 757 LIBXSLT_VERSION_NUMBER |
| 758 LIBXSLT_VERSION_INFO |
| 759 LIBXSLT_VERSION |
| 760 LIBXSLT_MICRO_VERSION |
| 761 LIBXSLT_MINOR_VERSION |
| 762 LIBXSLT_MAJOR_VERSION |
| 763 EGREP |
| 764 GREP |
| 765 CPP |
| 766 OBJEXT |
| 767 EXEEXT |
| 768 ac_ct_CC |
| 769 CPPFLAGS |
| 770 LDFLAGS |
| 771 CFLAGS |
| 772 CC |
830 host_os | 773 host_os |
831 host_vendor | 774 host_vendor |
832 host_cpu | 775 host_cpu |
833 host | 776 host |
834 build_os | 777 build_os |
835 build_vendor | 778 build_vendor |
836 build_cpu | 779 build_cpu |
837 build | 780 build |
838 target_alias | 781 target_alias |
839 host_alias | 782 host_alias |
(...skipping 29 matching lines...) Expand all Loading... |
869 PACKAGE_BUGREPORT | 812 PACKAGE_BUGREPORT |
870 PACKAGE_STRING | 813 PACKAGE_STRING |
871 PACKAGE_VERSION | 814 PACKAGE_VERSION |
872 PACKAGE_TARNAME | 815 PACKAGE_TARNAME |
873 PACKAGE_NAME | 816 PACKAGE_NAME |
874 PATH_SEPARATOR | 817 PATH_SEPARATOR |
875 SHELL' | 818 SHELL' |
876 ac_subst_files='' | 819 ac_subst_files='' |
877 ac_user_opts=' | 820 ac_user_opts=' |
878 enable_option_checking | 821 enable_option_checking |
| 822 enable_dependency_tracking |
879 enable_silent_rules | 823 enable_silent_rules |
880 enable_dependency_tracking | 824 with_html_dir |
| 825 with_html_subdir |
881 enable_shared | 826 enable_shared |
882 enable_static | 827 enable_static |
883 with_pic | 828 with_pic |
884 enable_fast_install | 829 enable_fast_install |
885 with_aix_soname | |
886 with_gnu_ld | 830 with_gnu_ld |
887 with_sysroot | 831 with_sysroot |
888 enable_libtool_lock | 832 enable_libtool_lock |
889 with_c14n | 833 with_python |
890 with_catalog | 834 with_crypto |
891 with_debug | 835 with_debug |
892 with_docbook | |
893 with_fexceptions | |
894 with_ftp | |
895 with_history | |
896 with_html | |
897 with_html_dir | |
898 with_html_subdir | |
899 with_http | |
900 with_iconv | |
901 with_icu | |
902 with_iso8859x | |
903 with_legacy | |
904 with_mem_debug | 836 with_mem_debug |
905 with_minimum | 837 with_debugger |
906 with_output | 838 with_libxml_prefix |
907 with_pattern | 839 with_libxml_include_prefix |
908 with_push | 840 with_libxml_libs_prefix |
909 with_python | 841 with_libxml_src |
910 with_python_install_dir | 842 with_plugins |
911 with_reader | |
912 with_readline | |
913 with_regexps | |
914 with_run_debug | |
915 with_sax1 | |
916 with_schemas | |
917 with_schematron | |
918 with_threads | |
919 with_thread_alloc | |
920 with_tree | |
921 with_valid | |
922 with_writer | |
923 with_xinclude | |
924 with_xpath | |
925 with_xptr | |
926 with_modules | |
927 with_zlib | |
928 with_lzma | |
929 with_coverage | |
930 enable_rebuild_docs | |
931 enable_ipv6 | |
932 ' | 843 ' |
933 ac_precious_vars='build_alias | 844 ac_precious_vars='build_alias |
934 host_alias | 845 host_alias |
935 target_alias | 846 target_alias |
936 CC | 847 CC |
937 CFLAGS | 848 CFLAGS |
938 LDFLAGS | 849 LDFLAGS |
939 LIBS | 850 LIBS |
940 CPPFLAGS | 851 CPPFLAGS |
941 CPP | 852 CPP' |
942 PKG_CONFIG | |
943 PKG_CONFIG_PATH | |
944 PKG_CONFIG_LIBDIR | |
945 LT_SYS_LIBRARY_PATH | |
946 LZMA_CFLAGS | |
947 LZMA_LIBS' | |
948 | 853 |
949 | 854 |
950 # Initialize some variables set by options. | 855 # Initialize some variables set by options. |
951 ac_init_help= | 856 ac_init_help= |
952 ac_init_version=false | 857 ac_init_version=false |
953 ac_unrecognized_opts= | 858 ac_unrecognized_opts= |
954 ac_unrecognized_sep= | 859 ac_unrecognized_sep= |
955 # The variables have the same names as the options, with | 860 # The variables have the same names as the options, with |
956 # dashes changed to underlines. | 861 # dashes changed to underlines. |
957 cache_file=/dev/null | 862 cache_file=/dev/null |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 fi | 1459 fi |
1555 | 1460 |
1556 if test -n "$ac_init_help"; then | 1461 if test -n "$ac_init_help"; then |
1557 | 1462 |
1558 cat <<\_ACEOF | 1463 cat <<\_ACEOF |
1559 | 1464 |
1560 Optional Features: | 1465 Optional Features: |
1561 --disable-option-checking ignore unrecognized --enable/--with options | 1466 --disable-option-checking ignore unrecognized --enable/--with options |
1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1564 --enable-silent-rules less verbose build output (undo: "make V=1") | |
1565 --disable-silent-rules verbose build output (undo: "make V=0") | |
1566 --enable-dependency-tracking | 1469 --enable-dependency-tracking |
1567 do not reject slow dependency extractors | 1470 do not reject slow dependency extractors |
1568 --disable-dependency-tracking | 1471 --disable-dependency-tracking |
1569 speeds up one-time build | 1472 speeds up one-time build |
| 1473 --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1474 --disable-silent-rules verbose build output (undo: "make V=0") |
1570 --enable-shared[=PKGS] build shared libraries [default=yes] | 1475 --enable-shared[=PKGS] build shared libraries [default=yes] |
1571 --enable-static[=PKGS] build static libraries [default=yes] | 1476 --enable-static[=PKGS] build static libraries [default=yes] |
1572 --enable-fast-install[=PKGS] | 1477 --enable-fast-install[=PKGS] |
1573 optimize for fast installation [default=yes] | 1478 optimize for fast installation [default=yes] |
1574 --disable-libtool-lock avoid locking (might break parallel builds) | 1479 --disable-libtool-lock avoid locking (might break parallel builds) |
1575 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no] | |
1576 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes] | |
1577 | 1480 |
1578 Optional Packages: | 1481 Optional Packages: |
1579 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1482 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1580 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1483 --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 | |
1582 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] | |
1587 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the | |
1588 compiler's sysroot if not specified). | |
1589 --with-c14n add the Canonicalization support (on) | |
1590 --with-catalog add the Catalog support (on) | |
1591 --with-debug add the debugging module (on) | |
1592 --with-docbook add Docbook SGML support (on) | |
1593 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off) | |
1594 --with-ftp add the FTP support (on) | |
1595 --with-history add history support to xmllint shell(off) | |
1596 --with-html add the HTML support (on) | |
1597 --with-html-dir=path path to base html directory, default | 1484 --with-html-dir=path path to base html directory, default |
1598 $datadir/doc/html | 1485 $datadir/doc/html |
1599 --with-html-subdir=path directory used under html-dir, default | 1486 --with-html-subdir=path directory used under html-dir, default |
1600 $PACKAGE-$VERSION/html | 1487 $PACKAGE-$VERSION/html |
1601 --with-http add the HTTP support (on) | 1488 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1602 --with-iconv[=DIR] add ICONV support (on) | 1489 both] |
1603 --with-icu add ICU support (off) | 1490 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1604 --with-iso8859x add ISO8859X support if no iconv (on) | 1491 --with-sysroot=DIR Search for dependent libraries within DIR |
1605 --with-legacy add deprecated APIs for compatibility (on) | 1492 (or the compiler's sysroot if not specified). |
1606 --with-mem-debug add the memory debugging module (off) | 1493 --with-python=DIR Build Python bindings if found |
1607 --with-minimum build a minimally sized library (off) | 1494 --with-crypto Add crypto support to exslt (on) |
1608 --with-output add the serialization support (on) | 1495 --with-debug Add the debugging code (on) |
1609 --with-pattern add the xmlPattern selection interface (on) | 1496 --with-mem-debug Add the memory debugging module (off) |
1610 --with-push add the PUSH parser interfaces (on) | 1497 --with-debugger Add the debugging support (on) |
1611 --with-python[=DIR] build Python bindings if found | 1498 --with-libxml-prefix=PFX» » Specify location of libxml config |
1612 --with-python-install-dir=DIR | 1499 --with-libxml-include-prefix=PFX» Specify location of libxml headers |
1613 install Python bindings in DIR | 1500 --with-libxml-libs-prefix=PFX»Specify location of libxml libs |
1614 --with-reader add the xmlReader parsing interface (on) | 1501 --with-libxml-src=DIR For libxml thats not installed yet (sets al
l three above) |
1615 --with-readline=DIR use readline in DIR | 1502 --with-plugins Add plugin extension support (on) |
1616 --with-regexps add Regular Expressions support (on) | |
1617 --with-run-debug add the runtime debugging module (off) | |
1618 --with-sax1 add the older SAX1 interface (on) | |
1619 --with-schemas add Relax-NG and Schemas support (on) | |
1620 --with-schematron add Schematron support (on) | |
1621 --with-threads add multithread support(on) | |
1622 --with-thread-alloc add per-thread memory(off) | |
1623 --with-tree add the DOM like tree manipulation APIs (on) | |
1624 --with-valid add the DTD validation support (on) | |
1625 --with-writer add the xmlWriter saving interface (on) | |
1626 --with-xinclude add the XInclude support (on) | |
1627 --with-xpath add the XPATH support (on) | |
1628 --with-xptr add the XPointer support (on) | |
1629 --with-modules add the dynamic modules support (on) | |
1630 --with-zlib[=DIR] use libz in DIR | |
1631 --with-lzma[=DIR] use liblzma in DIR | |
1632 --with-coverage build for code coverage with GCC (off) | |
1633 | 1503 |
1634 Some influential environment variables: | 1504 Some influential environment variables: |
1635 CC C compiler command | 1505 CC C compiler command |
1636 CFLAGS C compiler flags | 1506 CFLAGS C compiler flags |
1637 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1638 nonstandard directory <lib dir> | 1508 nonstandard directory <lib dir> |
1639 LIBS libraries to pass to the linker, e.g. -l<library> | 1509 LIBS libraries to pass to the linker, e.g. -l<library> |
1640 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1641 you have headers in a nonstandard directory <include dir> | 1511 you have headers in a nonstandard directory <include dir> |
1642 CPP C preprocessor | 1512 CPP C preprocessor |
1643 PKG_CONFIG path to pkg-config utility | |
1644 PKG_CONFIG_PATH | |
1645 directories to add to pkg-config's search path | |
1646 PKG_CONFIG_LIBDIR | |
1647 path overriding pkg-config's built-in search path | |
1648 LT_SYS_LIBRARY_PATH | |
1649 User-defined run-time library search path. | |
1650 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config | |
1651 LZMA_LIBS linker flags for LZMA, overriding pkg-config | |
1652 | 1513 |
1653 Use these variables to override the choices made by `configure' or to help | 1514 Use these variables to override the choices made by `configure' or to help |
1654 it to find libraries and programs with nonstandard names/locations. | 1515 it to find libraries and programs with nonstandard names/locations. |
1655 | 1516 |
1656 Report bugs to the package provider. | 1517 Report bugs to the package provider. |
1657 _ACEOF | 1518 _ACEOF |
1658 ac_status=$? | 1519 ac_status=$? |
1659 fi | 1520 fi |
1660 | 1521 |
1661 if test "$ac_init_help" = "recursive"; then | 1522 if test "$ac_init_help" = "recursive"; then |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1798 $as_echo "$as_me: failed program was:" >&5 | 1659 $as_echo "$as_me: failed program was:" >&5 |
1799 sed 's/^/| /' conftest.$ac_ext >&5 | 1660 sed 's/^/| /' conftest.$ac_ext >&5 |
1800 | 1661 |
1801 ac_retval=1 | 1662 ac_retval=1 |
1802 fi | 1663 fi |
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1804 as_fn_set_status $ac_retval | 1665 as_fn_set_status $ac_retval |
1805 | 1666 |
1806 } # ac_fn_c_try_cpp | 1667 } # ac_fn_c_try_cpp |
1807 | 1668 |
1808 # ac_fn_c_try_link LINENO | 1669 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1809 # ----------------------- | 1670 # ------------------------------------------------------- |
1810 # Try to link conftest.$ac_ext, and return whether this succeeded. | 1671 # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1811 ac_fn_c_try_link () | 1672 # the include files in INCLUDES and setting the cache variable VAR |
| 1673 # accordingly. |
| 1674 ac_fn_c_check_header_mongrel () |
1812 { | 1675 { |
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1814 rm -f conftest.$ac_objext conftest$ac_exeext | 1677 if eval \${$3+:} false; then : |
| 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1679 $as_echo_n "checking for $2... " >&6; } |
| 1680 if eval \${$3+:} false; then : |
| 1681 $as_echo_n "(cached) " >&6 |
| 1682 fi |
| 1683 eval ac_res=\$$3 |
| 1684 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1685 $as_echo "$ac_res" >&6; } |
| 1686 else |
| 1687 # Is the header compilable? |
| 1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 1689 $as_echo_n "checking $2 usability... " >&6; } |
| 1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1691 /* end confdefs.h. */ |
| 1692 $4 |
| 1693 #include <$2> |
| 1694 _ACEOF |
| 1695 if ac_fn_c_try_compile "$LINENO"; then : |
| 1696 ac_header_compiler=yes |
| 1697 else |
| 1698 ac_header_compiler=no |
| 1699 fi |
| 1700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 1702 $as_echo "$ac_header_compiler" >&6; } |
| 1703 |
| 1704 # Is the header present? |
| 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 1706 $as_echo_n "checking $2 presence... " >&6; } |
| 1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1708 /* end confdefs.h. */ |
| 1709 #include <$2> |
| 1710 _ACEOF |
| 1711 if ac_fn_c_try_cpp "$LINENO"; then : |
| 1712 ac_header_preproc=yes |
| 1713 else |
| 1714 ac_header_preproc=no |
| 1715 fi |
| 1716 rm -f conftest.err conftest.i conftest.$ac_ext |
| 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1718 $as_echo "$ac_header_preproc" >&6; } |
| 1719 |
| 1720 # So? What about this header? |
| 1721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 1722 yes:no: ) |
| 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compil
er, rejected by the preprocessor!" >&5 |
| 1724 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preproc
essor!" >&2;} |
| 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 |
| 1726 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1727 ;; |
| 1728 no:yes:* ) |
| 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be
compiled" >&5 |
| 1730 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing
prerequisite headers?" >&5 |
| 1732 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;
} |
| 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum
entation" >&5 |
| 1734 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present
But Cannot Be Compiled\"" >&5 |
| 1736 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >
&2;} |
| 1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 |
| 1738 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1739 ;; |
| 1740 esac |
| 1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1742 $as_echo_n "checking for $2... " >&6; } |
| 1743 if eval \${$3+:} false; then : |
| 1744 $as_echo_n "(cached) " >&6 |
| 1745 else |
| 1746 eval "$3=\$ac_header_compiler" |
| 1747 fi |
| 1748 eval ac_res=\$$3 |
| 1749 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1750 $as_echo "$ac_res" >&6; } |
| 1751 fi |
| 1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1753 |
| 1754 } # ac_fn_c_check_header_mongrel |
| 1755 |
| 1756 # ac_fn_c_try_run LINENO |
| 1757 # ---------------------- |
| 1758 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1759 # that executables *can* be run. |
| 1760 ac_fn_c_try_run () |
| 1761 { |
| 1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1815 if { { ac_try="$ac_link" | 1763 if { { ac_try="$ac_link" |
1816 case "(($ac_try" in | 1764 case "(($ac_try" in |
1817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1818 *) ac_try_echo=$ac_try;; | 1766 *) ac_try_echo=$ac_try;; |
1819 esac | 1767 esac |
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1821 $as_echo "$ac_try_echo"; } >&5 | 1769 $as_echo "$ac_try_echo"; } >&5 |
1822 (eval "$ac_link") 2>conftest.err | 1770 (eval "$ac_link") 2>&5 |
1823 ac_status=$? | 1771 ac_status=$? |
1824 if test -s conftest.err; then | |
1825 grep -v '^ *+' conftest.err >conftest.er1 | |
1826 cat conftest.er1 >&5 | |
1827 mv -f conftest.er1 conftest.err | |
1828 fi | |
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1830 test $ac_status = 0; } && { | 1773 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1831 » test -z "$ac_c_werror_flag" || | 1774 { { case "(($ac_try" in |
1832 » test ! -s conftest.err | 1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1833 } && test -s conftest$ac_exeext && { | 1776 *) ac_try_echo=$ac_try;; |
1834 » test "$cross_compiling" = yes || | 1777 esac |
1835 » test -x conftest$ac_exeext | 1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1836 }; then : | 1779 $as_echo "$ac_try_echo"; } >&5 |
| 1780 (eval "$ac_try") 2>&5 |
| 1781 ac_status=$? |
| 1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1783 test $ac_status = 0; }; }; then : |
1837 ac_retval=0 | 1784 ac_retval=0 |
1838 else | 1785 else |
1839 $as_echo "$as_me: failed program was:" >&5 | 1786 $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1787 $as_echo "$as_me: failed program was:" >&5 |
1840 sed 's/^/| /' conftest.$ac_ext >&5 | 1788 sed 's/^/| /' conftest.$ac_ext >&5 |
1841 | 1789 |
1842 » ac_retval=1 | 1790 ac_retval=$ac_status |
1843 fi | 1791 fi |
1844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1846 # interfere with the next link command; also delete a directory that is | |
1847 # left behind by Apple's compiler. We do this before executing the actions. | |
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1850 as_fn_set_status $ac_retval | 1794 as_fn_set_status $ac_retval |
1851 | 1795 |
1852 } # ac_fn_c_try_link | 1796 } # ac_fn_c_try_run |
1853 | 1797 |
1854 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 1798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1855 # ------------------------------------------------------- | 1799 # ------------------------------------------------------- |
1856 # Tests whether HEADER exists and can be compiled using the include files in | 1800 # Tests whether HEADER exists and can be compiled using the include files in |
1857 # INCLUDES, setting the cache variable VAR accordingly. | 1801 # INCLUDES, setting the cache variable VAR accordingly. |
1858 ac_fn_c_check_header_compile () | 1802 ac_fn_c_check_header_compile () |
1859 { | 1803 { |
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1862 $as_echo_n "checking for $2... " >&6; } | 1806 $as_echo_n "checking for $2... " >&6; } |
(...skipping 12 matching lines...) Expand all Loading... |
1875 fi | 1819 fi |
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1877 fi | 1821 fi |
1878 eval ac_res=\$$3 | 1822 eval ac_res=\$$3 |
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1880 $as_echo "$ac_res" >&6; } | 1824 $as_echo "$ac_res" >&6; } |
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1882 | 1826 |
1883 } # ac_fn_c_check_header_compile | 1827 } # ac_fn_c_check_header_compile |
1884 | 1828 |
1885 # ac_fn_c_try_run LINENO | 1829 # ac_fn_c_try_link LINENO |
1886 # ---------------------- | 1830 # ----------------------- |
1887 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 1831 # Try to link conftest.$ac_ext, and return whether this succeeded. |
1888 # that executables *can* be run. | 1832 ac_fn_c_try_link () |
1889 ac_fn_c_try_run () | |
1890 { | 1833 { |
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1835 rm -f conftest.$ac_objext conftest$ac_exeext |
1892 if { { ac_try="$ac_link" | 1836 if { { ac_try="$ac_link" |
1893 case "(($ac_try" in | 1837 case "(($ac_try" in |
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1895 *) ac_try_echo=$ac_try;; | 1839 *) ac_try_echo=$ac_try;; |
1896 esac | 1840 esac |
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1898 $as_echo "$ac_try_echo"; } >&5 | 1842 $as_echo "$ac_try_echo"; } >&5 |
1899 (eval "$ac_link") 2>&5 | 1843 (eval "$ac_link") 2>conftest.err |
1900 ac_status=$? | 1844 ac_status=$? |
| 1845 if test -s conftest.err; then |
| 1846 grep -v '^ *+' conftest.err >conftest.er1 |
| 1847 cat conftest.er1 >&5 |
| 1848 mv -f conftest.er1 conftest.err |
| 1849 fi |
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1902 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 1851 test $ac_status = 0; } && { |
1903 { { case "(($ac_try" in | 1852 » test -z "$ac_c_werror_flag" || |
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1853 » test ! -s conftest.err |
1905 *) ac_try_echo=$ac_try;; | 1854 } && test -s conftest$ac_exeext && { |
1906 esac | 1855 » test "$cross_compiling" = yes || |
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1856 » test -x conftest$ac_exeext |
1908 $as_echo "$ac_try_echo"; } >&5 | 1857 }; then : |
1909 (eval "$ac_try") 2>&5 | |
1910 ac_status=$? | |
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1912 test $ac_status = 0; }; }; then : | |
1913 ac_retval=0 | 1858 ac_retval=0 |
1914 else | 1859 else |
1915 $as_echo "$as_me: program exited with status $ac_status" >&5 | 1860 $as_echo "$as_me: failed program was:" >&5 |
1916 $as_echo "$as_me: failed program was:" >&5 | |
1917 sed 's/^/| /' conftest.$ac_ext >&5 | 1861 sed 's/^/| /' conftest.$ac_ext >&5 |
1918 | 1862 |
1919 ac_retval=$ac_status | 1863 » ac_retval=1 |
1920 fi | 1864 fi |
| 1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 1867 # interfere with the next link command; also delete a directory that is |
| 1868 # left behind by Apple's compiler. We do this before executing the actions. |
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1923 as_fn_set_status $ac_retval | 1871 as_fn_set_status $ac_retval |
1924 | 1872 |
1925 } # ac_fn_c_try_run | 1873 } # ac_fn_c_try_link |
1926 | 1874 |
1927 # ac_fn_c_check_func LINENO FUNC VAR | 1875 # ac_fn_c_check_func LINENO FUNC VAR |
1928 # ---------------------------------- | 1876 # ---------------------------------- |
1929 # Tests whether FUNC exists, setting the cache variable VAR accordingly | 1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1930 ac_fn_c_check_func () | 1878 ac_fn_c_check_func () |
1931 { | 1879 { |
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1934 $as_echo_n "checking for $2... " >&6; } | 1882 $as_echo_n "checking for $2... " >&6; } |
1935 if eval \${$3+:} false; then : | 1883 if eval \${$3+:} false; then : |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1983 fi | 1931 fi |
1984 rm -f core conftest.err conftest.$ac_objext \ | 1932 rm -f core conftest.err conftest.$ac_objext \ |
1985 conftest$ac_exeext conftest.$ac_ext | 1933 conftest$ac_exeext conftest.$ac_ext |
1986 fi | 1934 fi |
1987 eval ac_res=\$$3 | 1935 eval ac_res=\$$3 |
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1989 $as_echo "$ac_res" >&6; } | 1937 $as_echo "$ac_res" >&6; } |
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1991 | 1939 |
1992 } # ac_fn_c_check_func | 1940 } # ac_fn_c_check_func |
1993 | |
1994 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1995 # ------------------------------------------------------- | |
1996 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1997 # the include files in INCLUDES and setting the cache variable VAR | |
1998 # accordingly. | |
1999 ac_fn_c_check_header_mongrel () | |
2000 { | |
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2002 if eval \${$3+:} false; then : | |
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2004 $as_echo_n "checking for $2... " >&6; } | |
2005 if eval \${$3+:} false; then : | |
2006 $as_echo_n "(cached) " >&6 | |
2007 fi | |
2008 eval ac_res=\$$3 | |
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2010 $as_echo "$ac_res" >&6; } | |
2011 else | |
2012 # Is the header compilable? | |
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
2014 $as_echo_n "checking $2 usability... " >&6; } | |
2015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2016 /* end confdefs.h. */ | |
2017 $4 | |
2018 #include <$2> | |
2019 _ACEOF | |
2020 if ac_fn_c_try_compile "$LINENO"; then : | |
2021 ac_header_compiler=yes | |
2022 else | |
2023 ac_header_compiler=no | |
2024 fi | |
2025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
2027 $as_echo "$ac_header_compiler" >&6; } | |
2028 | |
2029 # Is the header present? | |
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
2031 $as_echo_n "checking $2 presence... " >&6; } | |
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2033 /* end confdefs.h. */ | |
2034 #include <$2> | |
2035 _ACEOF | |
2036 if ac_fn_c_try_cpp "$LINENO"; then : | |
2037 ac_header_preproc=yes | |
2038 else | |
2039 ac_header_preproc=no | |
2040 fi | |
2041 rm -f conftest.err conftest.i conftest.$ac_ext | |
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
2043 $as_echo "$ac_header_preproc" >&6; } | |
2044 | |
2045 # So? What about this header? | |
2046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
2047 yes:no: ) | |
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compil
er, rejected by the preprocessor!" >&5 | |
2049 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preproc
essor!" >&2;} | |
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 | |
2051 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
2052 ;; | |
2053 no:yes:* ) | |
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be
compiled" >&5 | |
2055 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing
prerequisite headers?" >&5 | |
2057 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;
} | |
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum
entation" >&5 | |
2059 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present
But Cannot Be Compiled\"" >&5 | |
2061 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >
&2;} | |
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co
mpiler's result" >&5 | |
2063 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
2064 ;; | |
2065 esac | |
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2067 $as_echo_n "checking for $2... " >&6; } | |
2068 if eval \${$3+:} false; then : | |
2069 $as_echo_n "(cached) " >&6 | |
2070 else | |
2071 eval "$3=\$ac_header_compiler" | |
2072 fi | |
2073 eval ac_res=\$$3 | |
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2075 $as_echo "$ac_res" >&6; } | |
2076 fi | |
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2078 | |
2079 } # ac_fn_c_check_header_mongrel | |
2080 | |
2081 # ac_fn_c_find_uintX_t LINENO BITS VAR | |
2082 # ------------------------------------ | |
2083 # Finds an unsigned integer type with width BITS, setting cache variable VAR | |
2084 # accordingly. | |
2085 ac_fn_c_find_uintX_t () | |
2086 { | |
2087 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 | |
2089 $as_echo_n "checking for uint$2_t... " >&6; } | |
2090 if eval \${$3+:} false; then : | |
2091 $as_echo_n "(cached) " >&6 | |
2092 else | |
2093 eval "$3=no" | |
2094 # Order is important - never check a type that is potentially smaller | |
2095 # than half of the expected target width. | |
2096 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ | |
2097 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | |
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2099 /* end confdefs.h. */ | |
2100 $ac_includes_default | |
2101 int | |
2102 main () | |
2103 { | |
2104 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1)
== 3)]; | |
2105 test_array [0] = 0; | |
2106 return test_array [0]; | |
2107 | |
2108 ; | |
2109 return 0; | |
2110 } | |
2111 _ACEOF | |
2112 if ac_fn_c_try_compile "$LINENO"; then : | |
2113 case $ac_type in #( | |
2114 uint$2_t) : | |
2115 eval "$3=yes" ;; #( | |
2116 *) : | |
2117 eval "$3=\$ac_type" ;; | |
2118 esac | |
2119 fi | |
2120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2121 if eval test \"x\$"$3"\" = x"no"; then : | |
2122 | |
2123 else | |
2124 break | |
2125 fi | |
2126 done | |
2127 fi | |
2128 eval ac_res=\$$3 | |
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2130 $as_echo "$ac_res" >&6; } | |
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
2132 | |
2133 } # ac_fn_c_find_uintX_t | |
2134 cat >config.log <<_ACEOF | 1941 cat >config.log <<_ACEOF |
2135 This file contains any messages produced by compilers while | 1942 This file contains any messages produced by compilers while |
2136 running configure, to aid debugging if configure makes a mistake. | 1943 running configure, to aid debugging if configure makes a mistake. |
2137 | 1944 |
2138 It was created by $as_me, which was | 1945 It was created by $as_me, which was |
2139 generated by GNU Autoconf 2.69. Invocation command line was | 1946 generated by GNU Autoconf 2.69. Invocation command line was |
2140 | 1947 |
2141 $ $0 $@ | 1948 $ $0 $@ |
2142 | 1949 |
2143 _ACEOF | 1950 _ACEOF |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 ## Main body of script. ## | 2283 ## Main body of script. ## |
2477 ## -------------------- ## | 2284 ## -------------------- ## |
2478 | 2285 |
2479 ac_ext=c | 2286 ac_ext=c |
2480 ac_cpp='$CPP $CPPFLAGS' | 2287 ac_cpp='$CPP $CPPFLAGS' |
2481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2288 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' | 2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
2483 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2484 | 2291 |
2485 | 2292 |
2486 | |
2487 ac_config_headers="$ac_config_headers config.h" | 2293 ac_config_headers="$ac_config_headers config.h" |
2488 | 2294 |
2489 | |
2490 ac_aux_dir= | 2295 ac_aux_dir= |
2491 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2296 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2492 if test -f "$ac_dir/install-sh"; then | 2297 if test -f "$ac_dir/install-sh"; then |
2493 ac_aux_dir=$ac_dir | 2298 ac_aux_dir=$ac_dir |
2494 ac_install_sh="$ac_aux_dir/install-sh -c" | 2299 ac_install_sh="$ac_aux_dir/install-sh -c" |
2495 break | 2300 break |
2496 elif test -f "$ac_dir/install.sh"; then | 2301 elif test -f "$ac_dir/install.sh"; then |
2497 ac_aux_dir=$ac_dir | 2302 ac_aux_dir=$ac_dir |
2498 ac_install_sh="$ac_aux_dir/install.sh -c" | 2303 ac_install_sh="$ac_aux_dir/install.sh -c" |
2499 break | 2304 break |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2580 host_cpu=$1 | 2385 host_cpu=$1 |
2581 host_vendor=$2 | 2386 host_vendor=$2 |
2582 shift; shift | 2387 shift; shift |
2583 # Remember, the first character of IFS is used to create $*, | 2388 # Remember, the first character of IFS is used to create $*, |
2584 # except with old shells: | 2389 # except with old shells: |
2585 host_os=$* | 2390 host_os=$* |
2586 IFS=$ac_save_IFS | 2391 IFS=$ac_save_IFS |
2587 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 2392 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2588 | 2393 |
2589 | 2394 |
| 2395 # expand $ac_aux_dir to an absolute path |
| 2396 am_aux_dir=`cd $ac_aux_dir && pwd` |
2590 | 2397 |
2591 LIBXML_MAJOR_VERSION=2 | 2398 ac_ext=c |
2592 LIBXML_MINOR_VERSION=9 | 2399 ac_cpp='$CPP $CPPFLAGS' |
2593 LIBXML_MICRO_VERSION=3 | 2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2594 LIBXML_MICRO_VERSION_SUFFIX= | 2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
2595 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
$LIBXML_MICRO_VERSION_SUFFIX | 2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2596 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
_MICRO_VERSION:$LIBXML_MINOR_VERSION | 2403 if test -n "$ac_tool_prefix"; then |
2597 | 2404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. |
2598 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSI
ON \* 100 + $LIBXML_MICRO_VERSION` | 2405 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2599 | 2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2600 if test -f CVS/Entries ; then | 2407 $as_echo_n "checking for $ac_word... " >&6; } |
2601 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%
% -e s\%/.*$%%` | 2408 if ${ac_cv_prog_CC+:} false; then : |
2602 echo extra=$extra | |
2603 if test "$extra" != "" | |
2604 then | |
2605 LIBXML_VERSION_EXTRA="-CVS$extra" | |
2606 fi | |
2607 else if test -d .svn ; then | |
2608 extra=`svn info | grep Revision | sed 's+Revision: ++'` | |
2609 echo extra=$extra | |
2610 if test "$extra" != "" | |
2611 then | |
2612 LIBXML_VERSION_EXTRA="-SVN$extra" | |
2613 fi | |
2614 else if test -d .git ; then | |
2615 extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'` | |
2616 echo extra=$extra | |
2617 if test "$extra" != "" | |
2618 then | |
2619 LIBXML_VERSION_EXTRA="-GIT$extra" | |
2620 fi | |
2621 fi | |
2622 fi | |
2623 fi | |
2624 | |
2625 | |
2626 | |
2627 | |
2628 | |
2629 | |
2630 | |
2631 | |
2632 VERSION=${LIBXML_VERSION} | |
2633 | |
2634 am__api_version='1.15' | |
2635 | |
2636 # 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 | |
2638 # incompatible versions: | |
2639 # SysV /etc/install, /usr/sbin/install | |
2640 # SunOS /usr/etc/install | |
2641 # IRIX /sbin/install | |
2642 # AIX /bin/install | |
2643 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
2644 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
2645 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
2646 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
2647 # OS/2's system install, which has a completely different semantic | |
2648 # ./install, which can be erroneously created by make from ./install.sh. | |
2649 # Reject install programs that cannot install multiple files. | |
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
2651 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
2652 if test -z "$INSTALL"; then | |
2653 if ${ac_cv_path_install+:} false; then : | |
2654 $as_echo_n "(cached) " >&6 | 2409 $as_echo_n "(cached) " >&6 |
2655 else | 2410 else |
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2411 if test -n "$CC"; then |
| 2412 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2413 else |
| 2414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2657 for as_dir in $PATH | 2415 for as_dir in $PATH |
2658 do | 2416 do |
2659 IFS=$as_save_IFS | 2417 IFS=$as_save_IFS |
2660 test -z "$as_dir" && as_dir=. | 2418 test -z "$as_dir" && as_dir=. |
2661 # Account for people who put trailing slashes in PATH elements. | 2419 for ac_exec_ext in '' $ac_executable_extensions; do |
2662 case $as_dir/ in #(( | 2420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2663 ./ | .// | /[cC]/* | \ | 2421 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2664 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
2665 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 2423 break 2 |
2666 /usr/ucb/* ) ;; | 2424 fi |
2667 *) | 2425 done |
2668 # OSF1 and SCO ODT 3.0 have their own names for install. | |
2669 # Don't use installbsd from OSF since it installs stuff as root | |
2670 # by default. | |
2671 for ac_prog in ginstall scoinst install; do | |
2672 for ac_exec_ext in '' $ac_executable_extensions; do | |
2673 » if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2674 » if test $ac_prog = install && | |
2675 » grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2676 » # AIX install. It has an incompatible calling convention. | |
2677 » : | |
2678 » elif test $ac_prog = install && | |
2679 » grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
2680 » # program-specific install script used by HP pwplus--don't use. | |
2681 » : | |
2682 » else | |
2683 » rm -rf conftest.one conftest.two conftest.dir | |
2684 » echo one > conftest.one | |
2685 » echo two > conftest.two | |
2686 » mkdir conftest.dir | |
2687 » if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
2688 » test -s conftest.one && test -s conftest.two && | |
2689 » test -s conftest.dir/conftest.one && | |
2690 » test -s conftest.dir/conftest.two | |
2691 » then | |
2692 » ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
2693 » break 3 | |
2694 » fi | |
2695 » fi | |
2696 » fi | |
2697 done | |
2698 done | |
2699 ;; | |
2700 esac | |
2701 | |
2702 done | 2426 done |
2703 IFS=$as_save_IFS | 2427 IFS=$as_save_IFS |
2704 | 2428 |
2705 rm -rf conftest.one conftest.two conftest.dir | 2429 fi |
| 2430 fi |
| 2431 CC=$ac_cv_prog_CC |
| 2432 if test -n "$CC"; then |
| 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2434 $as_echo "$CC" >&6; } |
| 2435 else |
| 2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2437 $as_echo "no" >&6; } |
| 2438 fi |
| 2439 |
2706 | 2440 |
2707 fi | 2441 fi |
2708 if test "${ac_cv_path_install+set}" = set; then | 2442 if test -z "$ac_cv_prog_CC"; then |
2709 INSTALL=$ac_cv_path_install | 2443 ac_ct_CC=$CC |
2710 else | 2444 # Extract the first word of "gcc", so it can be a program name with args. |
2711 # As a last resort, use the slow shell script. Don't cache a | 2445 set dummy gcc; ac_word=$2 |
2712 # value for INSTALL within a source directory, because that will | |
2713 # break other packages using the cache if that directory is | |
2714 # removed, or if the value is a relative name. | |
2715 INSTALL=$ac_install_sh | |
2716 fi | |
2717 fi | |
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
2719 $as_echo "$INSTALL" >&6; } | |
2720 | |
2721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
2722 # It thinks the first close brace ends the variable substitution. | |
2723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
2724 | |
2725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
2726 | |
2727 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
2728 | |
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 | |
2730 $as_echo_n "checking whether build environment is sane... " >&6; } | |
2731 # Reject unsafe characters in $srcdir or the absolute working directory | |
2732 # name. Accept space and tab only in the latter. | |
2733 am_lf=' | |
2734 ' | |
2735 case `pwd` in | |
2736 *[\\\"\#\$\&\'\`$am_lf]*) | |
2737 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
2738 esac | |
2739 case $srcdir in | |
2740 *[\\\"\#\$\&\'\`$am_lf\ \» ]*) | |
2741 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
2742 esac | |
2743 | |
2744 # Do 'set' in a subshell so we don't clobber the current shell's | |
2745 # arguments. Must try -L first in case configure is actually a | |
2746 # symlink; some systems play weird games with the mod time of symlinks | |
2747 # (eg FreeBSD returns the mod time of the symlink's containing | |
2748 # directory). | |
2749 if ( | |
2750 am_has_slept=no | |
2751 for am_try in 1 2; do | |
2752 echo "timestamp, slept: $am_has_slept" > conftest.file | |
2753 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
2754 if test "$*" = "X"; then | |
2755 » # -L didn't work. | |
2756 » set X `ls -t "$srcdir/configure" conftest.file` | |
2757 fi | |
2758 if test "$*" != "X $srcdir/configure conftest.file" \ | |
2759 » && test "$*" != "X conftest.file $srcdir/configure"; then | |
2760 | |
2761 » # If neither matched, then we have a broken ls. This can happen | |
2762 » # if, for instance, CONFIG_SHELL is bash and it inherits a | |
2763 » # broken ls alias from the environment. This has actually | |
2764 » # happened. Such a system could not be considered "sane". | |
2765 » as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | |
2766 alias in your environment" "$LINENO" 5 | |
2767 fi | |
2768 if test "$2" = conftest.file || test $am_try -eq 2; then | |
2769 break | |
2770 fi | |
2771 # Just in case. | |
2772 sleep 1 | |
2773 am_has_slept=yes | |
2774 done | |
2775 test "$2" = conftest.file | |
2776 ) | |
2777 then | |
2778 # Ok. | |
2779 : | |
2780 else | |
2781 as_fn_error $? "newly created file is older than distributed files! | |
2782 Check your system clock" "$LINENO" 5 | |
2783 fi | |
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
2785 $as_echo "yes" >&6; } | |
2786 # If we didn't sleep, we still need to ensure time stamps of config.status and | |
2787 # generated files are strictly newer. | |
2788 am_sleep_pid= | |
2789 if grep 'slept: no' conftest.file >/dev/null 2>&1; then | |
2790 ( sleep 1 ) & | |
2791 am_sleep_pid=$! | |
2792 fi | |
2793 | |
2794 rm -f conftest.file | |
2795 | |
2796 test "$program_prefix" != NONE && | |
2797 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
2798 # Use a double $ so make ignores it. | |
2799 test "$program_suffix" != NONE && | |
2800 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
2801 # Double any \ or $. | |
2802 # By default was `s,x,x', remove it if useless. | |
2803 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
2804 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
2805 | |
2806 # Expand $ac_aux_dir to an absolute path. | |
2807 am_aux_dir=`cd "$ac_aux_dir" && pwd` | |
2808 | |
2809 if test x"${MISSING+set}" != xset; then | |
2810 case $am_aux_dir in | |
2811 *\ * | *\» *) | |
2812 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2813 *) | |
2814 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2815 esac | |
2816 fi | |
2817 # Use eval to expand $SHELL | |
2818 if eval "$MISSING --is-lightweight"; then | |
2819 am_missing_run="$MISSING " | |
2820 else | |
2821 am_missing_run= | |
2822 { $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;} | |
2824 fi | |
2825 | |
2826 if test x"${install_sh+set}" != xset; then | |
2827 case $am_aux_dir in | |
2828 *\ * | *\» *) | |
2829 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
2830 *) | |
2831 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
2832 esac | |
2833 fi | |
2834 | |
2835 # Installed binaries are usually stripped using 'strip' when the user | |
2836 # run "make install-strip". However 'strip' might not be the right | |
2837 # tool to use in cross-compilation environments, therefore Automake | |
2838 # will honor the 'STRIP' environment variable to overrule this program. | |
2839 if test "$cross_compiling" != no; then | |
2840 if test -n "$ac_tool_prefix"; then | |
2841 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
2842 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2844 $as_echo_n "checking for $ac_word... " >&6; } | 2447 $as_echo_n "checking for $ac_word... " >&6; } |
2845 if ${ac_cv_prog_STRIP+:} false; then : | 2448 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2846 $as_echo_n "(cached) " >&6 | 2449 $as_echo_n "(cached) " >&6 |
2847 else | 2450 else |
2848 if test -n "$STRIP"; then | 2451 if test -n "$ac_ct_CC"; then |
2849 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 2452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2850 else | 2453 else |
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2852 for as_dir in $PATH | 2455 for as_dir in $PATH |
| 2456 do |
| 2457 IFS=$as_save_IFS |
| 2458 test -z "$as_dir" && as_dir=. |
| 2459 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2461 ac_cv_prog_ac_ct_CC="gcc" |
| 2462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2463 break 2 |
| 2464 fi |
| 2465 done |
| 2466 done |
| 2467 IFS=$as_save_IFS |
| 2468 |
| 2469 fi |
| 2470 fi |
| 2471 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2472 if test -n "$ac_ct_CC"; then |
| 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 2474 $as_echo "$ac_ct_CC" >&6; } |
| 2475 else |
| 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2477 $as_echo "no" >&6; } |
| 2478 fi |
| 2479 |
| 2480 if test "x$ac_ct_CC" = x; then |
| 2481 CC="" |
| 2482 else |
| 2483 case $cross_compiling:$ac_tool_warned in |
| 2484 yes:) |
| 2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 2486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 2487 ac_tool_warned=yes ;; |
| 2488 esac |
| 2489 CC=$ac_ct_CC |
| 2490 fi |
| 2491 else |
| 2492 CC="$ac_cv_prog_CC" |
| 2493 fi |
| 2494 |
| 2495 if test -z "$CC"; then |
| 2496 if test -n "$ac_tool_prefix"; then |
| 2497 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. |
| 2498 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2500 $as_echo_n "checking for $ac_word... " >&6; } |
| 2501 if ${ac_cv_prog_CC+:} false; then : |
| 2502 $as_echo_n "(cached) " >&6 |
| 2503 else |
| 2504 if test -n "$CC"; then |
| 2505 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2506 else |
| 2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2508 for as_dir in $PATH |
2853 do | 2509 do |
2854 IFS=$as_save_IFS | 2510 IFS=$as_save_IFS |
2855 test -z "$as_dir" && as_dir=. | 2511 test -z "$as_dir" && as_dir=. |
2856 for ac_exec_ext in '' $ac_executable_extensions; do | 2512 for ac_exec_ext in '' $ac_executable_extensions; do |
2857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2858 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 2514 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
2860 break 2 | 2516 break 2 |
2861 fi | 2517 fi |
2862 done | 2518 done |
2863 done | 2519 done |
2864 IFS=$as_save_IFS | 2520 IFS=$as_save_IFS |
2865 | 2521 |
2866 fi | 2522 fi |
2867 fi | 2523 fi |
2868 STRIP=$ac_cv_prog_STRIP | 2524 CC=$ac_cv_prog_CC |
2869 if test -n "$STRIP"; then | 2525 if test -n "$CC"; then |
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2871 $as_echo "$STRIP" >&6; } | 2527 $as_echo "$CC" >&6; } |
2872 else | 2528 else |
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2874 $as_echo "no" >&6; } | 2530 $as_echo "no" >&6; } |
2875 fi | 2531 fi |
2876 | 2532 |
2877 | 2533 |
| 2534 fi |
2878 fi | 2535 fi |
2879 if test -z "$ac_cv_prog_STRIP"; then | 2536 if test -z "$CC"; then |
2880 ac_ct_STRIP=$STRIP | 2537 # Extract the first word of "cc", so it can be a program name with args. |
2881 # Extract the first word of "strip", so it can be a program name with args. | 2538 set dummy cc; ac_word=$2 |
2882 set dummy strip; ac_word=$2 | |
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2884 $as_echo_n "checking for $ac_word... " >&6; } | 2540 $as_echo_n "checking for $ac_word... " >&6; } |
2885 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 2541 if ${ac_cv_prog_CC+:} false; then : |
2886 $as_echo_n "(cached) " >&6 | 2542 $as_echo_n "(cached) " >&6 |
2887 else | 2543 else |
2888 if test -n "$ac_ct_STRIP"; then | 2544 if test -n "$CC"; then |
2889 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 2545 ac_cv_prog_CC="$CC" # Let the user override the test. |
2890 else | 2546 else |
| 2547 ac_prog_rejected=no |
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2892 for as_dir in $PATH | 2549 for as_dir in $PATH |
2893 do | 2550 do |
2894 IFS=$as_save_IFS | 2551 IFS=$as_save_IFS |
2895 test -z "$as_dir" && as_dir=. | 2552 test -z "$as_dir" && as_dir=. |
2896 for ac_exec_ext in '' $ac_executable_extensions; do | 2553 for ac_exec_ext in '' $ac_executable_extensions; do |
2897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2898 ac_cv_prog_ac_ct_STRIP="strip" | 2555 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2556 ac_prog_rejected=yes |
| 2557 continue |
| 2558 fi |
| 2559 ac_cv_prog_CC="cc" |
2899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
2900 break 2 | 2561 break 2 |
2901 fi | 2562 fi |
2902 done | 2563 done |
2903 done | 2564 done |
2904 IFS=$as_save_IFS | 2565 IFS=$as_save_IFS |
2905 | 2566 |
| 2567 if test $ac_prog_rejected = yes; then |
| 2568 # We found a bogon in the path, so make sure we never use it. |
| 2569 set dummy $ac_cv_prog_CC |
| 2570 shift |
| 2571 if test $# != 0; then |
| 2572 # We chose a different compiler from the bogus one. |
| 2573 # However, it has the same basename, so the bogon will be chosen |
| 2574 # first if we set CC to just the basename; use the full file name. |
| 2575 shift |
| 2576 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 2577 fi |
| 2578 fi |
| 2579 fi |
| 2580 fi |
| 2581 CC=$ac_cv_prog_CC |
| 2582 if test -n "$CC"; then |
| 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 2584 $as_echo "$CC" >&6; } |
| 2585 else |
| 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2587 $as_echo "no" >&6; } |
| 2588 fi |
| 2589 |
| 2590 |
| 2591 fi |
| 2592 if test -z "$CC"; then |
| 2593 if test -n "$ac_tool_prefix"; then |
| 2594 for ac_prog in cl.exe |
| 2595 do |
| 2596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 2597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2599 $as_echo_n "checking for $ac_word... " >&6; } |
| 2600 if ${ac_cv_prog_CC+:} false; then : |
| 2601 $as_echo_n "(cached) " >&6 |
| 2602 else |
| 2603 if test -n "$CC"; then |
| 2604 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2605 else |
| 2606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2607 for as_dir in $PATH |
| 2608 do |
| 2609 IFS=$as_save_IFS |
| 2610 test -z "$as_dir" && as_dir=. |
| 2611 for ac_exec_ext in '' $ac_executable_extensions; do |
| 2612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2613 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 2615 break 2 |
| 2616 fi |
| 2617 done |
| 2618 done |
| 2619 IFS=$as_save_IFS |
| 2620 |
2906 fi | 2621 fi |
2907 fi | 2622 fi |
2908 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 2623 CC=$ac_cv_prog_CC |
2909 if test -n "$ac_ct_STRIP"; then | 2624 if test -n "$CC"; then |
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2911 $as_echo "$ac_ct_STRIP" >&6; } | 2626 $as_echo "$CC" >&6; } |
2912 else | 2627 else |
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2914 $as_echo "no" >&6; } | 2629 $as_echo "no" >&6; } |
2915 fi | 2630 fi |
2916 | 2631 |
2917 if test "x$ac_ct_STRIP" = x; then | 2632 |
2918 STRIP=":" | 2633 test -n "$CC" && break |
2919 else | 2634 done |
2920 case $cross_compiling:$ac_tool_warned in | |
2921 yes:) | |
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
2924 ac_tool_warned=yes ;; | |
2925 esac | |
2926 STRIP=$ac_ct_STRIP | |
2927 fi | |
2928 else | |
2929 STRIP="$ac_cv_prog_STRIP" | |
2930 fi | 2635 fi |
2931 | 2636 if test -z "$CC"; then |
2932 fi | 2637 ac_ct_CC=$CC |
2933 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 2638 for ac_prog in cl.exe |
2934 | |
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 | |
2936 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
2937 if test -z "$MKDIR_P"; then | |
2938 if ${ac_cv_path_mkdir+:} false; then : | |
2939 $as_echo_n "(cached) " >&6 | |
2940 else | |
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2942 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
2943 do | |
2944 IFS=$as_save_IFS | |
2945 test -z "$as_dir" && as_dir=. | |
2946 for ac_prog in mkdir gmkdir; do | |
2947 » for ac_exec_ext in '' $ac_executable_extensions; do | |
2948 » as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2949 » case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
2950 » 'mkdir (GNU coreutils) '* | \ | |
2951 » 'mkdir (coreutils) '* | \ | |
2952 » 'mkdir (fileutils) '4.1*) | |
2953 » ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
2954 » break 3;; | |
2955 » esac | |
2956 » done | |
2957 done | |
2958 done | |
2959 IFS=$as_save_IFS | |
2960 | |
2961 fi | |
2962 | |
2963 test -d ./--version && rmdir ./--version | |
2964 if test "${ac_cv_path_mkdir+set}" = set; then | |
2965 MKDIR_P="$ac_cv_path_mkdir -p" | |
2966 else | |
2967 # As a last resort, use the slow shell script. Don't cache a | |
2968 # value for MKDIR_P within a source directory, because that will | |
2969 # break other packages using the cache if that directory is | |
2970 # removed, or if the value is a relative name. | |
2971 MKDIR_P="$ac_install_sh -d" | |
2972 fi | |
2973 fi | |
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
2975 $as_echo "$MKDIR_P" >&6; } | |
2976 | |
2977 for ac_prog in gawk mawk nawk awk | |
2978 do | 2639 do |
2979 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2640 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2980 set dummy $ac_prog; ac_word=$2 | 2641 set dummy $ac_prog; ac_word=$2 |
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2982 $as_echo_n "checking for $ac_word... " >&6; } | 2643 $as_echo_n "checking for $ac_word... " >&6; } |
2983 if ${ac_cv_prog_AWK+:} false; then : | 2644 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2984 $as_echo_n "(cached) " >&6 | 2645 $as_echo_n "(cached) " >&6 |
2985 else | 2646 else |
2986 if test -n "$AWK"; then | 2647 if test -n "$ac_ct_CC"; then |
2987 ac_cv_prog_AWK="$AWK" # Let the user override the test. | 2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2988 else | 2649 else |
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2990 for as_dir in $PATH | 2651 for as_dir in $PATH |
2991 do | 2652 do |
2992 IFS=$as_save_IFS | 2653 IFS=$as_save_IFS |
2993 test -z "$as_dir" && as_dir=. | 2654 test -z "$as_dir" && as_dir=. |
2994 for ac_exec_ext in '' $ac_executable_extensions; do | 2655 for ac_exec_ext in '' $ac_executable_extensions; do |
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2996 ac_cv_prog_AWK="$ac_prog" | 2657 ac_cv_prog_ac_ct_CC="$ac_prog" |
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
2998 break 2 | 2659 break 2 |
2999 fi | 2660 fi |
3000 done | 2661 done |
3001 done | 2662 done |
3002 IFS=$as_save_IFS | 2663 IFS=$as_save_IFS |
3003 | 2664 |
3004 fi | 2665 fi |
3005 fi | 2666 fi |
3006 AWK=$ac_cv_prog_AWK | |
3007 if test -n "$AWK"; then | |
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
3009 $as_echo "$AWK" >&6; } | |
3010 else | |
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3012 $as_echo "no" >&6; } | |
3013 fi | |
3014 | |
3015 | |
3016 test -n "$AWK" && break | |
3017 done | |
3018 | |
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
AKE)" >&5 | |
3020 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
3021 set x ${MAKE-make} | |
3022 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
3023 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
3024 $as_echo_n "(cached) " >&6 | |
3025 else | |
3026 cat >conftest.make <<\_ACEOF | |
3027 SHELL = /bin/sh | |
3028 all: | |
3029 @echo '@@@%%%=$(MAKE)=@@@%%%' | |
3030 _ACEOF | |
3031 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
3032 case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
3033 *@@@%%%=?*=@@@%%%*) | |
3034 eval ac_cv_prog_make_${ac_make}_set=yes;; | |
3035 *) | |
3036 eval ac_cv_prog_make_${ac_make}_set=no;; | |
3037 esac | |
3038 rm -f conftest.make | |
3039 fi | |
3040 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3042 $as_echo "yes" >&6; } | |
3043 SET_MAKE= | |
3044 else | |
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3046 $as_echo "no" >&6; } | |
3047 SET_MAKE="MAKE=${MAKE-make}" | |
3048 fi | |
3049 | |
3050 rm -rf .tst 2>/dev/null | |
3051 mkdir .tst 2>/dev/null | |
3052 if test -d .tst; then | |
3053 am__leading_dot=. | |
3054 else | |
3055 am__leading_dot=_ | |
3056 fi | |
3057 rmdir .tst 2>/dev/null | |
3058 | |
3059 # Check whether --enable-silent-rules was given. | |
3060 if test "${enable_silent_rules+set}" = set; then : | |
3061 enableval=$enable_silent_rules; | |
3062 fi | |
3063 | |
3064 case $enable_silent_rules in # ((( | |
3065 yes) AM_DEFAULT_VERBOSITY=0;; | |
3066 no) AM_DEFAULT_VERBOSITY=1;; | |
3067 *) AM_DEFAULT_VERBOSITY=1;; | |
3068 esac | |
3069 am_make=${MAKE-make} | |
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 | |
3071 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
3072 if ${am_cv_make_support_nested_variables+:} false; then : | |
3073 $as_echo_n "(cached) " >&6 | |
3074 else | |
3075 if $as_echo 'TRUE=$(BAR$(V)) | |
3076 BAR0=false | |
3077 BAR1=true | |
3078 V=1 | |
3079 am__doit: | |
3080 @$(TRUE) | |
3081 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
3082 am_cv_make_support_nested_variables=yes | |
3083 else | |
3084 am_cv_make_support_nested_variables=no | |
3085 fi | |
3086 fi | |
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 | |
3088 $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
3089 if test $am_cv_make_support_nested_variables = yes; then | |
3090 AM_V='$(V)' | |
3091 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
3092 else | |
3093 AM_V=$AM_DEFAULT_VERBOSITY | |
3094 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
3095 fi | |
3096 AM_BACKSLASH='\' | |
3097 | |
3098 if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
3099 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
3100 # is not polluted with repeated "-I." | |
3101 am__isrc=' -I$(srcdir)' | |
3102 # test to see if srcdir already configured | |
3103 if test -f $srcdir/config.status; then | |
3104 as_fn_error $? "source directory already configured; run \"make distclean\"
there first" "$LINENO" 5 | |
3105 fi | |
3106 fi | |
3107 | |
3108 # test whether we have cygpath | |
3109 if test -z "$CYGPATH_W"; then | |
3110 if (cygpath --version) >/dev/null 2>/dev/null; then | |
3111 CYGPATH_W='cygpath -w' | |
3112 else | |
3113 CYGPATH_W=echo | |
3114 fi | |
3115 fi | |
3116 | |
3117 | |
3118 # Define the identity of the package. | |
3119 | |
3120 PACKAGE=libxml2 | |
3121 VERSION=$VERSION | |
3122 | |
3123 | |
3124 cat >>confdefs.h <<_ACEOF | |
3125 #define PACKAGE "$PACKAGE" | |
3126 _ACEOF | |
3127 | |
3128 | |
3129 cat >>confdefs.h <<_ACEOF | |
3130 #define VERSION "$VERSION" | |
3131 _ACEOF | |
3132 | |
3133 # Some tools Automake needs. | |
3134 | |
3135 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
3136 | |
3137 | |
3138 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
3139 | |
3140 | |
3141 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
3142 | |
3143 | |
3144 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
3145 | |
3146 | |
3147 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
3148 | |
3149 # For better backward compatibility. To be removed once Automake 1.9.x | |
3150 # dies out for good. For more background, see: | |
3151 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
3152 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
3153 mkdir_p='$(MKDIR_P)' | |
3154 | |
3155 # We need awk for the "check" target (and possibly the TAP driver). The | |
3156 # system "awk" is bad on some platforms. | |
3157 # Always define AMTAR for backward compatibility. Yes, it's still used | |
3158 # in the wild :-( We should find a proper way to deprecate it ... | |
3159 AMTAR='$${TAR-tar}' | |
3160 | |
3161 | |
3162 # We'll loop over all known methods to create a tar archive until one works. | |
3163 _am_tools='gnutar pax cpio none' | |
3164 | |
3165 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
3166 | |
3167 | |
3168 | |
3169 | |
3170 | |
3171 | |
3172 # POSIX will say in a future version that running "rm -f" with no argument | |
3173 # is OK; and we want to be able to make that assumption in our Makefile | |
3174 # recipes. So use an aggressive probe to check that the usage we want is | |
3175 # actually supported "in the wild" to an acceptable degree. | |
3176 # See automake bug#10828. | |
3177 # To make any issue more visible, cause the running configure to be aborted | |
3178 # by default if the 'rm' program in use doesn't match our expectations; the | |
3179 # user can still override this though. | |
3180 if rm -f && rm -fr && rm -rf; then : OK; else | |
3181 cat >&2 <<'END' | |
3182 Oops! | |
3183 | |
3184 Your 'rm' program seems unable to run without file operands specified | |
3185 on the command line, even when the '-f' option is present. This is contrary | |
3186 to the behaviour of most rm programs out there, and not conforming with | |
3187 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | |
3188 | |
3189 Please tell bug-automake@gnu.org about your system, including the value | |
3190 of your $PATH and any error possibly output before this message. This | |
3191 can help us improve future automake versions. | |
3192 | |
3193 END | |
3194 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | |
3195 echo 'Configuration will proceed anyway, since you have set the' >&2 | |
3196 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | |
3197 echo >&2 | |
3198 else | |
3199 cat >&2 <<'END' | |
3200 Aborting the configuration process, to ensure you take notice of the issue. | |
3201 | |
3202 You can download and install GNU coreutils to get an 'rm' implementation | |
3203 that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
3204 | |
3205 If you want to complete the configuration process using your problematic | |
3206 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | |
3207 to "yes", and re-run configure. | |
3208 | |
3209 END | |
3210 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 | |
3211 fi | |
3212 fi | |
3213 | |
3214 | |
3215 # Support silent build rules, requires at least automake-1.11. Disable | |
3216 # by either passing --disable-silent-rules to configure or passing V=1 | |
3217 # to make | |
3218 # Check whether --enable-silent-rules was given. | |
3219 if test "${enable_silent_rules+set}" = set; then : | |
3220 enableval=$enable_silent_rules; | |
3221 fi | |
3222 | |
3223 case $enable_silent_rules in # ((( | |
3224 yes) AM_DEFAULT_VERBOSITY=0;; | |
3225 no) AM_DEFAULT_VERBOSITY=1;; | |
3226 *) AM_DEFAULT_VERBOSITY=0;; | |
3227 esac | |
3228 am_make=${MAKE-make} | |
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 | |
3230 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
3231 if ${am_cv_make_support_nested_variables+:} false; then : | |
3232 $as_echo_n "(cached) " >&6 | |
3233 else | |
3234 if $as_echo 'TRUE=$(BAR$(V)) | |
3235 BAR0=false | |
3236 BAR1=true | |
3237 V=1 | |
3238 am__doit: | |
3239 @$(TRUE) | |
3240 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
3241 am_cv_make_support_nested_variables=yes | |
3242 else | |
3243 am_cv_make_support_nested_variables=no | |
3244 fi | |
3245 fi | |
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 | |
3247 $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
3248 if test $am_cv_make_support_nested_variables = yes; then | |
3249 AM_V='$(V)' | |
3250 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
3251 else | |
3252 AM_V=$AM_DEFAULT_VERBOSITY | |
3253 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
3254 fi | |
3255 AM_BACKSLASH='\' | |
3256 | |
3257 | |
3258 ac_ext=c | |
3259 ac_cpp='$CPP $CPPFLAGS' | |
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3263 if test -n "$ac_tool_prefix"; then | |
3264 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | |
3265 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3267 $as_echo_n "checking for $ac_word... " >&6; } | |
3268 if ${ac_cv_prog_CC+:} false; then : | |
3269 $as_echo_n "(cached) " >&6 | |
3270 else | |
3271 if test -n "$CC"; then | |
3272 ac_cv_prog_CC="$CC" # Let the user override the test. | |
3273 else | |
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3275 for as_dir in $PATH | |
3276 do | |
3277 IFS=$as_save_IFS | |
3278 test -z "$as_dir" && as_dir=. | |
3279 for ac_exec_ext in '' $ac_executable_extensions; do | |
3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3281 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3283 break 2 | |
3284 fi | |
3285 done | |
3286 done | |
3287 IFS=$as_save_IFS | |
3288 | |
3289 fi | |
3290 fi | |
3291 CC=$ac_cv_prog_CC | |
3292 if test -n "$CC"; then | |
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3294 $as_echo "$CC" >&6; } | |
3295 else | |
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3297 $as_echo "no" >&6; } | |
3298 fi | |
3299 | |
3300 | |
3301 fi | |
3302 if test -z "$ac_cv_prog_CC"; then | |
3303 ac_ct_CC=$CC | |
3304 # Extract the first word of "gcc", so it can be a program name with args. | |
3305 set dummy gcc; ac_word=$2 | |
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3307 $as_echo_n "checking for $ac_word... " >&6; } | |
3308 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3309 $as_echo_n "(cached) " >&6 | |
3310 else | |
3311 if test -n "$ac_ct_CC"; then | |
3312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3313 else | |
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3315 for as_dir in $PATH | |
3316 do | |
3317 IFS=$as_save_IFS | |
3318 test -z "$as_dir" && as_dir=. | |
3319 for ac_exec_ext in '' $ac_executable_extensions; do | |
3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3321 ac_cv_prog_ac_ct_CC="gcc" | |
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3323 break 2 | |
3324 fi | |
3325 done | |
3326 done | |
3327 IFS=$as_save_IFS | |
3328 | |
3329 fi | |
3330 fi | |
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
3332 if test -n "$ac_ct_CC"; then | |
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
3334 $as_echo "$ac_ct_CC" >&6; } | |
3335 else | |
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3337 $as_echo "no" >&6; } | |
3338 fi | |
3339 | |
3340 if test "x$ac_ct_CC" = x; then | |
3341 CC="" | |
3342 else | |
3343 case $cross_compiling:$ac_tool_warned in | |
3344 yes:) | |
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
3347 ac_tool_warned=yes ;; | |
3348 esac | |
3349 CC=$ac_ct_CC | |
3350 fi | |
3351 else | |
3352 CC="$ac_cv_prog_CC" | |
3353 fi | |
3354 | |
3355 if test -z "$CC"; then | |
3356 if test -n "$ac_tool_prefix"; then | |
3357 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. | |
3358 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3360 $as_echo_n "checking for $ac_word... " >&6; } | |
3361 if ${ac_cv_prog_CC+:} false; then : | |
3362 $as_echo_n "(cached) " >&6 | |
3363 else | |
3364 if test -n "$CC"; then | |
3365 ac_cv_prog_CC="$CC" # Let the user override the test. | |
3366 else | |
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3368 for as_dir in $PATH | |
3369 do | |
3370 IFS=$as_save_IFS | |
3371 test -z "$as_dir" && as_dir=. | |
3372 for ac_exec_ext in '' $ac_executable_extensions; do | |
3373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3374 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3376 break 2 | |
3377 fi | |
3378 done | |
3379 done | |
3380 IFS=$as_save_IFS | |
3381 | |
3382 fi | |
3383 fi | |
3384 CC=$ac_cv_prog_CC | |
3385 if test -n "$CC"; then | |
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3387 $as_echo "$CC" >&6; } | |
3388 else | |
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3390 $as_echo "no" >&6; } | |
3391 fi | |
3392 | |
3393 | |
3394 fi | |
3395 fi | |
3396 if test -z "$CC"; then | |
3397 # Extract the first word of "cc", so it can be a program name with args. | |
3398 set dummy cc; ac_word=$2 | |
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3400 $as_echo_n "checking for $ac_word... " >&6; } | |
3401 if ${ac_cv_prog_CC+:} false; then : | |
3402 $as_echo_n "(cached) " >&6 | |
3403 else | |
3404 if test -n "$CC"; then | |
3405 ac_cv_prog_CC="$CC" # Let the user override the test. | |
3406 else | |
3407 ac_prog_rejected=no | |
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3409 for as_dir in $PATH | |
3410 do | |
3411 IFS=$as_save_IFS | |
3412 test -z "$as_dir" && as_dir=. | |
3413 for ac_exec_ext in '' $ac_executable_extensions; do | |
3414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3415 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
3416 ac_prog_rejected=yes | |
3417 continue | |
3418 fi | |
3419 ac_cv_prog_CC="cc" | |
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3421 break 2 | |
3422 fi | |
3423 done | |
3424 done | |
3425 IFS=$as_save_IFS | |
3426 | |
3427 if test $ac_prog_rejected = yes; then | |
3428 # We found a bogon in the path, so make sure we never use it. | |
3429 set dummy $ac_cv_prog_CC | |
3430 shift | |
3431 if test $# != 0; then | |
3432 # We chose a different compiler from the bogus one. | |
3433 # However, it has the same basename, so the bogon will be chosen | |
3434 # first if we set CC to just the basename; use the full file name. | |
3435 shift | |
3436 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
3437 fi | |
3438 fi | |
3439 fi | |
3440 fi | |
3441 CC=$ac_cv_prog_CC | |
3442 if test -n "$CC"; then | |
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3444 $as_echo "$CC" >&6; } | |
3445 else | |
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3447 $as_echo "no" >&6; } | |
3448 fi | |
3449 | |
3450 | |
3451 fi | |
3452 if test -z "$CC"; then | |
3453 if test -n "$ac_tool_prefix"; then | |
3454 for ac_prog in cl.exe | |
3455 do | |
3456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | |
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3459 $as_echo_n "checking for $ac_word... " >&6; } | |
3460 if ${ac_cv_prog_CC+:} false; then : | |
3461 $as_echo_n "(cached) " >&6 | |
3462 else | |
3463 if test -n "$CC"; then | |
3464 ac_cv_prog_CC="$CC" # Let the user override the test. | |
3465 else | |
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3467 for as_dir in $PATH | |
3468 do | |
3469 IFS=$as_save_IFS | |
3470 test -z "$as_dir" && as_dir=. | |
3471 for ac_exec_ext in '' $ac_executable_extensions; do | |
3472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3473 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3475 break 2 | |
3476 fi | |
3477 done | |
3478 done | |
3479 IFS=$as_save_IFS | |
3480 | |
3481 fi | |
3482 fi | |
3483 CC=$ac_cv_prog_CC | |
3484 if test -n "$CC"; then | |
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
3486 $as_echo "$CC" >&6; } | |
3487 else | |
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3489 $as_echo "no" >&6; } | |
3490 fi | |
3491 | |
3492 | |
3493 test -n "$CC" && break | |
3494 done | |
3495 fi | |
3496 if test -z "$CC"; then | |
3497 ac_ct_CC=$CC | |
3498 for ac_prog in cl.exe | |
3499 do | |
3500 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3501 set dummy $ac_prog; ac_word=$2 | |
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
3503 $as_echo_n "checking for $ac_word... " >&6; } | |
3504 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
3505 $as_echo_n "(cached) " >&6 | |
3506 else | |
3507 if test -n "$ac_ct_CC"; then | |
3508 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
3509 else | |
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3511 for as_dir in $PATH | |
3512 do | |
3513 IFS=$as_save_IFS | |
3514 test -z "$as_dir" && as_dir=. | |
3515 for ac_exec_ext in '' $ac_executable_extensions; do | |
3516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3517 ac_cv_prog_ac_ct_CC="$ac_prog" | |
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
3519 break 2 | |
3520 fi | |
3521 done | |
3522 done | |
3523 IFS=$as_save_IFS | |
3524 | |
3525 fi | |
3526 fi | |
3527 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2667 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3528 if test -n "$ac_ct_CC"; then | 2668 if test -n "$ac_ct_CC"; then |
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3530 $as_echo "$ac_ct_CC" >&6; } | 2670 $as_echo "$ac_ct_CC" >&6; } |
3531 else | 2671 else |
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3533 $as_echo "no" >&6; } | 2673 $as_echo "no" >&6; } |
3534 fi | 2674 fi |
3535 | 2675 |
3536 | 2676 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3580 fi | 2720 fi |
3581 rm -f conftest.er1 conftest.err | 2721 rm -f conftest.er1 conftest.err |
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3583 test $ac_status = 0; } | 2723 test $ac_status = 0; } |
3584 done | 2724 done |
3585 | 2725 |
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3587 /* end confdefs.h. */ | 2727 /* end confdefs.h. */ |
3588 | 2728 |
3589 int | 2729 int |
| 2730 main () |
| 2731 { |
| 2732 |
| 2733 ; |
| 2734 return 0; |
| 2735 } |
| 2736 _ACEOF |
| 2737 ac_clean_files_save=$ac_clean_files |
| 2738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 2739 # Try to create an executable without -o first, disregard a.out. |
| 2740 # It will help us diagnose broken compilers, and finding out an intuition |
| 2741 # of exeext. |
| 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
>&5 |
| 2743 $as_echo_n "checking whether the C compiler works... " >&6; } |
| 2744 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2745 |
| 2746 # The possible output files: |
| 2747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 2748 |
| 2749 ac_rmfiles= |
| 2750 for ac_file in $ac_files |
| 2751 do |
| 2752 case $ac_file in |
| 2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; |
| 2754 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 2755 esac |
| 2756 done |
| 2757 rm -f $ac_rmfiles |
| 2758 |
| 2759 if { { ac_try="$ac_link_default" |
| 2760 case "(($ac_try" in |
| 2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2762 *) ac_try_echo=$ac_try;; |
| 2763 esac |
| 2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2765 $as_echo "$ac_try_echo"; } >&5 |
| 2766 (eval "$ac_link_default") 2>&5 |
| 2767 ac_status=$? |
| 2768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2769 test $ac_status = 0; }; then : |
| 2770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2772 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2773 # so that the user can short-circuit this test for compilers unknown to |
| 2774 # Autoconf. |
| 2775 for ac_file in $ac_files '' |
| 2776 do |
| 2777 test -f "$ac_file" || continue |
| 2778 case $ac_file in |
| 2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) |
| 2780 ;; |
| 2781 [ab].out ) |
| 2782 # We found the default executable, but exeext='' is most |
| 2783 # certainly right. |
| 2784 break;; |
| 2785 *.* ) |
| 2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2787 then :; else |
| 2788 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2789 fi |
| 2790 # We set ac_cv_exeext here because the later test for it is not |
| 2791 # safe: cross compilers may not add the suffix if given an `-o' |
| 2792 # argument, so we may need to know it at that point already. |
| 2793 # Even if this section looks crufty: it has the advantage of |
| 2794 # actually working. |
| 2795 break;; |
| 2796 * ) |
| 2797 break;; |
| 2798 esac |
| 2799 done |
| 2800 test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 2801 |
| 2802 else |
| 2803 ac_file='' |
| 2804 fi |
| 2805 if test -z "$ac_file"; then : |
| 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2807 $as_echo "no" >&6; } |
| 2808 $as_echo "$as_me: failed program was:" >&5 |
| 2809 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2810 |
| 2811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2813 as_fn_error 77 "C compiler cannot create executables |
| 2814 See \`config.log' for more details" "$LINENO" 5; } |
| 2815 else |
| 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2817 $as_echo "yes" >&6; } |
| 2818 fi |
| 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output
file name" >&5 |
| 2820 $as_echo_n "checking for C compiler default output file name... " >&6; } |
| 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 2822 $as_echo "$ac_file" >&6; } |
| 2823 ac_exeext=$ac_cv_exeext |
| 2824 |
| 2825 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 2826 ac_clean_files=$ac_clean_files_save |
| 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 2828 $as_echo_n "checking for suffix of executables... " >&6; } |
| 2829 if { { ac_try="$ac_link" |
| 2830 case "(($ac_try" in |
| 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2832 *) ac_try_echo=$ac_try;; |
| 2833 esac |
| 2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2835 $as_echo "$ac_try_echo"; } >&5 |
| 2836 (eval "$ac_link") 2>&5 |
| 2837 ac_status=$? |
| 2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2839 test $ac_status = 0; }; then : |
| 2840 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2841 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2842 # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2843 # `rm'. |
| 2844 for ac_file in conftest.exe conftest conftest.*; do |
| 2845 test -f "$ac_file" || continue |
| 2846 case $ac_file in |
| 2847 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; |
| 2848 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2849 break;; |
| 2850 * ) break;; |
| 2851 esac |
| 2852 done |
| 2853 else |
| 2854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2856 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
| 2857 See \`config.log' for more details" "$LINENO" 5; } |
| 2858 fi |
| 2859 rm -f conftest conftest$ac_cv_exeext |
| 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 2861 $as_echo "$ac_cv_exeext" >&6; } |
| 2862 |
| 2863 rm -f conftest.$ac_ext |
| 2864 EXEEXT=$ac_cv_exeext |
| 2865 ac_exeext=$EXEEXT |
| 2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2867 /* end confdefs.h. */ |
| 2868 #include <stdio.h> |
| 2869 int |
| 2870 main () |
| 2871 { |
| 2872 FILE *f = fopen ("conftest.out", "w"); |
| 2873 return ferror (f) || fclose (f) != 0; |
| 2874 |
| 2875 ; |
| 2876 return 0; |
| 2877 } |
| 2878 _ACEOF |
| 2879 ac_clean_files="$ac_clean_files conftest.out" |
| 2880 # Check that the compiler produces executables we can run. If not, either |
| 2881 # the compiler is broken, or we cross compile. |
| 2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5 |
| 2883 $as_echo_n "checking whether we are cross compiling... " >&6; } |
| 2884 if test "$cross_compiling" != yes; then |
| 2885 { { ac_try="$ac_link" |
| 2886 case "(($ac_try" in |
| 2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2888 *) ac_try_echo=$ac_try;; |
| 2889 esac |
| 2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2891 $as_echo "$ac_try_echo"; } >&5 |
| 2892 (eval "$ac_link") 2>&5 |
| 2893 ac_status=$? |
| 2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2895 test $ac_status = 0; } |
| 2896 if { ac_try='./conftest$ac_cv_exeext' |
| 2897 { { case "(($ac_try" in |
| 2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2899 *) ac_try_echo=$ac_try;; |
| 2900 esac |
| 2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2902 $as_echo "$ac_try_echo"; } >&5 |
| 2903 (eval "$ac_try") 2>&5 |
| 2904 ac_status=$? |
| 2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2906 test $ac_status = 0; }; }; then |
| 2907 cross_compiling=no |
| 2908 else |
| 2909 if test "$cross_compiling" = maybe; then |
| 2910 cross_compiling=yes |
| 2911 else |
| 2912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2914 as_fn_error $? "cannot run C compiled programs. |
| 2915 If you meant to cross compile, use \`--host'. |
| 2916 See \`config.log' for more details" "$LINENO" 5; } |
| 2917 fi |
| 2918 fi |
| 2919 fi |
| 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 2921 $as_echo "$cross_compiling" >&6; } |
| 2922 |
| 2923 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 2924 ac_clean_files=$ac_clean_files_save |
| 2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&
5 |
| 2926 $as_echo_n "checking for suffix of object files... " >&6; } |
| 2927 if ${ac_cv_objext+:} false; then : |
| 2928 $as_echo_n "(cached) " >&6 |
| 2929 else |
| 2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2931 /* end confdefs.h. */ |
| 2932 |
| 2933 int |
| 2934 main () |
| 2935 { |
| 2936 |
| 2937 ; |
| 2938 return 0; |
| 2939 } |
| 2940 _ACEOF |
| 2941 rm -f conftest.o conftest.obj |
| 2942 if { { ac_try="$ac_compile" |
| 2943 case "(($ac_try" in |
| 2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2945 *) ac_try_echo=$ac_try;; |
| 2946 esac |
| 2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2948 $as_echo "$ac_try_echo"; } >&5 |
| 2949 (eval "$ac_compile") 2>&5 |
| 2950 ac_status=$? |
| 2951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2952 test $ac_status = 0; }; then : |
| 2953 for ac_file in conftest.o conftest.obj conftest.*; do |
| 2954 test -f "$ac_file" || continue; |
| 2955 case $ac_file in |
| 2956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM ) ;; |
| 2957 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2958 break;; |
| 2959 esac |
| 2960 done |
| 2961 else |
| 2962 $as_echo "$as_me: failed program was:" >&5 |
| 2963 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2964 |
| 2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2967 as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 2968 See \`config.log' for more details" "$LINENO" 5; } |
| 2969 fi |
| 2970 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2971 fi |
| 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 2973 $as_echo "$ac_cv_objext" >&6; } |
| 2974 OBJEXT=$ac_cv_objext |
| 2975 ac_objext=$OBJEXT |
| 2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 |
| 2977 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| 2978 if ${ac_cv_c_compiler_gnu+:} false; then : |
| 2979 $as_echo_n "(cached) " >&6 |
| 2980 else |
| 2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2982 /* end confdefs.h. */ |
| 2983 |
| 2984 int |
| 2985 main () |
| 2986 { |
| 2987 #ifndef __GNUC__ |
| 2988 choke me |
| 2989 #endif |
| 2990 |
| 2991 ; |
| 2992 return 0; |
| 2993 } |
| 2994 _ACEOF |
| 2995 if ac_fn_c_try_compile "$LINENO"; then : |
| 2996 ac_compiler_gnu=yes |
| 2997 else |
| 2998 ac_compiler_gnu=no |
| 2999 fi |
| 3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3001 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3002 |
| 3003 fi |
| 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 3005 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 3006 if test $ac_compiler_gnu = yes; then |
| 3007 GCC=yes |
| 3008 else |
| 3009 GCC= |
| 3010 fi |
| 3011 ac_test_CFLAGS=${CFLAGS+set} |
| 3012 ac_save_CFLAGS=$CFLAGS |
| 3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 3014 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 3015 if ${ac_cv_prog_cc_g+:} false; then : |
| 3016 $as_echo_n "(cached) " >&6 |
| 3017 else |
| 3018 ac_save_c_werror_flag=$ac_c_werror_flag |
| 3019 ac_c_werror_flag=yes |
| 3020 ac_cv_prog_cc_g=no |
| 3021 CFLAGS="-g" |
| 3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3023 /* end confdefs.h. */ |
| 3024 |
| 3025 int |
| 3026 main () |
| 3027 { |
| 3028 |
| 3029 ; |
| 3030 return 0; |
| 3031 } |
| 3032 _ACEOF |
| 3033 if ac_fn_c_try_compile "$LINENO"; then : |
| 3034 ac_cv_prog_cc_g=yes |
| 3035 else |
| 3036 CFLAGS="" |
| 3037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3038 /* end confdefs.h. */ |
| 3039 |
| 3040 int |
| 3041 main () |
| 3042 { |
| 3043 |
| 3044 ; |
| 3045 return 0; |
| 3046 } |
| 3047 _ACEOF |
| 3048 if ac_fn_c_try_compile "$LINENO"; then : |
| 3049 |
| 3050 else |
| 3051 ac_c_werror_flag=$ac_save_c_werror_flag |
| 3052 CFLAGS="-g" |
| 3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3054 /* end confdefs.h. */ |
| 3055 |
| 3056 int |
| 3057 main () |
| 3058 { |
| 3059 |
| 3060 ; |
| 3061 return 0; |
| 3062 } |
| 3063 _ACEOF |
| 3064 if ac_fn_c_try_compile "$LINENO"; then : |
| 3065 ac_cv_prog_cc_g=yes |
| 3066 fi |
| 3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3068 fi |
| 3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3070 fi |
| 3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3072 ac_c_werror_flag=$ac_save_c_werror_flag |
| 3073 fi |
| 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 3075 $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 3076 if test "$ac_test_CFLAGS" = set; then |
| 3077 CFLAGS=$ac_save_CFLAGS |
| 3078 elif test $ac_cv_prog_cc_g = yes; then |
| 3079 if test "$GCC" = yes; then |
| 3080 CFLAGS="-g -O2" |
| 3081 else |
| 3082 CFLAGS="-g" |
| 3083 fi |
| 3084 else |
| 3085 if test "$GCC" = yes; then |
| 3086 CFLAGS="-O2" |
| 3087 else |
| 3088 CFLAGS= |
| 3089 fi |
| 3090 fi |
| 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 |
| 3092 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 3093 if ${ac_cv_prog_cc_c89+:} false; then : |
| 3094 $as_echo_n "(cached) " >&6 |
| 3095 else |
| 3096 ac_cv_prog_cc_c89=no |
| 3097 ac_save_CC=$CC |
| 3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3099 /* end confdefs.h. */ |
| 3100 #include <stdarg.h> |
| 3101 #include <stdio.h> |
| 3102 struct stat; |
| 3103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 3104 struct buf { int x; }; |
| 3105 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 3106 static char *e (p, i) |
| 3107 char **p; |
| 3108 int i; |
| 3109 { |
| 3110 return p[i]; |
| 3111 } |
| 3112 static char *f (char * (*g) (char **, int), char **p, ...) |
| 3113 { |
| 3114 char *s; |
| 3115 va_list v; |
| 3116 va_start (v,p); |
| 3117 s = g (p, va_arg (v,int)); |
| 3118 va_end (v); |
| 3119 return s; |
| 3120 } |
| 3121 |
| 3122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3123 function prototypes and stuff, but not '\xHH' hex character constants. |
| 3124 These don't provoke an error unfortunately, instead are silently treated |
| 3125 as 'x'. The following induces an error, until -std is added to get |
| 3126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3127 array size at least. It's necessary to write '\x00'==0 to get something |
| 3128 that's true only with -std. */ |
| 3129 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3130 |
| 3131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 3132 inside strings and character constants. */ |
| 3133 #define FOO(x) 'x' |
| 3134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 3135 |
| 3136 int test (int i, double x); |
| 3137 struct s1 {int (*f) (int a);}; |
| 3138 struct s2 {int (*f) (double a);}; |
| 3139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); |
| 3140 int argc; |
| 3141 char **argv; |
| 3142 int |
| 3143 main () |
| 3144 { |
| 3145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 3146 ; |
| 3147 return 0; |
| 3148 } |
| 3149 _ACEOF |
| 3150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3152 do |
| 3153 CC="$ac_save_CC $ac_arg" |
| 3154 if ac_fn_c_try_compile "$LINENO"; then : |
| 3155 ac_cv_prog_cc_c89=$ac_arg |
| 3156 fi |
| 3157 rm -f core conftest.err conftest.$ac_objext |
| 3158 test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 3159 done |
| 3160 rm -f conftest.$ac_ext |
| 3161 CC=$ac_save_CC |
| 3162 |
| 3163 fi |
| 3164 # AC_CACHE_VAL |
| 3165 case "x$ac_cv_prog_cc_c89" in |
| 3166 x) |
| 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 3168 $as_echo "none needed" >&6; } ;; |
| 3169 xno) |
| 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 3171 $as_echo "unsupported" >&6; } ;; |
| 3172 *) |
| 3173 CC="$CC $ac_cv_prog_cc_c89" |
| 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 3175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 3176 esac |
| 3177 if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 3178 |
| 3179 fi |
| 3180 |
| 3181 ac_ext=c |
| 3182 ac_cpp='$CPP $CPPFLAGS' |
| 3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3186 |
| 3187 ac_ext=c |
| 3188 ac_cpp='$CPP $CPPFLAGS' |
| 3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and
-o together" >&5 |
| 3193 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 3194 if ${am_cv_prog_cc_c_o+:} false; then : |
| 3195 $as_echo_n "(cached) " >&6 |
| 3196 else |
| 3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3198 /* end confdefs.h. */ |
| 3199 |
| 3200 int |
3590 main () | 3201 main () |
3591 { | 3202 { |
3592 | 3203 |
3593 ; | 3204 ; |
3594 return 0; | 3205 return 0; |
3595 } | 3206 } |
3596 _ACEOF | 3207 _ACEOF |
3597 ac_clean_files_save=$ac_clean_files | 3208 # Make sure it works both with $CC and with simple cc. |
3598 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3209 # Following AC_PROG_CC_C_O, we do the test twice because some |
3599 # Try to create an executable without -o first, disregard a.out. | 3210 # compilers refuse to overwrite an existing .o file with -o, |
3600 # It will help us diagnose broken compilers, and finding out an intuition | 3211 # though they will create one. |
3601 # of exeext. | 3212 am_cv_prog_cc_c_o=yes |
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works"
>&5 | 3213 for am_i in 1 2; do |
3603 $as_echo_n "checking whether the C compiler works... " >&6; } | 3214 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext"
>&5 |
3604 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3215 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
3605 | 3216 ac_status=$? |
3606 # The possible output files: | 3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3607 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 3218 (exit $ac_status); } \ |
3608 | 3219 && test -f conftest2.$ac_objext; then |
3609 ac_rmfiles= | 3220 : OK |
3610 for ac_file in $ac_files | |
3611 do | |
3612 case $ac_file in | |
3613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
3614 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3615 esac | |
3616 done | |
3617 rm -f $ac_rmfiles | |
3618 | |
3619 if { { ac_try="$ac_link_default" | |
3620 case "(($ac_try" in | |
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3622 *) ac_try_echo=$ac_try;; | |
3623 esac | |
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3625 $as_echo "$ac_try_echo"; } >&5 | |
3626 (eval "$ac_link_default") 2>&5 | |
3627 ac_status=$? | |
3628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3629 test $ac_status = 0; }; then : | |
3630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
3631 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
3632 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
3633 # so that the user can short-circuit this test for compilers unknown to | |
3634 # Autoconf. | |
3635 for ac_file in $ac_files '' | |
3636 do | |
3637 test -f "$ac_file" || continue | |
3638 case $ac_file in | |
3639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) | |
3640 » ;; | |
3641 [ab].out ) | |
3642 » # We found the default executable, but exeext='' is most | |
3643 » # certainly right. | |
3644 » break;; | |
3645 *.* ) | |
3646 » if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
3647 » then :; else | |
3648 » ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3649 » fi | |
3650 » # We set ac_cv_exeext here because the later test for it is not | |
3651 » # safe: cross compilers may not add the suffix if given an `-o' | |
3652 » # argument, so we may need to know it at that point already. | |
3653 » # Even if this section looks crufty: it has the advantage of | |
3654 » # actually working. | |
3655 » break;; | |
3656 * ) | |
3657 » break;; | |
3658 esac | |
3659 done | |
3660 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3661 | |
3662 else | |
3663 ac_file='' | |
3664 fi | |
3665 if test -z "$ac_file"; then : | |
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
3667 $as_echo "no" >&6; } | |
3668 $as_echo "$as_me: failed program was:" >&5 | |
3669 sed 's/^/| /' conftest.$ac_ext >&5 | |
3670 | |
3671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3673 as_fn_error 77 "C compiler cannot create executables | |
3674 See \`config.log' for more details" "$LINENO" 5; } | |
3675 else | |
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
3677 $as_echo "yes" >&6; } | |
3678 fi | |
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output
file name" >&5 | |
3680 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
3682 $as_echo "$ac_file" >&6; } | |
3683 ac_exeext=$ac_cv_exeext | |
3684 | |
3685 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
3686 ac_clean_files=$ac_clean_files_save | |
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
3688 $as_echo_n "checking for suffix of executables... " >&6; } | |
3689 if { { ac_try="$ac_link" | |
3690 case "(($ac_try" in | |
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3692 *) ac_try_echo=$ac_try;; | |
3693 esac | |
3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3695 $as_echo "$ac_try_echo"; } >&5 | |
3696 (eval "$ac_link") 2>&5 | |
3697 ac_status=$? | |
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3699 test $ac_status = 0; }; then : | |
3700 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
3701 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
3702 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
3703 # `rm'. | |
3704 for ac_file in conftest.exe conftest conftest.*; do | |
3705 test -f "$ac_file" || continue | |
3706 case $ac_file in | |
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM | *.o | *.obj ) ;; | |
3708 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
3709 » break;; | |
3710 * ) break;; | |
3711 esac | |
3712 done | |
3713 else | |
3714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3716 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
3717 See \`config.log' for more details" "$LINENO" 5; } | |
3718 fi | |
3719 rm -f conftest conftest$ac_cv_exeext | |
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
3721 $as_echo "$ac_cv_exeext" >&6; } | |
3722 | |
3723 rm -f conftest.$ac_ext | |
3724 EXEEXT=$ac_cv_exeext | |
3725 ac_exeext=$EXEEXT | |
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3727 /* end confdefs.h. */ | |
3728 #include <stdio.h> | |
3729 int | |
3730 main () | |
3731 { | |
3732 FILE *f = fopen ("conftest.out", "w"); | |
3733 return ferror (f) || fclose (f) != 0; | |
3734 | |
3735 ; | |
3736 return 0; | |
3737 } | |
3738 _ACEOF | |
3739 ac_clean_files="$ac_clean_files conftest.out" | |
3740 # Check that the compiler produces executables we can run. If not, either | |
3741 # the compiler is broken, or we cross compile. | |
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5 | |
3743 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
3744 if test "$cross_compiling" != yes; then | |
3745 { { ac_try="$ac_link" | |
3746 case "(($ac_try" in | |
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3748 *) ac_try_echo=$ac_try;; | |
3749 esac | |
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3751 $as_echo "$ac_try_echo"; } >&5 | |
3752 (eval "$ac_link") 2>&5 | |
3753 ac_status=$? | |
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3755 test $ac_status = 0; } | |
3756 if { ac_try='./conftest$ac_cv_exeext' | |
3757 { { case "(($ac_try" in | |
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3759 *) ac_try_echo=$ac_try;; | |
3760 esac | |
3761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3762 $as_echo "$ac_try_echo"; } >&5 | |
3763 (eval "$ac_try") 2>&5 | |
3764 ac_status=$? | |
3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3766 test $ac_status = 0; }; }; then | |
3767 cross_compiling=no | |
3768 else | |
3769 if test "$cross_compiling" = maybe; then | |
3770 » cross_compiling=yes | |
3771 else | 3221 else |
3772 » { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3222 am_cv_prog_cc_c_o=no |
3773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3223 break |
3774 as_fn_error $? "cannot run C compiled programs. | |
3775 If you meant to cross compile, use \`--host'. | |
3776 See \`config.log' for more details" "$LINENO" 5; } | |
3777 fi | 3224 fi |
3778 fi | 3225 done |
3779 fi | 3226 rm -f core conftest* |
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3227 unset am_i |
3781 $as_echo "$cross_compiling" >&6; } | 3228 fi |
3782 | 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
3783 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 3230 $as_echo "$am_cv_prog_cc_c_o" >&6; } |
3784 ac_clean_files=$ac_clean_files_save | 3231 if test "$am_cv_prog_cc_c_o" != yes; then |
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&
5 | 3232 # Losing compiler, so override with the script. |
3786 $as_echo_n "checking for suffix of object files... " >&6; } | 3233 # FIXME: It is wrong to rewrite CC. |
3787 if ${ac_cv_objext+:} false; then : | 3234 # But if we don't then we get into trouble of one sort or another. |
3788 $as_echo_n "(cached) " >&6 | 3235 # A longer-term fix would be to have automake use am__CC in this case, |
3789 else | 3236 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3237 CC="$am_aux_dir/compile $CC" |
3791 /* end confdefs.h. */ | 3238 fi |
3792 | |
3793 int | |
3794 main () | |
3795 { | |
3796 | |
3797 ; | |
3798 return 0; | |
3799 } | |
3800 _ACEOF | |
3801 rm -f conftest.o conftest.obj | |
3802 if { { ac_try="$ac_compile" | |
3803 case "(($ac_try" in | |
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3805 *) ac_try_echo=$ac_try;; | |
3806 esac | |
3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
3808 $as_echo "$ac_try_echo"; } >&5 | |
3809 (eval "$ac_compile") 2>&5 | |
3810 ac_status=$? | |
3811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
3812 test $ac_status = 0; }; then : | |
3813 for ac_file in conftest.o conftest.obj conftest.*; do | |
3814 test -f "$ac_file" || continue; | |
3815 case $ac_file in | |
3816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map |
*.inf | *.dSYM ) ;; | |
3817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
3818 break;; | |
3819 esac | |
3820 done | |
3821 else | |
3822 $as_echo "$as_me: failed program was:" >&5 | |
3823 sed 's/^/| /' conftest.$ac_ext >&5 | |
3824 | |
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3827 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
3828 See \`config.log' for more details" "$LINENO" 5; } | |
3829 fi | |
3830 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
3831 fi | |
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
3833 $as_echo "$ac_cv_objext" >&6; } | |
3834 OBJEXT=$ac_cv_objext | |
3835 ac_objext=$OBJEXT | |
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 | |
3837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
3838 if ${ac_cv_c_compiler_gnu+:} false; then : | |
3839 $as_echo_n "(cached) " >&6 | |
3840 else | |
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3842 /* end confdefs.h. */ | |
3843 | |
3844 int | |
3845 main () | |
3846 { | |
3847 #ifndef __GNUC__ | |
3848 choke me | |
3849 #endif | |
3850 | |
3851 ; | |
3852 return 0; | |
3853 } | |
3854 _ACEOF | |
3855 if ac_fn_c_try_compile "$LINENO"; then : | |
3856 ac_compiler_gnu=yes | |
3857 else | |
3858 ac_compiler_gnu=no | |
3859 fi | |
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3861 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
3862 | |
3863 fi | |
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
3865 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3866 if test $ac_compiler_gnu = yes; then | |
3867 GCC=yes | |
3868 else | |
3869 GCC= | |
3870 fi | |
3871 ac_test_CFLAGS=${CFLAGS+set} | |
3872 ac_save_CFLAGS=$CFLAGS | |
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
3874 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
3875 if ${ac_cv_prog_cc_g+:} false; then : | |
3876 $as_echo_n "(cached) " >&6 | |
3877 else | |
3878 ac_save_c_werror_flag=$ac_c_werror_flag | |
3879 ac_c_werror_flag=yes | |
3880 ac_cv_prog_cc_g=no | |
3881 CFLAGS="-g" | |
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3883 /* end confdefs.h. */ | |
3884 | |
3885 int | |
3886 main () | |
3887 { | |
3888 | |
3889 ; | |
3890 return 0; | |
3891 } | |
3892 _ACEOF | |
3893 if ac_fn_c_try_compile "$LINENO"; then : | |
3894 ac_cv_prog_cc_g=yes | |
3895 else | |
3896 CFLAGS="" | |
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3898 /* end confdefs.h. */ | |
3899 | |
3900 int | |
3901 main () | |
3902 { | |
3903 | |
3904 ; | |
3905 return 0; | |
3906 } | |
3907 _ACEOF | |
3908 if ac_fn_c_try_compile "$LINENO"; then : | |
3909 | |
3910 else | |
3911 ac_c_werror_flag=$ac_save_c_werror_flag | |
3912 » CFLAGS="-g" | |
3913 » cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3914 /* end confdefs.h. */ | |
3915 | |
3916 int | |
3917 main () | |
3918 { | |
3919 | |
3920 ; | |
3921 return 0; | |
3922 } | |
3923 _ACEOF | |
3924 if ac_fn_c_try_compile "$LINENO"; then : | |
3925 ac_cv_prog_cc_g=yes | |
3926 fi | |
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3928 fi | |
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3930 fi | |
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3932 ac_c_werror_flag=$ac_save_c_werror_flag | |
3933 fi | |
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
3935 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
3936 if test "$ac_test_CFLAGS" = set; then | |
3937 CFLAGS=$ac_save_CFLAGS | |
3938 elif test $ac_cv_prog_cc_g = yes; then | |
3939 if test "$GCC" = yes; then | |
3940 CFLAGS="-g -O2" | |
3941 else | |
3942 CFLAGS="-g" | |
3943 fi | |
3944 else | |
3945 if test "$GCC" = yes; then | |
3946 CFLAGS="-O2" | |
3947 else | |
3948 CFLAGS= | |
3949 fi | |
3950 fi | |
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 | |
3952 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
3953 if ${ac_cv_prog_cc_c89+:} false; then : | |
3954 $as_echo_n "(cached) " >&6 | |
3955 else | |
3956 ac_cv_prog_cc_c89=no | |
3957 ac_save_CC=$CC | |
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
3959 /* end confdefs.h. */ | |
3960 #include <stdarg.h> | |
3961 #include <stdio.h> | |
3962 struct stat; | |
3963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3964 struct buf { int x; }; | |
3965 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3966 static char *e (p, i) | |
3967 char **p; | |
3968 int i; | |
3969 { | |
3970 return p[i]; | |
3971 } | |
3972 static char *f (char * (*g) (char **, int), char **p, ...) | |
3973 { | |
3974 char *s; | |
3975 va_list v; | |
3976 va_start (v,p); | |
3977 s = g (p, va_arg (v,int)); | |
3978 va_end (v); | |
3979 return s; | |
3980 } | |
3981 | |
3982 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3983 function prototypes and stuff, but not '\xHH' hex character constants. | |
3984 These don't provoke an error unfortunately, instead are silently treated | |
3985 as 'x'. The following induces an error, until -std is added to get | |
3986 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
3987 array size at least. It's necessary to write '\x00'==0 to get something | |
3988 that's true only with -std. */ | |
3989 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
3990 | |
3991 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
3992 inside strings and character constants. */ | |
3993 #define FOO(x) 'x' | |
3994 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3995 | |
3996 int test (int i, double x); | |
3997 struct s1 {int (*f) (int a);}; | |
3998 struct s2 {int (*f) (double a);}; | |
3999 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); | |
4000 int argc; | |
4001 char **argv; | |
4002 int | |
4003 main () | |
4004 { | |
4005 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
4006 ; | |
4007 return 0; | |
4008 } | |
4009 _ACEOF | |
4010 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
4011 » -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
4012 do | |
4013 CC="$ac_save_CC $ac_arg" | |
4014 if ac_fn_c_try_compile "$LINENO"; then : | |
4015 ac_cv_prog_cc_c89=$ac_arg | |
4016 fi | |
4017 rm -f core conftest.err conftest.$ac_objext | |
4018 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
4019 done | |
4020 rm -f conftest.$ac_ext | |
4021 CC=$ac_save_CC | |
4022 | |
4023 fi | |
4024 # AC_CACHE_VAL | |
4025 case "x$ac_cv_prog_cc_c89" in | |
4026 x) | |
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
4028 $as_echo "none needed" >&6; } ;; | |
4029 xno) | |
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
4031 $as_echo "unsupported" >&6; } ;; | |
4032 *) | |
4033 CC="$CC $ac_cv_prog_cc_c89" | |
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
4035 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
4036 esac | |
4037 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
4038 | |
4039 fi | |
4040 | |
4041 ac_ext=c | 3239 ac_ext=c |
4042 ac_cpp='$CPP $CPPFLAGS' | 3240 ac_cpp='$CPP $CPPFLAGS' |
4043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
4045 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3243 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4046 | 3244 |
| 3245 |
| 3246 |
4047 ac_ext=c | 3247 ac_ext=c |
4048 ac_cpp='$CPP $CPPFLAGS' | 3248 ac_cpp='$CPP $CPPFLAGS' |
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and
-o together" >&5 | 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
4053 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } | 3253 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
4054 if ${am_cv_prog_cc_c_o+:} false; then : | 3254 # On Suns, sometimes $CPP names a directory. |
| 3255 if test -n "$CPP" && test -d "$CPP"; then |
| 3256 CPP= |
| 3257 fi |
| 3258 if test -z "$CPP"; then |
| 3259 if ${ac_cv_prog_CPP+:} false; then : |
4055 $as_echo_n "(cached) " >&6 | 3260 $as_echo_n "(cached) " >&6 |
4056 else | 3261 else |
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3262 # Double quotes because CPP needs to be expanded |
4058 /* end confdefs.h. */ | 3263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 3264 do |
| 3265 ac_preproc_ok=false |
| 3266 for ac_c_preproc_warn_flag in '' yes |
| 3267 do |
| 3268 # Use a header file that comes with gcc, so configuring glibc |
| 3269 # with a fresh cross-compiler works. |
| 3270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3271 # <limits.h> exists even on freestanding compilers. |
| 3272 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 3273 # not just through cpp. "Syntax error" is here to catch this case. |
| 3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3275 /* end confdefs.h. */ |
| 3276 #ifdef __STDC__ |
| 3277 # include <limits.h> |
| 3278 #else |
| 3279 # include <assert.h> |
| 3280 #endif |
| 3281 » » Syntax error |
| 3282 _ACEOF |
| 3283 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3284 |
| 3285 else |
| 3286 # Broken: fails on valid input. |
| 3287 continue |
| 3288 fi |
| 3289 rm -f conftest.err conftest.i conftest.$ac_ext |
| 3290 |
| 3291 # OK, works on sane cases. Now check whether nonexistent headers |
| 3292 # can be detected and how. |
| 3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3294 /* end confdefs.h. */ |
| 3295 #include <ac_nonexistent.h> |
| 3296 _ACEOF |
| 3297 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3298 # Broken: success on invalid input. |
| 3299 continue |
| 3300 else |
| 3301 # Passes both tests. |
| 3302 ac_preproc_ok=: |
| 3303 break |
| 3304 fi |
| 3305 rm -f conftest.err conftest.i conftest.$ac_ext |
| 3306 |
| 3307 done |
| 3308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3309 rm -f conftest.i conftest.err conftest.$ac_ext |
| 3310 if $ac_preproc_ok; then : |
| 3311 break |
| 3312 fi |
| 3313 |
| 3314 done |
| 3315 ac_cv_prog_CPP=$CPP |
| 3316 |
| 3317 fi |
| 3318 CPP=$ac_cv_prog_CPP |
| 3319 else |
| 3320 ac_cv_prog_CPP=$CPP |
| 3321 fi |
| 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 3323 $as_echo "$CPP" >&6; } |
| 3324 ac_preproc_ok=false |
| 3325 for ac_c_preproc_warn_flag in '' yes |
| 3326 do |
| 3327 # Use a header file that comes with gcc, so configuring glibc |
| 3328 # with a fresh cross-compiler works. |
| 3329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 3330 # <limits.h> exists even on freestanding compilers. |
| 3331 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 3332 # not just through cpp. "Syntax error" is here to catch this case. |
| 3333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3334 /* end confdefs.h. */ |
| 3335 #ifdef __STDC__ |
| 3336 # include <limits.h> |
| 3337 #else |
| 3338 # include <assert.h> |
| 3339 #endif |
| 3340 » » Syntax error |
| 3341 _ACEOF |
| 3342 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3343 |
| 3344 else |
| 3345 # Broken: fails on valid input. |
| 3346 continue |
| 3347 fi |
| 3348 rm -f conftest.err conftest.i conftest.$ac_ext |
| 3349 |
| 3350 # OK, works on sane cases. Now check whether nonexistent headers |
| 3351 # can be detected and how. |
| 3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3353 /* end confdefs.h. */ |
| 3354 #include <ac_nonexistent.h> |
| 3355 _ACEOF |
| 3356 if ac_fn_c_try_cpp "$LINENO"; then : |
| 3357 # Broken: success on invalid input. |
| 3358 continue |
| 3359 else |
| 3360 # Passes both tests. |
| 3361 ac_preproc_ok=: |
| 3362 break |
| 3363 fi |
| 3364 rm -f conftest.err conftest.i conftest.$ac_ext |
| 3365 |
| 3366 done |
| 3367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 3368 rm -f conftest.i conftest.err conftest.$ac_ext |
| 3369 if $ac_preproc_ok; then : |
| 3370 |
| 3371 else |
| 3372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 3374 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 3375 See \`config.log' for more details" "$LINENO" 5; } |
| 3376 fi |
| 3377 |
| 3378 ac_ext=c |
| 3379 ac_cpp='$CPP $CPPFLAGS' |
| 3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3383 |
| 3384 |
| 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
es and -e" >&5 |
| 3386 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 3387 if ${ac_cv_path_GREP+:} false; then : |
| 3388 $as_echo_n "(cached) " >&6 |
| 3389 else |
| 3390 if test -z "$GREP"; then |
| 3391 ac_path_GREP_found=false |
| 3392 # Loop through the user's path and test for each of PROGNAME-LIST |
| 3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3395 do |
| 3396 IFS=$as_save_IFS |
| 3397 test -z "$as_dir" && as_dir=. |
| 3398 for ac_prog in grep ggrep; do |
| 3399 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3400 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3401 as_fn_executable_p "$ac_path_GREP" || continue |
| 3402 # Check for GNU ac_path_GREP and select it if it is found. |
| 3403 # Check for GNU $ac_path_GREP |
| 3404 case `"$ac_path_GREP" --version 2>&1` in |
| 3405 *GNU*) |
| 3406 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 3407 *) |
| 3408 ac_count=0 |
| 3409 $as_echo_n 0123456789 >"conftest.in" |
| 3410 while : |
| 3411 do |
| 3412 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3413 mv "conftest.tmp" "conftest.in" |
| 3414 cp "conftest.in" "conftest.nl" |
| 3415 $as_echo 'GREP' >> "conftest.nl" |
| 3416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break |
| 3417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3418 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 3419 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 3420 # Best one so far, save it but keep looking for a better one |
| 3421 ac_cv_path_GREP="$ac_path_GREP" |
| 3422 ac_path_GREP_max=$ac_count |
| 3423 fi |
| 3424 # 10*(2^10) chars as input seems more than enough |
| 3425 test $ac_count -gt 10 && break |
| 3426 done |
| 3427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3428 esac |
| 3429 |
| 3430 $ac_path_GREP_found && break 3 |
| 3431 done |
| 3432 done |
| 3433 done |
| 3434 IFS=$as_save_IFS |
| 3435 if test -z "$ac_cv_path_GREP"; then |
| 3436 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us
r/xpg4/bin" "$LINENO" 5 |
| 3437 fi |
| 3438 else |
| 3439 ac_cv_path_GREP=$GREP |
| 3440 fi |
| 3441 |
| 3442 fi |
| 3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 3444 $as_echo "$ac_cv_path_GREP" >&6; } |
| 3445 GREP="$ac_cv_path_GREP" |
| 3446 |
| 3447 |
| 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 3449 $as_echo_n "checking for egrep... " >&6; } |
| 3450 if ${ac_cv_path_EGREP+:} false; then : |
| 3451 $as_echo_n "(cached) " >&6 |
| 3452 else |
| 3453 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 3454 then ac_cv_path_EGREP="$GREP -E" |
| 3455 else |
| 3456 if test -z "$EGREP"; then |
| 3457 ac_path_EGREP_found=false |
| 3458 # Loop through the user's path and test for each of PROGNAME-LIST |
| 3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3461 do |
| 3462 IFS=$as_save_IFS |
| 3463 test -z "$as_dir" && as_dir=. |
| 3464 for ac_prog in egrep; do |
| 3465 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3466 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3467 as_fn_executable_p "$ac_path_EGREP" || continue |
| 3468 # Check for GNU ac_path_EGREP and select it if it is found. |
| 3469 # Check for GNU $ac_path_EGREP |
| 3470 case `"$ac_path_EGREP" --version 2>&1` in |
| 3471 *GNU*) |
| 3472 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 3473 *) |
| 3474 ac_count=0 |
| 3475 $as_echo_n 0123456789 >"conftest.in" |
| 3476 while : |
| 3477 do |
| 3478 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3479 mv "conftest.tmp" "conftest.in" |
| 3480 cp "conftest.in" "conftest.nl" |
| 3481 $as_echo 'EGREP' >> "conftest.nl" |
| 3482 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak |
| 3483 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3484 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 3485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 3486 # Best one so far, save it but keep looking for a better one |
| 3487 ac_cv_path_EGREP="$ac_path_EGREP" |
| 3488 ac_path_EGREP_max=$ac_count |
| 3489 fi |
| 3490 # 10*(2^10) chars as input seems more than enough |
| 3491 test $ac_count -gt 10 && break |
| 3492 done |
| 3493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3494 esac |
| 3495 |
| 3496 $ac_path_EGREP_found && break 3 |
| 3497 done |
| 3498 done |
| 3499 done |
| 3500 IFS=$as_save_IFS |
| 3501 if test -z "$ac_cv_path_EGREP"; then |
| 3502 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 |
| 3503 fi |
| 3504 else |
| 3505 ac_cv_path_EGREP=$EGREP |
| 3506 fi |
| 3507 |
| 3508 fi |
| 3509 fi |
| 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 3511 $as_echo "$ac_cv_path_EGREP" >&6; } |
| 3512 EGREP="$ac_cv_path_EGREP" |
| 3513 |
| 3514 |
| 3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 3516 $as_echo_n "checking for ANSI C header files... " >&6; } |
| 3517 if ${ac_cv_header_stdc+:} false; then : |
| 3518 $as_echo_n "(cached) " >&6 |
| 3519 else |
| 3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3521 /* end confdefs.h. */ |
| 3522 #include <stdlib.h> |
| 3523 #include <stdarg.h> |
| 3524 #include <string.h> |
| 3525 #include <float.h> |
4059 | 3526 |
4060 int | 3527 int |
4061 main () | 3528 main () |
4062 { | 3529 { |
| 3530 |
| 3531 ; |
| 3532 return 0; |
| 3533 } |
| 3534 _ACEOF |
| 3535 if ac_fn_c_try_compile "$LINENO"; then : |
| 3536 ac_cv_header_stdc=yes |
| 3537 else |
| 3538 ac_cv_header_stdc=no |
| 3539 fi |
| 3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3541 |
| 3542 if test $ac_cv_header_stdc = yes; then |
| 3543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3545 /* end confdefs.h. */ |
| 3546 #include <string.h> |
| 3547 |
| 3548 _ACEOF |
| 3549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3550 $EGREP "memchr" >/dev/null 2>&1; then : |
| 3551 |
| 3552 else |
| 3553 ac_cv_header_stdc=no |
| 3554 fi |
| 3555 rm -f conftest* |
| 3556 |
| 3557 fi |
| 3558 |
| 3559 if test $ac_cv_header_stdc = yes; then |
| 3560 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3562 /* end confdefs.h. */ |
| 3563 #include <stdlib.h> |
| 3564 |
| 3565 _ACEOF |
| 3566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3567 $EGREP "free" >/dev/null 2>&1; then : |
| 3568 |
| 3569 else |
| 3570 ac_cv_header_stdc=no |
| 3571 fi |
| 3572 rm -f conftest* |
| 3573 |
| 3574 fi |
| 3575 |
| 3576 if test $ac_cv_header_stdc = yes; then |
| 3577 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3578 if test "$cross_compiling" = yes; then : |
| 3579 : |
| 3580 else |
| 3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3582 /* end confdefs.h. */ |
| 3583 #include <ctype.h> |
| 3584 #include <stdlib.h> |
| 3585 #if ((' ' & 0x0FF) == 0x020) |
| 3586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3588 #else |
| 3589 # define ISLOWER(c) \ |
| 3590 (('a' <= (c) && (c) <= 'i') \ |
| 3591 || ('j' <= (c) && (c) <= 'r') \ |
| 3592 || ('s' <= (c) && (c) <= 'z')) |
| 3593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 3594 #endif |
| 3595 |
| 3596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3597 int |
| 3598 main () |
| 3599 { |
| 3600 int i; |
| 3601 for (i = 0; i < 256; i++) |
| 3602 if (XOR (islower (i), ISLOWER (i)) |
| 3603 || toupper (i) != TOUPPER (i)) |
| 3604 return 2; |
| 3605 return 0; |
| 3606 } |
| 3607 _ACEOF |
| 3608 if ac_fn_c_try_run "$LINENO"; then : |
| 3609 |
| 3610 else |
| 3611 ac_cv_header_stdc=no |
| 3612 fi |
| 3613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 3614 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 3615 fi |
| 3616 |
| 3617 fi |
| 3618 fi |
| 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 3620 $as_echo "$ac_cv_header_stdc" >&6; } |
| 3621 if test $ac_cv_header_stdc = yes; then |
| 3622 |
| 3623 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 3624 |
| 3625 fi |
| 3626 |
| 3627 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 3628 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 3629 inttypes.h stdint.h unistd.h |
| 3630 do : |
| 3631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 3632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default |
| 3633 " |
| 3634 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 3635 cat >>confdefs.h <<_ACEOF |
| 3636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 3637 _ACEOF |
| 3638 |
| 3639 fi |
| 3640 |
| 3641 done |
| 3642 |
| 3643 |
| 3644 |
| 3645 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
| 3646 if test "x$ac_cv_header_minix_config_h" = xyes; then : |
| 3647 MINIX=yes |
| 3648 else |
| 3649 MINIX= |
| 3650 fi |
| 3651 |
| 3652 |
| 3653 if test "$MINIX" = yes; then |
| 3654 |
| 3655 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 3656 |
| 3657 |
| 3658 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 3659 |
| 3660 |
| 3661 $as_echo "#define _MINIX 1" >>confdefs.h |
| 3662 |
| 3663 fi |
| 3664 |
| 3665 |
| 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
| 3667 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 3668 if ${ac_cv_safe_to_define___extensions__+:} false; then : |
| 3669 $as_echo_n "(cached) " >&6 |
| 3670 else |
| 3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3672 /* end confdefs.h. */ |
| 3673 |
| 3674 # define __EXTENSIONS__ 1 |
| 3675 $ac_includes_default |
| 3676 int |
| 3677 main () |
| 3678 { |
4063 | 3679 |
4064 ; | 3680 ; |
4065 return 0; | 3681 return 0; |
4066 } | 3682 } |
4067 _ACEOF | 3683 _ACEOF |
4068 # Make sure it works both with $CC and with simple cc. | 3684 if ac_fn_c_try_compile "$LINENO"; then : |
4069 # Following AC_PROG_CC_C_O, we do the test twice because some | 3685 ac_cv_safe_to_define___extensions__=yes |
4070 # compilers refuse to overwrite an existing .o file with -o, | 3686 else |
4071 # though they will create one. | 3687 ac_cv_safe_to_define___extensions__=no |
4072 am_cv_prog_cc_c_o=yes | 3688 fi |
4073 for am_i in 1 2; do | 3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4074 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext"
>&5 | 3690 fi |
4075 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 | 3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
4076 ac_status=$? | 3692 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3693 test $ac_cv_safe_to_define___extensions__ = yes && |
4078 (exit $ac_status); } \ | 3694 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
4079 && test -f conftest2.$ac_objext; then | 3695 |
4080 : OK | 3696 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
4081 else | 3697 |
4082 am_cv_prog_cc_c_o=no | 3698 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
4083 break | 3699 |
4084 fi | 3700 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 3701 |
| 3702 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 3703 |
| 3704 |
| 3705 |
| 3706 LIBXSLT_MAJOR_VERSION=1 |
| 3707 LIBXSLT_MINOR_VERSION=1 |
| 3708 LIBXSLT_MICRO_VERSION=28 |
| 3709 PACKAGE=libxslt |
| 3710 LIBEXSLT_MAJOR_VERSION=0 |
| 3711 LIBEXSLT_MINOR_VERSION=8 |
| 3712 LIBEXSLT_MICRO_VERSION=17 |
| 3713 LIBXML_REQUIRED_VERSION=2.6.27 |
| 3714 |
| 3715 |
| 3716 LIBXSLT_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION.$LIBXSLT_MICRO_VER
SION |
| 3717 LIBXSLT_VERSION_INFO=`expr $LIBXSLT_MAJOR_VERSION + $LIBXSLT_MINOR_VERSION`:$LIB
XSLT_MICRO_VERSION:$LIBXSLT_MINOR_VERSION |
| 3718 |
| 3719 LIBXSLT_VERSION_NUMBER=`expr $LIBXSLT_MAJOR_VERSION \* 10000 + $LIBXSLT_MINOR_VE
RSION \* 100 + $LIBXSLT_MICRO_VERSION` |
| 3720 LIBXSLT_MAJOR_MINOR_VERSION=$LIBXSLT_MAJOR_VERSION.$LIBXSLT_MINOR_VERSION |
| 3721 |
| 3722 if test -f CVS/Entries; then |
| 3723 extra=`grep ChangeLog CVS/Entries | grep -v LIBXSLT | sed -e s\%/ChangeLog/1\.
%% -e s\%/.*$%%` |
| 3724 echo extra=$extra |
| 3725 if test "$extra" != "" |
| 3726 then |
| 3727 LIBXSLT_VERSION_EXTRA="-CVS$extra" |
| 3728 fi |
| 3729 else if test -d .svn ; then |
| 3730 extra=`svn info | grep Revision | sed 's+Revision: ++'` |
| 3731 echo extra=$extra |
| 3732 if test "$extra" != "" |
| 3733 then |
| 3734 LIBXSLT_VERSION_EXTRA="-SVN$extra" |
| 3735 fi |
| 3736 else if test -d .git ; then |
| 3737 extra=`git describe | sed 's+LIBXSLT[0-9.]*-++'` |
| 3738 echo extra=$extra |
| 3739 if test "$extra" != "" |
| 3740 then |
| 3741 LIBXSLT_VERSION_EXTRA="-GIT$extra" |
| 3742 fi |
| 3743 fi |
| 3744 fi |
| 3745 fi |
| 3746 |
| 3747 |
| 3748 |
| 3749 |
| 3750 |
| 3751 |
| 3752 |
| 3753 |
| 3754 |
| 3755 |
| 3756 |
| 3757 LIBEXSLT_VERSION=$LIBEXSLT_MAJOR_VERSION.$LIBEXSLT_MINOR_VERSION.$LIBEXSLT_MICRO
_VERSION |
| 3758 LIBEXSLT_VERSION_INFO=`expr $LIBEXSLT_MAJOR_VERSION + $LIBEXSLT_MINOR_VERSION`:$
LIBEXSLT_MICRO_VERSION:$LIBEXSLT_MINOR_VERSION |
| 3759 |
| 3760 LIBEXSLT_VERSION_NUMBER=`expr $LIBEXSLT_MAJOR_VERSION \* 10000 + $LIBEXSLT_MINOR
_VERSION \* 100 + $LIBEXSLT_MICRO_VERSION` |
| 3761 |
| 3762 if test -f CVS/Entries; then |
| 3763 LIBEXSLT_VERSION_EXTRA=-CVS`grep ChangeLog CVS/Entries | sed -e s\%/ChangeLog/
1\.%% -e s\%/.*$%%` |
| 3764 fi |
| 3765 |
| 3766 |
| 3767 |
| 3768 |
| 3769 |
| 3770 |
| 3771 |
| 3772 |
| 3773 |
| 3774 VERSION=${LIBXSLT_VERSION} |
| 3775 |
| 3776 am__api_version='1.14' |
| 3777 |
| 3778 # Find a good install program. We prefer a C program (faster), |
| 3779 # so one script is as good as another. But avoid the broken or |
| 3780 # incompatible versions: |
| 3781 # SysV /etc/install, /usr/sbin/install |
| 3782 # SunOS /usr/etc/install |
| 3783 # IRIX /sbin/install |
| 3784 # AIX /bin/install |
| 3785 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3789 # OS/2's system install, which has a completely different semantic |
| 3790 # ./install, which can be erroneously created by make from ./install.sh. |
| 3791 # Reject install programs that cannot install multiple files. |
| 3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 3793 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 3794 if test -z "$INSTALL"; then |
| 3795 if ${ac_cv_path_install+:} false; then : |
| 3796 $as_echo_n "(cached) " >&6 |
| 3797 else |
| 3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3799 for as_dir in $PATH |
| 3800 do |
| 3801 IFS=$as_save_IFS |
| 3802 test -z "$as_dir" && as_dir=. |
| 3803 # Account for people who put trailing slashes in PATH elements. |
| 3804 case $as_dir/ in #(( |
| 3805 ./ | .// | /[cC]/* | \ |
| 3806 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3807 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3808 /usr/ucb/* ) ;; |
| 3809 *) |
| 3810 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3811 # Don't use installbsd from OSF since it installs stuff as root |
| 3812 # by default. |
| 3813 for ac_prog in ginstall scoinst install; do |
| 3814 for ac_exec_ext in '' $ac_executable_extensions; do |
| 3815 » if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 3816 » if test $ac_prog = install && |
| 3817 » grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3818 » # AIX install. It has an incompatible calling convention. |
| 3819 » : |
| 3820 » elif test $ac_prog = install && |
| 3821 » grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 3822 » # program-specific install script used by HP pwplus--don't use. |
| 3823 » : |
| 3824 » else |
| 3825 » rm -rf conftest.one conftest.two conftest.dir |
| 3826 » echo one > conftest.one |
| 3827 » echo two > conftest.two |
| 3828 » mkdir conftest.dir |
| 3829 » if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 3830 » test -s conftest.one && test -s conftest.two && |
| 3831 » test -s conftest.dir/conftest.one && |
| 3832 » test -s conftest.dir/conftest.two |
| 3833 » then |
| 3834 » ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 3835 » break 3 |
| 3836 » fi |
| 3837 » fi |
| 3838 » fi |
| 3839 done |
| 3840 done |
| 3841 ;; |
| 3842 esac |
| 3843 |
4085 done | 3844 done |
4086 rm -f core conftest* | 3845 IFS=$as_save_IFS |
4087 unset am_i | 3846 |
4088 fi | 3847 rm -rf conftest.one conftest.two conftest.dir |
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 | 3848 |
4090 $as_echo "$am_cv_prog_cc_c_o" >&6; } | 3849 fi |
4091 if test "$am_cv_prog_cc_c_o" != yes; then | 3850 if test "${ac_cv_path_install+set}" = set; then |
4092 # Losing compiler, so override with the script. | 3851 INSTALL=$ac_cv_path_install |
4093 # FIXME: It is wrong to rewrite CC. | 3852 else |
4094 # But if we don't then we get into trouble of one sort or another. | 3853 # As a last resort, use the slow shell script. Don't cache a |
4095 # A longer-term fix would be to have automake use am__CC in this case, | 3854 # value for INSTALL within a source directory, because that will |
4096 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 3855 # break other packages using the cache if that directory is |
4097 CC="$am_aux_dir/compile $CC" | 3856 # removed, or if the value is a relative name. |
4098 fi | 3857 INSTALL=$ac_install_sh |
4099 ac_ext=c | 3858 fi |
4100 ac_cpp='$CPP $CPPFLAGS' | 3859 fi |
4101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
4102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3861 $as_echo "$INSTALL" >&6; } |
4103 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3862 |
4104 | 3863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4105 DEPDIR="${am__leading_dot}deps" | 3864 # It thinks the first close brace ends the variable substitution. |
4106 | 3865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
4107 ac_config_commands="$ac_config_commands depfiles" | 3866 |
4108 | 3867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
4109 | 3868 |
4110 am_make=${MAKE-make} | 3869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4111 cat > confinc << 'END' | 3870 |
4112 am__doit: | 3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 |
4113 » @echo this is the am__doit target | 3872 $as_echo_n "checking whether build environment is sane... " >&6; } |
4114 .PHONY: am__doit | 3873 # Reject unsafe characters in $srcdir or the absolute working directory |
4115 END | 3874 # name. Accept space and tab only in the latter. |
4116 # If we don't find an include directive, just comment out the code. | 3875 am_lf=' |
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 | 3876 ' |
4118 $as_echo_n "checking for style of include used by $am_make... " >&6; } | 3877 case `pwd` in |
4119 am__include="#" | 3878 *[\\\"\#\$\&\'\`$am_lf]*) |
4120 am__quote= | 3879 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
4121 _am_result=none | |
4122 # First try GNU make style include. | |
4123 echo "include confinc" > confmf | |
4124 # Ignore all kinds of additional output from 'make'. | |
4125 case `$am_make -s -f confmf 2> /dev/null` in #( | |
4126 *the\ am__doit\ target*) | |
4127 am__include=include | |
4128 am__quote= | |
4129 _am_result=GNU | |
4130 ;; | |
4131 esac | 3880 esac |
4132 # Now try BSD make style include. | 3881 case $srcdir in |
4133 if test "$am__include" = "#"; then | 3882 *[\\\"\#\$\&\'\`$am_lf\ \» ]*) |
4134 echo '.include "confinc"' > confmf | 3883 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
4135 case `$am_make -s -f confmf 2> /dev/null` in #( | 3884 esac |
4136 *the\ am__doit\ target*) | 3885 |
4137 am__include=.include | 3886 # Do 'set' in a subshell so we don't clobber the current shell's |
4138 am__quote="\"" | 3887 # arguments. Must try -L first in case configure is actually a |
4139 _am_result=BSD | 3888 # symlink; some systems play weird games with the mod time of symlinks |
4140 ;; | 3889 # (eg FreeBSD returns the mod time of the symlink's containing |
4141 esac | 3890 # directory). |
4142 fi | 3891 if ( |
4143 | 3892 am_has_slept=no |
4144 | 3893 for am_try in 1 2; do |
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | 3894 echo "timestamp, slept: $am_has_slept" > conftest.file |
4146 $as_echo "$_am_result" >&6; } | 3895 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
4147 rm -f confinc confmf | 3896 if test "$*" = "X"; then |
4148 | 3897 » # -L didn't work. |
4149 # Check whether --enable-dependency-tracking was given. | 3898 » set X `ls -t "$srcdir/configure" conftest.file` |
4150 if test "${enable_dependency_tracking+set}" = set; then : | 3899 fi |
4151 enableval=$enable_dependency_tracking; | 3900 if test "$*" != "X $srcdir/configure conftest.file" \ |
4152 fi | 3901 » && test "$*" != "X conftest.file $srcdir/configure"; then |
4153 | 3902 |
4154 if test "x$enable_dependency_tracking" != xno; then | 3903 » # If neither matched, then we have a broken ls. This can happen |
4155 am_depcomp="$ac_aux_dir/depcomp" | 3904 » # if, for instance, CONFIG_SHELL is bash and it inherits a |
4156 AMDEPBACKSLASH='\' | 3905 » # broken ls alias from the environment. This has actually |
4157 am__nodep='_no' | 3906 » # happened. Such a system could not be considered "sane". |
4158 fi | 3907 » as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
4159 if test "x$enable_dependency_tracking" != xno; then | 3908 alias in your environment" "$LINENO" 5 |
4160 AMDEP_TRUE= | 3909 fi |
4161 AMDEP_FALSE='#' | 3910 if test "$2" = conftest.file || test $am_try -eq 2; then |
4162 else | 3911 break |
4163 AMDEP_TRUE='#' | 3912 fi |
4164 AMDEP_FALSE= | 3913 # Just in case. |
4165 fi | 3914 sleep 1 |
4166 | 3915 am_has_slept=yes |
4167 | 3916 done |
4168 | 3917 test "$2" = conftest.file |
4169 depcc="$CC" am_compiler_list= | 3918 ) |
4170 | 3919 then |
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | 3920 # Ok. |
4172 $as_echo_n "checking dependency style of $depcc... " >&6; } | 3921 : |
4173 if ${am_cv_CC_dependencies_compiler_type+:} false; then : | 3922 else |
4174 $as_echo_n "(cached) " >&6 | 3923 as_fn_error $? "newly created file is older than distributed files! |
4175 else | 3924 Check your system clock" "$LINENO" 5 |
4176 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 3925 fi |
4177 # We make a subdir and do the tests there. Otherwise we can end up | 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4178 # making bogus files that we don't know about and never remove. For | |
4179 # instance it was reported that on HP-UX the gcc test will end up | |
4180 # making a dummy file named 'D' -- because '-MD' means "put the output | |
4181 # in D". | |
4182 rm -rf conftest.dir | |
4183 mkdir conftest.dir | |
4184 # Copy depcomp to subdir because otherwise we won't find it if we're | |
4185 # using a relative directory. | |
4186 cp "$am_depcomp" conftest.dir | |
4187 cd conftest.dir | |
4188 # We will build objects and dependencies in a subdirectory because | |
4189 # it helps to detect inapplicable dependency modes. For instance | |
4190 # both Tru64's cc and ICC support -MD to output dependencies as a | |
4191 # side effect of compilation, but ICC will put the dependencies in | |
4192 # the current directory while Tru64 will put them in the object | |
4193 # directory. | |
4194 mkdir sub | |
4195 | |
4196 am_cv_CC_dependencies_compiler_type=none | |
4197 if test "$am_compiler_list" = ""; then | |
4198 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
4199 fi | |
4200 am__universal=false | |
4201 case " $depcc " in #( | |
4202 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
4203 esac | |
4204 | |
4205 for depmode in $am_compiler_list; do | |
4206 # Setup a source with many dependencies, because some compilers | |
4207 # like to wrap large dependency lists on column 80 (with \), and | |
4208 # we should not choose a depcomp mode which is confused by this. | |
4209 # | |
4210 # We need to recreate these files for each test, as the compiler may | |
4211 # overwrite some of them when testing with obscure command lines. | |
4212 # This happens at least with the AIX C compiler. | |
4213 : > sub/conftest.c | |
4214 for i in 1 2 3 4 5 6; do | |
4215 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
4216 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
4217 # Solaris 10 /bin/sh. | |
4218 echo '/* dummy */' > sub/conftst$i.h | |
4219 done | |
4220 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
4221 | |
4222 # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
4223 # mode. It turns out that the SunPro C++ compiler does not properly | |
4224 # handle '-M -o', and we need to detect this. Also, some Intel | |
4225 # versions had trouble with output in subdirs. | |
4226 am__obj=sub/conftest.${OBJEXT-o} | |
4227 am__minus_obj="-o $am__obj" | |
4228 case $depmode in | |
4229 gcc) | |
4230 # This depmode causes a compiler race in universal mode. | |
4231 test "$am__universal" = false || continue | |
4232 ;; | |
4233 nosideeffect) | |
4234 # After this tag, mechanisms are not by side-effect, so they'll | |
4235 # only be used when explicitly requested. | |
4236 if test "x$enable_dependency_tracking" = xyes; then | |
4237 » continue | |
4238 else | |
4239 » break | |
4240 fi | |
4241 ;; | |
4242 msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
4243 # This compiler won't grok '-c -o', but also, the minuso test has | |
4244 # not run yet. These depmodes are late enough in the game, and | |
4245 # so weak that their functioning should not be impacted. | |
4246 am__obj=conftest.${OBJEXT-o} | |
4247 am__minus_obj= | |
4248 ;; | |
4249 none) break ;; | |
4250 esac | |
4251 if depmode=$depmode \ | |
4252 source=sub/conftest.c object=$am__obj \ | |
4253 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
4254 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
4255 >/dev/null 2>conftest.err && | |
4256 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
4257 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
4258 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
4259 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
4260 # icc doesn't choke on unknown options, it will just issue warnings | |
4261 # or remarks (even with -Werror). So we grep stderr for any message | |
4262 # that says an option was ignored or not supported. | |
4263 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
4264 # icc: Command line warning: ignoring option '-M'; no argument required | |
4265 # The diagnosis changed in icc 8.0: | |
4266 # icc: Command line remark: option '-MP' not supported | |
4267 if (grep 'ignoring option' conftest.err || | |
4268 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
4269 am_cv_CC_dependencies_compiler_type=$depmode | |
4270 break | |
4271 fi | |
4272 fi | |
4273 done | |
4274 | |
4275 cd .. | |
4276 rm -rf conftest.dir | |
4277 else | |
4278 am_cv_CC_dependencies_compiler_type=none | |
4279 fi | |
4280 | |
4281 fi | |
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 | |
4283 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
4284 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
4285 | |
4286 if | |
4287 test "x$enable_dependency_tracking" != xno \ | |
4288 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
4289 am__fastdepCC_TRUE= | |
4290 am__fastdepCC_FALSE='#' | |
4291 else | |
4292 am__fastdepCC_TRUE='#' | |
4293 am__fastdepCC_FALSE= | |
4294 fi | |
4295 | |
4296 | |
4297 | |
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
4299 $as_echo_n "checking whether ln -s works... " >&6; } | |
4300 LN_S=$as_ln_s | |
4301 if test "$LN_S" = "ln -s"; then | |
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
4303 $as_echo "yes" >&6; } | 3927 $as_echo "yes" >&6; } |
4304 else | 3928 # If we didn't sleep, we still need to ensure time stamps of config.status and |
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 3929 # generated files are strictly newer. |
4306 $as_echo "no, using $LN_S" >&6; } | 3930 am_sleep_pid= |
4307 fi | 3931 if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
4308 | 3932 ( sleep 1 ) & |
4309 | 3933 am_sleep_pid=$! |
4310 ac_ext=c | 3934 fi |
4311 ac_cpp='$CPP $CPPFLAGS' | 3935 |
4312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3936 rm -f conftest.file |
4313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3937 |
4314 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3938 test "$program_prefix" != NONE && |
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3939 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
4316 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3940 # Use a double $ so make ignores it. |
4317 # On Suns, sometimes $CPP names a directory. | 3941 test "$program_suffix" != NONE && |
4318 if test -n "$CPP" && test -d "$CPP"; then | 3942 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
4319 CPP= | 3943 # Double any \ or $. |
4320 fi | 3944 # By default was `s,x,x', remove it if useless. |
4321 if test -z "$CPP"; then | 3945 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
4322 if ${ac_cv_prog_CPP+:} false; then : | 3946 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
4323 $as_echo_n "(cached) " >&6 | 3947 |
4324 else | 3948 if test x"${MISSING+set}" != xset; then |
4325 # Double quotes because CPP needs to be expanded | 3949 case $am_aux_dir in |
4326 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3950 *\ * | *\» *) |
4327 do | 3951 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
4328 ac_preproc_ok=false | 3952 *) |
4329 for ac_c_preproc_warn_flag in '' yes | 3953 MISSING="\${SHELL} $am_aux_dir/missing" ;; |
4330 do | 3954 esac |
4331 # Use a header file that comes with gcc, so configuring glibc | 3955 fi |
4332 # with a fresh cross-compiler works. | 3956 # Use eval to expand $SHELL |
4333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3957 if eval "$MISSING --is-lightweight"; then |
4334 # <limits.h> exists even on freestanding compilers. | 3958 am_missing_run="$MISSING " |
4335 # On the NeXT, cc -E runs the code through the compiler's parser, | 3959 else |
4336 # not just through cpp. "Syntax error" is here to catch this case. | 3960 am_missing_run= |
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old
or missing" >&5 |
4338 /* end confdefs.h. */ | 3962 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
4339 #ifdef __STDC__ | 3963 fi |
4340 # include <limits.h> | 3964 |
4341 #else | 3965 if test x"${install_sh}" != xset; then |
4342 # include <assert.h> | 3966 case $am_aux_dir in |
4343 #endif | 3967 *\ * | *\» *) |
4344 » » Syntax error | 3968 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
4345 _ACEOF | 3969 *) |
4346 if ac_fn_c_try_cpp "$LINENO"; then : | 3970 install_sh="\${SHELL} $am_aux_dir/install-sh" |
4347 | 3971 esac |
4348 else | 3972 fi |
4349 # Broken: fails on valid input. | 3973 |
4350 continue | 3974 # Installed binaries are usually stripped using 'strip' when the user |
4351 fi | 3975 # run "make install-strip". However 'strip' might not be the right |
4352 rm -f conftest.err conftest.i conftest.$ac_ext | 3976 # tool to use in cross-compilation environments, therefore Automake |
4353 | 3977 # will honor the 'STRIP' environment variable to overrule this program. |
4354 # OK, works on sane cases. Now check whether nonexistent headers | 3978 if test "$cross_compiling" != no; then |
4355 # can be detected and how. | 3979 if test -n "$ac_tool_prefix"; then |
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3980 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. |
4357 /* end confdefs.h. */ | 3981 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
4358 #include <ac_nonexistent.h> | |
4359 _ACEOF | |
4360 if ac_fn_c_try_cpp "$LINENO"; then : | |
4361 # Broken: success on invalid input. | |
4362 continue | |
4363 else | |
4364 # Passes both tests. | |
4365 ac_preproc_ok=: | |
4366 break | |
4367 fi | |
4368 rm -f conftest.err conftest.i conftest.$ac_ext | |
4369 | |
4370 done | |
4371 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4372 rm -f conftest.i conftest.err conftest.$ac_ext | |
4373 if $ac_preproc_ok; then : | |
4374 break | |
4375 fi | |
4376 | |
4377 done | |
4378 ac_cv_prog_CPP=$CPP | |
4379 | |
4380 fi | |
4381 CPP=$ac_cv_prog_CPP | |
4382 else | |
4383 ac_cv_prog_CPP=$CPP | |
4384 fi | |
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
4386 $as_echo "$CPP" >&6; } | |
4387 ac_preproc_ok=false | |
4388 for ac_c_preproc_warn_flag in '' yes | |
4389 do | |
4390 # Use a header file that comes with gcc, so configuring glibc | |
4391 # with a fresh cross-compiler works. | |
4392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4393 # <limits.h> exists even on freestanding compilers. | |
4394 # On the NeXT, cc -E runs the code through the compiler's parser, | |
4395 # not just through cpp. "Syntax error" is here to catch this case. | |
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4397 /* end confdefs.h. */ | |
4398 #ifdef __STDC__ | |
4399 # include <limits.h> | |
4400 #else | |
4401 # include <assert.h> | |
4402 #endif | |
4403 » » Syntax error | |
4404 _ACEOF | |
4405 if ac_fn_c_try_cpp "$LINENO"; then : | |
4406 | |
4407 else | |
4408 # Broken: fails on valid input. | |
4409 continue | |
4410 fi | |
4411 rm -f conftest.err conftest.i conftest.$ac_ext | |
4412 | |
4413 # OK, works on sane cases. Now check whether nonexistent headers | |
4414 # can be detected and how. | |
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
4416 /* end confdefs.h. */ | |
4417 #include <ac_nonexistent.h> | |
4418 _ACEOF | |
4419 if ac_fn_c_try_cpp "$LINENO"; then : | |
4420 # Broken: success on invalid input. | |
4421 continue | |
4422 else | |
4423 # Passes both tests. | |
4424 ac_preproc_ok=: | |
4425 break | |
4426 fi | |
4427 rm -f conftest.err conftest.i conftest.$ac_ext | |
4428 | |
4429 done | |
4430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4431 rm -f conftest.i conftest.err conftest.$ac_ext | |
4432 if $ac_preproc_ok; then : | |
4433 | |
4434 else | |
4435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
4436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4437 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
4438 See \`config.log' for more details" "$LINENO" 5; } | |
4439 fi | |
4440 | |
4441 ac_ext=c | |
4442 ac_cpp='$CPP $CPPFLAGS' | |
4443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
4445 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4446 | |
4447 # Extract the first word of "mv", so it can be a program name with args. | |
4448 set dummy mv; ac_word=$2 | |
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4450 $as_echo_n "checking for $ac_word... " >&6; } | 3983 $as_echo_n "checking for $ac_word... " >&6; } |
4451 if ${ac_cv_path_MV+:} false; then : | 3984 if ${ac_cv_prog_STRIP+:} false; then : |
4452 $as_echo_n "(cached) " >&6 | 3985 $as_echo_n "(cached) " >&6 |
4453 else | 3986 else |
4454 case $MV in | 3987 if test -n "$STRIP"; then |
4455 [\\/]* | ?:[\\/]*) | 3988 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
4456 ac_cv_path_MV="$MV" # Let the user override the test with a path. | 3989 else |
4457 ;; | 3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4458 *) | |
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4460 for as_dir in $PATH | 3991 for as_dir in $PATH |
4461 do | 3992 do |
4462 IFS=$as_save_IFS | 3993 IFS=$as_save_IFS |
4463 test -z "$as_dir" && as_dir=. | 3994 test -z "$as_dir" && as_dir=. |
4464 for ac_exec_ext in '' $ac_executable_extensions; do | 3995 for ac_exec_ext in '' $ac_executable_extensions; do |
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4466 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | 3997 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
4468 break 2 | 3999 break 2 |
4469 fi | 4000 fi |
4470 done | 4001 done |
4471 done | 4002 done |
4472 IFS=$as_save_IFS | 4003 IFS=$as_save_IFS |
4473 | 4004 |
4474 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" | |
4475 ;; | |
4476 esac | |
4477 fi | 4005 fi |
4478 MV=$ac_cv_path_MV | 4006 fi |
4479 if test -n "$MV"; then | 4007 STRIP=$ac_cv_prog_STRIP |
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 | 4008 if test -n "$STRIP"; then |
4481 $as_echo "$MV" >&6; } | 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 4010 $as_echo "$STRIP" >&6; } |
4482 else | 4011 else |
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4484 $as_echo "no" >&6; } | 4013 $as_echo "no" >&6; } |
4485 fi | 4014 fi |
4486 | 4015 |
4487 | 4016 |
4488 # Extract the first word of "tar", so it can be a program name with args. | 4017 fi |
4489 set dummy tar; ac_word=$2 | 4018 if test -z "$ac_cv_prog_STRIP"; then |
| 4019 ac_ct_STRIP=$STRIP |
| 4020 # Extract the first word of "strip", so it can be a program name with args. |
| 4021 set dummy strip; ac_word=$2 |
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4491 $as_echo_n "checking for $ac_word... " >&6; } | 4023 $as_echo_n "checking for $ac_word... " >&6; } |
4492 if ${ac_cv_path_TAR+:} false; then : | 4024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
4493 $as_echo_n "(cached) " >&6 | 4025 $as_echo_n "(cached) " >&6 |
4494 else | 4026 else |
4495 case $TAR in | 4027 if test -n "$ac_ct_STRIP"; then |
4496 [\\/]* | ?:[\\/]*) | 4028 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
4497 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. | 4029 else |
4498 ;; | 4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4499 *) | |
4500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4501 for as_dir in $PATH | 4031 for as_dir in $PATH |
4502 do | 4032 do |
4503 IFS=$as_save_IFS | 4033 IFS=$as_save_IFS |
4504 test -z "$as_dir" && as_dir=. | 4034 test -z "$as_dir" && as_dir=. |
4505 for ac_exec_ext in '' $ac_executable_extensions; do | 4035 for ac_exec_ext in '' $ac_executable_extensions; do |
4506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4507 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" | 4037 ac_cv_prog_ac_ct_STRIP="strip" |
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
4509 break 2 | 4039 break 2 |
4510 fi | 4040 fi |
4511 done | 4041 done |
4512 done | 4042 done |
4513 IFS=$as_save_IFS | 4043 IFS=$as_save_IFS |
4514 | 4044 |
4515 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" | |
4516 ;; | |
4517 esac | |
4518 fi | 4045 fi |
4519 TAR=$ac_cv_path_TAR | 4046 fi |
4520 if test -n "$TAR"; then | 4047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 | 4048 if test -n "$ac_ct_STRIP"; then |
4522 $as_echo "$TAR" >&6; } | 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 4050 $as_echo "$ac_ct_STRIP" >&6; } |
4523 else | 4051 else |
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4525 $as_echo "no" >&6; } | 4053 $as_echo "no" >&6; } |
4526 fi | 4054 fi |
4527 | 4055 |
| 4056 if test "x$ac_ct_STRIP" = x; then |
| 4057 STRIP=":" |
| 4058 else |
| 4059 case $cross_compiling:$ac_tool_warned in |
| 4060 yes:) |
| 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 4063 ac_tool_warned=yes ;; |
| 4064 esac |
| 4065 STRIP=$ac_ct_STRIP |
| 4066 fi |
| 4067 else |
| 4068 STRIP="$ac_cv_prog_STRIP" |
| 4069 fi |
4528 | 4070 |
4529 # Extract the first word of "perl", so it can be a program name with args. | 4071 fi |
4530 set dummy perl; ac_word=$2 | 4072 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 4073 |
| 4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 |
| 4075 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 4076 if test -z "$MKDIR_P"; then |
| 4077 if ${ac_cv_path_mkdir+:} false; then : |
| 4078 $as_echo_n "(cached) " >&6 |
| 4079 else |
| 4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 4081 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 4082 do |
| 4083 IFS=$as_save_IFS |
| 4084 test -z "$as_dir" && as_dir=. |
| 4085 for ac_prog in mkdir gmkdir; do |
| 4086 » for ac_exec_ext in '' $ac_executable_extensions; do |
| 4087 » as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 4088 » case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 4089 » 'mkdir (GNU coreutils) '* | \ |
| 4090 » 'mkdir (coreutils) '* | \ |
| 4091 » 'mkdir (fileutils) '4.1*) |
| 4092 » ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 4093 » break 3;; |
| 4094 » esac |
| 4095 » done |
| 4096 done |
| 4097 done |
| 4098 IFS=$as_save_IFS |
| 4099 |
| 4100 fi |
| 4101 |
| 4102 test -d ./--version && rmdir ./--version |
| 4103 if test "${ac_cv_path_mkdir+set}" = set; then |
| 4104 MKDIR_P="$ac_cv_path_mkdir -p" |
| 4105 else |
| 4106 # As a last resort, use the slow shell script. Don't cache a |
| 4107 # value for MKDIR_P within a source directory, because that will |
| 4108 # break other packages using the cache if that directory is |
| 4109 # removed, or if the value is a relative name. |
| 4110 MKDIR_P="$ac_install_sh -d" |
| 4111 fi |
| 4112 fi |
| 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 4114 $as_echo "$MKDIR_P" >&6; } |
| 4115 |
| 4116 for ac_prog in gawk mawk nawk awk |
| 4117 do |
| 4118 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4119 set dummy $ac_prog; ac_word=$2 |
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4532 $as_echo_n "checking for $ac_word... " >&6; } | 4121 $as_echo_n "checking for $ac_word... " >&6; } |
4533 if ${ac_cv_path_PERL+:} false; then : | 4122 if ${ac_cv_prog_AWK+:} false; then : |
4534 $as_echo_n "(cached) " >&6 | 4123 $as_echo_n "(cached) " >&6 |
4535 else | 4124 else |
4536 case $PERL in | 4125 if test -n "$AWK"; then |
4537 [\\/]* | ?:[\\/]*) | 4126 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
4538 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | 4127 else |
4539 ;; | 4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4540 *) | |
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4542 for as_dir in $PATH | 4129 for as_dir in $PATH |
4543 do | 4130 do |
4544 IFS=$as_save_IFS | 4131 IFS=$as_save_IFS |
4545 test -z "$as_dir" && as_dir=. | 4132 test -z "$as_dir" && as_dir=. |
4546 for ac_exec_ext in '' $ac_executable_extensions; do | 4133 for ac_exec_ext in '' $ac_executable_extensions; do |
4547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4548 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | 4135 ac_cv_prog_AWK="$ac_prog" |
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
4550 break 2 | 4137 break 2 |
4551 fi | 4138 fi |
4552 done | |
4553 done | |
4554 IFS=$as_save_IFS | |
4555 | |
4556 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl" | |
4557 ;; | |
4558 esac | |
4559 fi | |
4560 PERL=$ac_cv_path_PERL | |
4561 if test -n "$PERL"; then | |
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 | |
4563 $as_echo "$PERL" >&6; } | |
4564 else | |
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4566 $as_echo "no" >&6; } | |
4567 fi | |
4568 | |
4569 | |
4570 # Extract the first word of "wget", so it can be a program name with args. | |
4571 set dummy wget; ac_word=$2 | |
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4573 $as_echo_n "checking for $ac_word... " >&6; } | |
4574 if ${ac_cv_path_WGET+:} false; then : | |
4575 $as_echo_n "(cached) " >&6 | |
4576 else | |
4577 case $WGET in | |
4578 [\\/]* | ?:[\\/]*) | |
4579 ac_cv_path_WGET="$WGET" # Let the user override the test with a path. | |
4580 ;; | |
4581 *) | |
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4583 for as_dir in $PATH | |
4584 do | |
4585 IFS=$as_save_IFS | |
4586 test -z "$as_dir" && as_dir=. | |
4587 for ac_exec_ext in '' $ac_executable_extensions; do | |
4588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4589 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" | |
4590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
4591 break 2 | |
4592 fi | |
4593 done | |
4594 done | |
4595 IFS=$as_save_IFS | |
4596 | |
4597 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget" | |
4598 ;; | |
4599 esac | |
4600 fi | |
4601 WGET=$ac_cv_path_WGET | |
4602 if test -n "$WGET"; then | |
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5 | |
4604 $as_echo "$WGET" >&6; } | |
4605 else | |
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4607 $as_echo "no" >&6; } | |
4608 fi | |
4609 | |
4610 | |
4611 # Extract the first word of "xmllint", so it can be a program name with args. | |
4612 set dummy xmllint; ac_word=$2 | |
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4614 $as_echo_n "checking for $ac_word... " >&6; } | |
4615 if ${ac_cv_path_XMLLINT+:} false; then : | |
4616 $as_echo_n "(cached) " >&6 | |
4617 else | |
4618 case $XMLLINT in | |
4619 [\\/]* | ?:[\\/]*) | |
4620 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. | |
4621 ;; | |
4622 *) | |
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4624 for as_dir in $PATH | |
4625 do | |
4626 IFS=$as_save_IFS | |
4627 test -z "$as_dir" && as_dir=. | |
4628 for ac_exec_ext in '' $ac_executable_extensions; do | |
4629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4630 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" | |
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
4632 break 2 | |
4633 fi | |
4634 done | 4139 done |
4635 done | 4140 done |
4636 IFS=$as_save_IFS | 4141 IFS=$as_save_IFS |
4637 | 4142 |
4638 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" | 4143 fi |
| 4144 fi |
| 4145 AWK=$ac_cv_prog_AWK |
| 4146 if test -n "$AWK"; then |
| 4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 4148 $as_echo "$AWK" >&6; } |
| 4149 else |
| 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4151 $as_echo "no" >&6; } |
| 4152 fi |
| 4153 |
| 4154 |
| 4155 test -n "$AWK" && break |
| 4156 done |
| 4157 |
| 4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(M
AKE)" >&5 |
| 4159 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 4160 set x ${MAKE-make} |
| 4161 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 4162 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 4163 $as_echo_n "(cached) " >&6 |
| 4164 else |
| 4165 cat >conftest.make <<\_ACEOF |
| 4166 SHELL = /bin/sh |
| 4167 all: |
| 4168 » @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 4169 _ACEOF |
| 4170 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 4171 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 4172 *@@@%%%=?*=@@@%%%*) |
| 4173 eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 4174 *) |
| 4175 eval ac_cv_prog_make_${ac_make}_set=no;; |
| 4176 esac |
| 4177 rm -f conftest.make |
| 4178 fi |
| 4179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4181 $as_echo "yes" >&6; } |
| 4182 SET_MAKE= |
| 4183 else |
| 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4185 $as_echo "no" >&6; } |
| 4186 SET_MAKE="MAKE=${MAKE-make}" |
| 4187 fi |
| 4188 |
| 4189 rm -rf .tst 2>/dev/null |
| 4190 mkdir .tst 2>/dev/null |
| 4191 if test -d .tst; then |
| 4192 am__leading_dot=. |
| 4193 else |
| 4194 am__leading_dot=_ |
| 4195 fi |
| 4196 rmdir .tst 2>/dev/null |
| 4197 |
| 4198 DEPDIR="${am__leading_dot}deps" |
| 4199 |
| 4200 ac_config_commands="$ac_config_commands depfiles" |
| 4201 |
| 4202 |
| 4203 am_make=${MAKE-make} |
| 4204 cat > confinc << 'END' |
| 4205 am__doit: |
| 4206 » @echo this is the am__doit target |
| 4207 .PHONY: am__doit |
| 4208 END |
| 4209 # If we don't find an include directive, just comment out the code. |
| 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 |
| 4211 $as_echo_n "checking for style of include used by $am_make... " >&6; } |
| 4212 am__include="#" |
| 4213 am__quote= |
| 4214 _am_result=none |
| 4215 # First try GNU make style include. |
| 4216 echo "include confinc" > confmf |
| 4217 # Ignore all kinds of additional output from 'make'. |
| 4218 case `$am_make -s -f confmf 2> /dev/null` in #( |
| 4219 *the\ am__doit\ target*) |
| 4220 am__include=include |
| 4221 am__quote= |
| 4222 _am_result=GNU |
4639 ;; | 4223 ;; |
4640 esac | 4224 esac |
4641 fi | 4225 # Now try BSD make style include. |
4642 XMLLINT=$ac_cv_path_XMLLINT | 4226 if test "$am__include" = "#"; then |
4643 if test -n "$XMLLINT"; then | 4227 echo '.include "confinc"' > confmf |
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 | 4228 case `$am_make -s -f confmf 2> /dev/null` in #( |
4645 $as_echo "$XMLLINT" >&6; } | 4229 *the\ am__doit\ target*) |
4646 else | 4230 am__include=.include |
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4231 am__quote="\"" |
4648 $as_echo "no" >&6; } | 4232 _am_result=BSD |
4649 fi | 4233 ;; |
4650 | 4234 esac |
4651 | 4235 fi |
4652 # Extract the first word of "xsltproc", so it can be a program name with args. | 4236 |
4653 set dummy xsltproc; ac_word=$2 | 4237 |
| 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 4239 $as_echo "$_am_result" >&6; } |
| 4240 rm -f confinc confmf |
| 4241 |
| 4242 # Check whether --enable-dependency-tracking was given. |
| 4243 if test "${enable_dependency_tracking+set}" = set; then : |
| 4244 enableval=$enable_dependency_tracking; |
| 4245 fi |
| 4246 |
| 4247 if test "x$enable_dependency_tracking" != xno; then |
| 4248 am_depcomp="$ac_aux_dir/depcomp" |
| 4249 AMDEPBACKSLASH='\' |
| 4250 am__nodep='_no' |
| 4251 fi |
| 4252 if test "x$enable_dependency_tracking" != xno; then |
| 4253 AMDEP_TRUE= |
| 4254 AMDEP_FALSE='#' |
| 4255 else |
| 4256 AMDEP_TRUE='#' |
| 4257 AMDEP_FALSE= |
| 4258 fi |
| 4259 |
| 4260 |
| 4261 # Check whether --enable-silent-rules was given. |
| 4262 if test "${enable_silent_rules+set}" = set; then : |
| 4263 enableval=$enable_silent_rules; |
| 4264 fi |
| 4265 |
| 4266 case $enable_silent_rules in # ((( |
| 4267 yes) AM_DEFAULT_VERBOSITY=0;; |
| 4268 no) AM_DEFAULT_VERBOSITY=1;; |
| 4269 *) AM_DEFAULT_VERBOSITY=1;; |
| 4270 esac |
| 4271 am_make=${MAKE-make} |
| 4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 |
| 4273 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 4274 if ${am_cv_make_support_nested_variables+:} false; then : |
| 4275 $as_echo_n "(cached) " >&6 |
| 4276 else |
| 4277 if $as_echo 'TRUE=$(BAR$(V)) |
| 4278 BAR0=false |
| 4279 BAR1=true |
| 4280 V=1 |
| 4281 am__doit: |
| 4282 @$(TRUE) |
| 4283 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 4284 am_cv_make_support_nested_variables=yes |
| 4285 else |
| 4286 am_cv_make_support_nested_variables=no |
| 4287 fi |
| 4288 fi |
| 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 |
| 4290 $as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 4291 if test $am_cv_make_support_nested_variables = yes; then |
| 4292 AM_V='$(V)' |
| 4293 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 4294 else |
| 4295 AM_V=$AM_DEFAULT_VERBOSITY |
| 4296 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 4297 fi |
| 4298 AM_BACKSLASH='\' |
| 4299 |
| 4300 if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 4301 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 4302 # is not polluted with repeated "-I." |
| 4303 am__isrc=' -I$(srcdir)' |
| 4304 # test to see if srcdir already configured |
| 4305 if test -f $srcdir/config.status; then |
| 4306 as_fn_error $? "source directory already configured; run \"make distclean\"
there first" "$LINENO" 5 |
| 4307 fi |
| 4308 fi |
| 4309 |
| 4310 # test whether we have cygpath |
| 4311 if test -z "$CYGPATH_W"; then |
| 4312 if (cygpath --version) >/dev/null 2>/dev/null; then |
| 4313 CYGPATH_W='cygpath -w' |
| 4314 else |
| 4315 CYGPATH_W=echo |
| 4316 fi |
| 4317 fi |
| 4318 |
| 4319 |
| 4320 # Define the identity of the package. |
| 4321 |
| 4322 PACKAGE=$PACKAGE |
| 4323 VERSION=$VERSION |
| 4324 |
| 4325 |
| 4326 cat >>confdefs.h <<_ACEOF |
| 4327 #define PACKAGE "$PACKAGE" |
| 4328 _ACEOF |
| 4329 |
| 4330 |
| 4331 cat >>confdefs.h <<_ACEOF |
| 4332 #define VERSION "$VERSION" |
| 4333 _ACEOF |
| 4334 |
| 4335 # Some tools Automake needs. |
| 4336 |
| 4337 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 4338 |
| 4339 |
| 4340 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 4341 |
| 4342 |
| 4343 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 4344 |
| 4345 |
| 4346 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 4347 |
| 4348 |
| 4349 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 4350 |
| 4351 # For better backward compatibility. To be removed once Automake 1.9.x |
| 4352 # dies out for good. For more background, see: |
| 4353 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 4354 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 4355 mkdir_p='$(MKDIR_P)' |
| 4356 |
| 4357 # We need awk for the "check" target. The system "awk" is bad on |
| 4358 # some platforms. |
| 4359 # Always define AMTAR for backward compatibility. Yes, it's still used |
| 4360 # in the wild :-( We should find a proper way to deprecate it ... |
| 4361 AMTAR='$${TAR-tar}' |
| 4362 |
| 4363 |
| 4364 # We'll loop over all known methods to create a tar archive until one works. |
| 4365 _am_tools='gnutar pax cpio none' |
| 4366 |
| 4367 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 4368 |
| 4369 |
| 4370 |
| 4371 |
| 4372 |
| 4373 depcc="$CC" am_compiler_list= |
| 4374 |
| 4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 |
| 4376 $as_echo_n "checking dependency style of $depcc... " >&6; } |
| 4377 if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 4378 $as_echo_n "(cached) " >&6 |
| 4379 else |
| 4380 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 4381 # We make a subdir and do the tests there. Otherwise we can end up |
| 4382 # making bogus files that we don't know about and never remove. For |
| 4383 # instance it was reported that on HP-UX the gcc test will end up |
| 4384 # making a dummy file named 'D' -- because '-MD' means "put the output |
| 4385 # in D". |
| 4386 rm -rf conftest.dir |
| 4387 mkdir conftest.dir |
| 4388 # Copy depcomp to subdir because otherwise we won't find it if we're |
| 4389 # using a relative directory. |
| 4390 cp "$am_depcomp" conftest.dir |
| 4391 cd conftest.dir |
| 4392 # We will build objects and dependencies in a subdirectory because |
| 4393 # it helps to detect inapplicable dependency modes. For instance |
| 4394 # both Tru64's cc and ICC support -MD to output dependencies as a |
| 4395 # side effect of compilation, but ICC will put the dependencies in |
| 4396 # the current directory while Tru64 will put them in the object |
| 4397 # directory. |
| 4398 mkdir sub |
| 4399 |
| 4400 am_cv_CC_dependencies_compiler_type=none |
| 4401 if test "$am_compiler_list" = ""; then |
| 4402 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 4403 fi |
| 4404 am__universal=false |
| 4405 case " $depcc " in #( |
| 4406 *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 4407 esac |
| 4408 |
| 4409 for depmode in $am_compiler_list; do |
| 4410 # Setup a source with many dependencies, because some compilers |
| 4411 # like to wrap large dependency lists on column 80 (with \), and |
| 4412 # we should not choose a depcomp mode which is confused by this. |
| 4413 # |
| 4414 # We need to recreate these files for each test, as the compiler may |
| 4415 # overwrite some of them when testing with obscure command lines. |
| 4416 # This happens at least with the AIX C compiler. |
| 4417 : > sub/conftest.c |
| 4418 for i in 1 2 3 4 5 6; do |
| 4419 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 4420 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 4421 # Solaris 10 /bin/sh. |
| 4422 echo '/* dummy */' > sub/conftst$i.h |
| 4423 done |
| 4424 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 4425 |
| 4426 # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 4427 # mode. It turns out that the SunPro C++ compiler does not properly |
| 4428 # handle '-M -o', and we need to detect this. Also, some Intel |
| 4429 # versions had trouble with output in subdirs. |
| 4430 am__obj=sub/conftest.${OBJEXT-o} |
| 4431 am__minus_obj="-o $am__obj" |
| 4432 case $depmode in |
| 4433 gcc) |
| 4434 # This depmode causes a compiler race in universal mode. |
| 4435 test "$am__universal" = false || continue |
| 4436 ;; |
| 4437 nosideeffect) |
| 4438 # After this tag, mechanisms are not by side-effect, so they'll |
| 4439 # only be used when explicitly requested. |
| 4440 if test "x$enable_dependency_tracking" = xyes; then |
| 4441 continue |
| 4442 else |
| 4443 break |
| 4444 fi |
| 4445 ;; |
| 4446 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 4447 # This compiler won't grok '-c -o', but also, the minuso test has |
| 4448 # not run yet. These depmodes are late enough in the game, and |
| 4449 # so weak that their functioning should not be impacted. |
| 4450 am__obj=conftest.${OBJEXT-o} |
| 4451 am__minus_obj= |
| 4452 ;; |
| 4453 none) break ;; |
| 4454 esac |
| 4455 if depmode=$depmode \ |
| 4456 source=sub/conftest.c object=$am__obj \ |
| 4457 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 4458 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 4459 >/dev/null 2>conftest.err && |
| 4460 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 4461 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 4462 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| 4463 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 4464 # icc doesn't choke on unknown options, it will just issue warnings |
| 4465 # or remarks (even with -Werror). So we grep stderr for any message |
| 4466 # that says an option was ignored or not supported. |
| 4467 # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 4468 # icc: Command line warning: ignoring option '-M'; no argument required |
| 4469 # The diagnosis changed in icc 8.0: |
| 4470 # icc: Command line remark: option '-MP' not supported |
| 4471 if (grep 'ignoring option' conftest.err || |
| 4472 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 4473 am_cv_CC_dependencies_compiler_type=$depmode |
| 4474 break |
| 4475 fi |
| 4476 fi |
| 4477 done |
| 4478 |
| 4479 cd .. |
| 4480 rm -rf conftest.dir |
| 4481 else |
| 4482 am_cv_CC_dependencies_compiler_type=none |
| 4483 fi |
| 4484 |
| 4485 fi |
| 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 |
| 4487 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 4488 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 4489 |
| 4490 if |
| 4491 test "x$enable_dependency_tracking" != xno \ |
| 4492 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 4493 am__fastdepCC_TRUE= |
| 4494 am__fastdepCC_FALSE='#' |
| 4495 else |
| 4496 am__fastdepCC_TRUE='#' |
| 4497 am__fastdepCC_FALSE= |
| 4498 fi |
| 4499 |
| 4500 |
| 4501 |
| 4502 # POSIX will say in a future version that running "rm -f" with no argument |
| 4503 # is OK; and we want to be able to make that assumption in our Makefile |
| 4504 # recipes. So use an aggressive probe to check that the usage we want is |
| 4505 # actually supported "in the wild" to an acceptable degree. |
| 4506 # See automake bug#10828. |
| 4507 # To make any issue more visible, cause the running configure to be aborted |
| 4508 # by default if the 'rm' program in use doesn't match our expectations; the |
| 4509 # user can still override this though. |
| 4510 if rm -f && rm -fr && rm -rf; then : OK; else |
| 4511 cat >&2 <<'END' |
| 4512 Oops! |
| 4513 |
| 4514 Your 'rm' program seems unable to run without file operands specified |
| 4515 on the command line, even when the '-f' option is present. This is contrary |
| 4516 to the behaviour of most rm programs out there, and not conforming with |
| 4517 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 4518 |
| 4519 Please tell bug-automake@gnu.org about your system, including the value |
| 4520 of your $PATH and any error possibly output before this message. This |
| 4521 can help us improve future automake versions. |
| 4522 |
| 4523 END |
| 4524 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 4525 echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 4526 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 4527 echo >&2 |
| 4528 else |
| 4529 cat >&2 <<'END' |
| 4530 Aborting the configuration process, to ensure you take notice of the issue. |
| 4531 |
| 4532 You can download and install GNU coreutils to get an 'rm' implementation |
| 4533 that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 4534 |
| 4535 If you want to complete the configuration process using your problematic |
| 4536 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 4537 to "yes", and re-run configure. |
| 4538 |
| 4539 END |
| 4540 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 4541 fi |
| 4542 fi |
| 4543 |
| 4544 # AM_MAINTAINER_MODE |
| 4545 |
| 4546 # Support silent build rules, requires at least automake-1.11. Disable |
| 4547 # by either passing --disable-silent-rules to configure or passing V=1 |
| 4548 # to make |
| 4549 # Check whether --enable-silent-rules was given. |
| 4550 if test "${enable_silent_rules+set}" = set; then : |
| 4551 enableval=$enable_silent_rules; |
| 4552 fi |
| 4553 |
| 4554 case $enable_silent_rules in # ((( |
| 4555 yes) AM_DEFAULT_VERBOSITY=0;; |
| 4556 no) AM_DEFAULT_VERBOSITY=1;; |
| 4557 *) AM_DEFAULT_VERBOSITY=0;; |
| 4558 esac |
| 4559 am_make=${MAKE-make} |
| 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nest
ed variables" >&5 |
| 4561 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 4562 if ${am_cv_make_support_nested_variables+:} false; then : |
| 4563 $as_echo_n "(cached) " >&6 |
| 4564 else |
| 4565 if $as_echo 'TRUE=$(BAR$(V)) |
| 4566 BAR0=false |
| 4567 BAR1=true |
| 4568 V=1 |
| 4569 am__doit: |
| 4570 @$(TRUE) |
| 4571 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 4572 am_cv_make_support_nested_variables=yes |
| 4573 else |
| 4574 am_cv_make_support_nested_variables=no |
| 4575 fi |
| 4576 fi |
| 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_vari
ables" >&5 |
| 4578 $as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 4579 if test $am_cv_make_support_nested_variables = yes; then |
| 4580 AM_V='$(V)' |
| 4581 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 4582 else |
| 4583 AM_V=$AM_DEFAULT_VERBOSITY |
| 4584 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 4585 fi |
| 4586 AM_BACKSLASH='\' |
| 4587 |
| 4588 |
| 4589 |
| 4590 |
| 4591 # Check whether --with-html-dir was given. |
| 4592 if test "${with_html_dir+set}" = set; then : |
| 4593 withval=$with_html_dir; HTML_DIR=$withval |
| 4594 else |
| 4595 HTML_DIR='$(datadir)/doc' |
| 4596 fi |
| 4597 |
| 4598 |
| 4599 |
| 4600 # Check whether --with-html-subdir was given. |
| 4601 if test "${with_html_subdir+set}" = set; then : |
| 4602 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$wit
hval" |
| 4603 else |
| 4604 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" |
| 4605 fi |
| 4606 |
| 4607 |
| 4608 |
| 4609 |
| 4610 |
| 4611 ac_ext=c |
| 4612 ac_cpp='$CPP $CPPFLAGS' |
| 4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4616 if test -n "$ac_tool_prefix"; then |
| 4617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. |
| 4618 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4655 $as_echo_n "checking for $ac_word... " >&6; } | 4620 $as_echo_n "checking for $ac_word... " >&6; } |
4656 if ${ac_cv_path_XSLTPROC+:} false; then : | 4621 if ${ac_cv_prog_CC+:} false; then : |
4657 $as_echo_n "(cached) " >&6 | 4622 $as_echo_n "(cached) " >&6 |
4658 else | 4623 else |
4659 case $XSLTPROC in | 4624 if test -n "$CC"; then |
4660 [\\/]* | ?:[\\/]*) | 4625 ac_cv_prog_CC="$CC" # Let the user override the test. |
4661 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. | 4626 else |
4662 ;; | 4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4663 *) | |
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4665 for as_dir in $PATH | 4628 for as_dir in $PATH |
4666 do | 4629 do |
4667 IFS=$as_save_IFS | 4630 IFS=$as_save_IFS |
4668 test -z "$as_dir" && as_dir=. | 4631 test -z "$as_dir" && as_dir=. |
4669 for ac_exec_ext in '' $ac_executable_extensions; do | 4632 for ac_exec_ext in '' $ac_executable_extensions; do |
4670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4671 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" | 4634 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
4673 break 2 | 4636 break 2 |
4674 fi | 4637 fi |
4675 done | 4638 done |
4676 done | 4639 done |
4677 IFS=$as_save_IFS | 4640 IFS=$as_save_IFS |
4678 | 4641 |
4679 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" | 4642 fi |
4680 ;; | 4643 fi |
4681 esac | 4644 CC=$ac_cv_prog_CC |
4682 fi | 4645 if test -n "$CC"; then |
4683 XSLTPROC=$ac_cv_path_XSLTPROC | 4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4684 if test -n "$XSLTPROC"; then | 4647 $as_echo "$CC" >&6; } |
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 | |
4686 $as_echo "$XSLTPROC" >&6; } | |
4687 else | 4648 else |
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4689 $as_echo "no" >&6; } | 4650 $as_echo "no" >&6; } |
4690 fi | 4651 fi |
4691 | 4652 |
4692 | 4653 |
4693 | 4654 fi |
4694 | 4655 if test -z "$ac_cv_prog_CC"; then |
4695 | 4656 ac_ct_CC=$CC |
4696 | 4657 # Extract the first word of "gcc", so it can be a program name with args. |
4697 | 4658 set dummy gcc; ac_word=$2 |
4698 | |
4699 | |
4700 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
4701 » if test -n "$ac_tool_prefix"; then | |
4702 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args. | |
4703 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4705 $as_echo_n "checking for $ac_word... " >&6; } | 4660 $as_echo_n "checking for $ac_word... " >&6; } |
4706 if ${ac_cv_path_PKG_CONFIG+:} false; then : | 4661 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4707 $as_echo_n "(cached) " >&6 | 4662 $as_echo_n "(cached) " >&6 |
4708 else | 4663 else |
4709 case $PKG_CONFIG in | 4664 if test -n "$ac_ct_CC"; then |
4710 [\\/]* | ?:[\\/]*) | 4665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4711 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a pa
th. | 4666 else |
4712 ;; | 4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4713 *) | |
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4715 for as_dir in $PATH | 4668 for as_dir in $PATH |
4716 do | 4669 do |
4717 IFS=$as_save_IFS | 4670 IFS=$as_save_IFS |
4718 test -z "$as_dir" && as_dir=. | 4671 test -z "$as_dir" && as_dir=. |
4719 for ac_exec_ext in '' $ac_executable_extensions; do | 4672 for ac_exec_ext in '' $ac_executable_extensions; do |
4720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4721 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 4674 ac_cv_prog_ac_ct_CC="gcc" |
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
4723 break 2 | 4676 break 2 |
4724 fi | 4677 fi |
4725 done | 4678 done |
4726 done | 4679 done |
4727 IFS=$as_save_IFS | 4680 IFS=$as_save_IFS |
4728 | 4681 |
4729 ;; | 4682 fi |
4730 esac | 4683 fi |
4731 fi | 4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4732 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 4685 if test -n "$ac_ct_CC"; then |
4733 if test -n "$PKG_CONFIG"; then | 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 4687 $as_echo "$ac_ct_CC" >&6; } |
4735 $as_echo "$PKG_CONFIG" >&6; } | |
4736 else | 4688 else |
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4738 $as_echo "no" >&6; } | 4690 $as_echo "no" >&6; } |
4739 fi | 4691 fi |
4740 | 4692 |
4741 | 4693 if test "x$ac_ct_CC" = x; then |
4742 fi | 4694 CC="" |
4743 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
4744 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
4745 # Extract the first word of "pkg-config", so it can be a program name with arg
s. | |
4746 set dummy pkg-config; ac_word=$2 | |
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4748 $as_echo_n "checking for $ac_word... " >&6; } | |
4749 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | |
4750 $as_echo_n "(cached) " >&6 | |
4751 else | |
4752 case $ac_pt_PKG_CONFIG in | |
4753 [\\/]* | ?:[\\/]*) | |
4754 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the te
st with a path. | |
4755 ;; | |
4756 *) | |
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4758 for as_dir in $PATH | |
4759 do | |
4760 IFS=$as_save_IFS | |
4761 test -z "$as_dir" && as_dir=. | |
4762 for ac_exec_ext in '' $ac_executable_extensions; do | |
4763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4764 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
4766 break 2 | |
4767 fi | |
4768 done | |
4769 done | |
4770 IFS=$as_save_IFS | |
4771 | |
4772 ;; | |
4773 esac | |
4774 fi | |
4775 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
4776 if test -n "$ac_pt_PKG_CONFIG"; then | |
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | |
4778 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | |
4779 else | |
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4781 $as_echo "no" >&6; } | |
4782 fi | |
4783 | |
4784 if test "x$ac_pt_PKG_CONFIG" = x; then | |
4785 PKG_CONFIG="" | |
4786 else | 4695 else |
4787 case $cross_compiling:$ac_tool_warned in | 4696 case $cross_compiling:$ac_tool_warned in |
4788 yes:) | 4697 yes:) |
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
4790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
4791 ac_tool_warned=yes ;; | 4700 ac_tool_warned=yes ;; |
4792 esac | 4701 esac |
4793 PKG_CONFIG=$ac_pt_PKG_CONFIG | 4702 CC=$ac_ct_CC |
4794 fi | 4703 fi |
4795 else | 4704 else |
4796 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | 4705 CC="$ac_cv_prog_CC" |
4797 fi | 4706 fi |
4798 | 4707 |
4799 fi | 4708 if test -z "$CC"; then |
4800 if test -n "$PKG_CONFIG"; then | 4709 if test -n "$ac_tool_prefix"; then |
4801 _pkg_min_version=0.9.0 | 4710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program na
me with args. |
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least
version $_pkg_min_version" >&5 | 4711 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4803 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6;
} | |
4804 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
4806 $as_echo "yes" >&6; } | |
4807 else | |
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4809 $as_echo "no" >&6; } | |
4810 PKG_CONFIG="" | |
4811 fi | |
4812 fi | |
4813 | |
4814 case `pwd` in | |
4815 *\ * | *\ *) | |
4816 { $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;} ;; | |
4818 esac | |
4819 | |
4820 | |
4821 | |
4822 macro_version='2.4.6' | |
4823 macro_revision='2.4.6' | |
4824 | |
4825 | |
4826 | |
4827 | |
4828 | |
4829 | |
4830 | |
4831 | |
4832 | |
4833 | |
4834 | |
4835 | |
4836 | |
4837 ltmain=$ac_aux_dir/ltmain.sh | |
4838 | |
4839 # Backslashify metacharacters that are still active within | |
4840 # double-quoted strings. | |
4841 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | |
4842 | |
4843 # Same as above, but do not quote variable references. | |
4844 double_quote_subst='s/\(["`\\]\)/\\\1/g' | |
4845 | |
4846 # Sed substitution to delay expansion of an escaped shell variable in a | |
4847 # double_quote_subst'ed string. | |
4848 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | |
4849 | |
4850 # Sed substitution to delay expansion of an escaped single quote. | |
4851 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | |
4852 | |
4853 # Sed substitution to avoid accidental globbing in evaled expressions | |
4854 no_glob_subst='s/\*/\\\*/g' | |
4855 | |
4856 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
4857 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | |
4858 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | |
4859 | |
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | |
4861 $as_echo_n "checking how to print strings... " >&6; } | |
4862 # Test print first, because it will be a builtin if present. | |
4863 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | |
4864 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | |
4865 ECHO='print -r --' | |
4866 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | |
4867 ECHO='printf %s\n' | |
4868 else | |
4869 # Use this function as a fallback that always works. | |
4870 func_fallback_echo () | |
4871 { | |
4872 eval 'cat <<_LTECHO_EOF | |
4873 $1 | |
4874 _LTECHO_EOF' | |
4875 } | |
4876 ECHO='func_fallback_echo' | |
4877 fi | |
4878 | |
4879 # func_echo_all arg... | |
4880 # Invoke $ECHO with all args, space-separated. | |
4881 func_echo_all () | |
4882 { | |
4883 $ECHO "" | |
4884 } | |
4885 | |
4886 case $ECHO in | |
4887 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | |
4888 $as_echo "printf" >&6; } ;; | |
4889 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | |
4890 $as_echo "print -r" >&6; } ;; | |
4891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | |
4892 $as_echo "cat" >&6; } ;; | |
4893 esac | |
4894 | |
4895 | |
4896 | |
4897 | |
4898 | |
4899 | |
4900 | |
4901 | |
4902 | |
4903 | |
4904 | |
4905 | |
4906 | |
4907 | |
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca
te output" >&5 | |
4909 $as_echo_n "checking for a sed that does not truncate output... " >&6; } | |
4910 if ${ac_cv_path_SED+:} false; then : | |
4911 $as_echo_n "(cached) " >&6 | |
4912 else | |
4913 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbb/ | |
4914 for ac_i in 1 2 3 4 5 6 7; do | |
4915 ac_script="$ac_script$as_nl$ac_script" | |
4916 done | |
4917 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | |
4918 { ac_script=; unset ac_script;} | |
4919 if test -z "$SED"; then | |
4920 ac_path_SED_found=false | |
4921 # Loop through the user's path and test for each of PROGNAME-LIST | |
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4923 for as_dir in $PATH | |
4924 do | |
4925 IFS=$as_save_IFS | |
4926 test -z "$as_dir" && as_dir=. | |
4927 for ac_prog in sed gsed; do | |
4928 for ac_exec_ext in '' $ac_executable_extensions; do | |
4929 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | |
4930 as_fn_executable_p "$ac_path_SED" || continue | |
4931 # Check for GNU ac_path_SED and select it if it is found. | |
4932 # Check for GNU $ac_path_SED | |
4933 case `"$ac_path_SED" --version 2>&1` in | |
4934 *GNU*) | |
4935 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | |
4936 *) | |
4937 ac_count=0 | |
4938 $as_echo_n 0123456789 >"conftest.in" | |
4939 while : | |
4940 do | |
4941 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4942 mv "conftest.tmp" "conftest.in" | |
4943 cp "conftest.in" "conftest.nl" | |
4944 $as_echo '' >> "conftest.nl" | |
4945 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null |
| break | |
4946 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4947 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
4948 if test $ac_count -gt ${ac_path_SED_max-0}; then | |
4949 # Best one so far, save it but keep looking for a better one | |
4950 ac_cv_path_SED="$ac_path_SED" | |
4951 ac_path_SED_max=$ac_count | |
4952 fi | |
4953 # 10*(2^10) chars as input seems more than enough | |
4954 test $ac_count -gt 10 && break | |
4955 done | |
4956 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4957 esac | |
4958 | |
4959 $ac_path_SED_found && break 3 | |
4960 done | |
4961 done | |
4962 done | |
4963 IFS=$as_save_IFS | |
4964 if test -z "$ac_cv_path_SED"; then | |
4965 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | |
4966 fi | |
4967 else | |
4968 ac_cv_path_SED=$SED | |
4969 fi | |
4970 | |
4971 fi | |
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | |
4973 $as_echo "$ac_cv_path_SED" >&6; } | |
4974 SED="$ac_cv_path_SED" | |
4975 rm -f conftest.sed | |
4976 | |
4977 test -z "$SED" && SED=sed | |
4978 Xsed="$SED -e 1s/^X//" | |
4979 | |
4980 | |
4981 | |
4982 | |
4983 | |
4984 | |
4985 | |
4986 | |
4987 | |
4988 | |
4989 | |
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lin
es and -e" >&5 | |
4991 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
4992 if ${ac_cv_path_GREP+:} false; then : | |
4993 $as_echo_n "(cached) " >&6 | |
4994 else | |
4995 if test -z "$GREP"; then | |
4996 ac_path_GREP_found=false | |
4997 # Loop through the user's path and test for each of PROGNAME-LIST | |
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
5000 do | |
5001 IFS=$as_save_IFS | |
5002 test -z "$as_dir" && as_dir=. | |
5003 for ac_prog in grep ggrep; do | |
5004 for ac_exec_ext in '' $ac_executable_extensions; do | |
5005 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
5006 as_fn_executable_p "$ac_path_GREP" || continue | |
5007 # Check for GNU ac_path_GREP and select it if it is found. | |
5008 # Check for GNU $ac_path_GREP | |
5009 case `"$ac_path_GREP" --version 2>&1` in | |
5010 *GNU*) | |
5011 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
5012 *) | |
5013 ac_count=0 | |
5014 $as_echo_n 0123456789 >"conftest.in" | |
5015 while : | |
5016 do | |
5017 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
5018 mv "conftest.tmp" "conftest.in" | |
5019 cp "conftest.in" "conftest.nl" | |
5020 $as_echo 'GREP' >> "conftest.nl" | |
5021 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.
out" 2>/dev/null || break | |
5022 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
5023 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
5024 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
5025 # Best one so far, save it but keep looking for a better one | |
5026 ac_cv_path_GREP="$ac_path_GREP" | |
5027 ac_path_GREP_max=$ac_count | |
5028 fi | |
5029 # 10*(2^10) chars as input seems more than enough | |
5030 test $ac_count -gt 10 && break | |
5031 done | |
5032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
5033 esac | |
5034 | |
5035 $ac_path_GREP_found && break 3 | |
5036 done | |
5037 done | |
5038 done | |
5039 IFS=$as_save_IFS | |
5040 if test -z "$ac_cv_path_GREP"; then | |
5041 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/us
r/xpg4/bin" "$LINENO" 5 | |
5042 fi | |
5043 else | |
5044 ac_cv_path_GREP=$GREP | |
5045 fi | |
5046 | |
5047 fi | |
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
5049 $as_echo "$ac_cv_path_GREP" >&6; } | |
5050 GREP="$ac_cv_path_GREP" | |
5051 | |
5052 | |
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
5054 $as_echo_n "checking for egrep... " >&6; } | |
5055 if ${ac_cv_path_EGREP+:} false; then : | |
5056 $as_echo_n "(cached) " >&6 | |
5057 else | |
5058 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
5059 then ac_cv_path_EGREP="$GREP -E" | |
5060 else | |
5061 if test -z "$EGREP"; then | |
5062 ac_path_EGREP_found=false | |
5063 # Loop through the user's path and test for each of PROGNAME-LIST | |
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
5066 do | |
5067 IFS=$as_save_IFS | |
5068 test -z "$as_dir" && as_dir=. | |
5069 for ac_prog in egrep; do | |
5070 for ac_exec_ext in '' $ac_executable_extensions; do | |
5071 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
5072 as_fn_executable_p "$ac_path_EGREP" || continue | |
5073 # Check for GNU ac_path_EGREP and select it if it is found. | |
5074 # Check for GNU $ac_path_EGREP | |
5075 case `"$ac_path_EGREP" --version 2>&1` in | |
5076 *GNU*) | |
5077 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
5078 *) | |
5079 ac_count=0 | |
5080 $as_echo_n 0123456789 >"conftest.in" | |
5081 while : | |
5082 do | |
5083 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
5084 mv "conftest.tmp" "conftest.in" | |
5085 cp "conftest.in" "conftest.nl" | |
5086 $as_echo 'EGREP' >> "conftest.nl" | |
5087 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || bre
ak | |
5088 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
5089 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
5090 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
5091 # Best one so far, save it but keep looking for a better one | |
5092 ac_cv_path_EGREP="$ac_path_EGREP" | |
5093 ac_path_EGREP_max=$ac_count | |
5094 fi | |
5095 # 10*(2^10) chars as input seems more than enough | |
5096 test $ac_count -gt 10 && break | |
5097 done | |
5098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
5099 esac | |
5100 | |
5101 $ac_path_EGREP_found && break 3 | |
5102 done | |
5103 done | |
5104 done | |
5105 IFS=$as_save_IFS | |
5106 if test -z "$ac_cv_path_EGREP"; then | |
5107 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
5108 fi | |
5109 else | |
5110 ac_cv_path_EGREP=$EGREP | |
5111 fi | |
5112 | |
5113 fi | |
5114 fi | |
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
5116 $as_echo "$ac_cv_path_EGREP" >&6; } | |
5117 EGREP="$ac_cv_path_EGREP" | |
5118 | |
5119 | |
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | |
5121 $as_echo_n "checking for fgrep... " >&6; } | |
5122 if ${ac_cv_path_FGREP+:} false; then : | |
5123 $as_echo_n "(cached) " >&6 | |
5124 else | |
5125 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | |
5126 then ac_cv_path_FGREP="$GREP -F" | |
5127 else | |
5128 if test -z "$FGREP"; then | |
5129 ac_path_FGREP_found=false | |
5130 # Loop through the user's path and test for each of PROGNAME-LIST | |
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
5133 do | |
5134 IFS=$as_save_IFS | |
5135 test -z "$as_dir" && as_dir=. | |
5136 for ac_prog in fgrep; do | |
5137 for ac_exec_ext in '' $ac_executable_extensions; do | |
5138 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | |
5139 as_fn_executable_p "$ac_path_FGREP" || continue | |
5140 # Check for GNU ac_path_FGREP and select it if it is found. | |
5141 # Check for GNU $ac_path_FGREP | |
5142 case `"$ac_path_FGREP" --version 2>&1` in | |
5143 *GNU*) | |
5144 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | |
5145 *) | |
5146 ac_count=0 | |
5147 $as_echo_n 0123456789 >"conftest.in" | |
5148 while : | |
5149 do | |
5150 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
5151 mv "conftest.tmp" "conftest.in" | |
5152 cp "conftest.in" "conftest.nl" | |
5153 $as_echo 'FGREP' >> "conftest.nl" | |
5154 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
5155 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
5156 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
5157 if test $ac_count -gt ${ac_path_FGREP_max-0}; then | |
5158 # Best one so far, save it but keep looking for a better one | |
5159 ac_cv_path_FGREP="$ac_path_FGREP" | |
5160 ac_path_FGREP_max=$ac_count | |
5161 fi | |
5162 # 10*(2^10) chars as input seems more than enough | |
5163 test $ac_count -gt 10 && break | |
5164 done | |
5165 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
5166 esac | |
5167 | |
5168 $ac_path_FGREP_found && break 3 | |
5169 done | |
5170 done | |
5171 done | |
5172 IFS=$as_save_IFS | |
5173 if test -z "$ac_cv_path_FGREP"; then | |
5174 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 | |
5175 fi | |
5176 else | |
5177 ac_cv_path_FGREP=$FGREP | |
5178 fi | |
5179 | |
5180 fi | |
5181 fi | |
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | |
5183 $as_echo "$ac_cv_path_FGREP" >&6; } | |
5184 FGREP="$ac_cv_path_FGREP" | |
5185 | |
5186 | |
5187 test -z "$GREP" && GREP=grep | |
5188 | |
5189 | |
5190 | |
5191 | |
5192 | |
5193 | |
5194 | |
5195 | |
5196 | |
5197 | |
5198 | |
5199 | |
5200 | |
5201 | |
5202 | |
5203 | |
5204 | |
5205 | |
5206 | |
5207 # Check whether --with-gnu-ld was given. | |
5208 if test "${with_gnu_ld+set}" = set; then : | |
5209 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes | |
5210 else | |
5211 with_gnu_ld=no | |
5212 fi | |
5213 | |
5214 ac_prog=ld | |
5215 if test yes = "$GCC"; then | |
5216 # 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 | |
5218 $as_echo_n "checking for ld used by $CC... " >&6; } | |
5219 case $host in | |
5220 *-*-mingw*) | |
5221 # gcc leaves a trailing carriage return, which upsets mingw | |
5222 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | |
5223 *) | |
5224 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | |
5225 esac | |
5226 case $ac_prog in | |
5227 # Accept absolute paths. | |
5228 [\\/]* | ?:[\\/]*) | |
5229 re_direlt='/[^/][^/]*/\.\./' | |
5230 # Canonicalize the pathname of ld | |
5231 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | |
5232 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | |
5233 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | |
5234 done | |
5235 test -z "$LD" && LD=$ac_prog | |
5236 ;; | |
5237 "") | |
5238 # If it fails, then pretend we aren't using GCC. | |
5239 ac_prog=ld | |
5240 ;; | |
5241 *) | |
5242 # If it is relative, then search for the first ld in PATH. | |
5243 with_gnu_ld=unknown | |
5244 ;; | |
5245 esac | |
5246 elif test yes = "$with_gnu_ld"; then | |
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | |
5248 $as_echo_n "checking for GNU ld... " >&6; } | |
5249 else | |
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | |
5251 $as_echo_n "checking for non-GNU ld... " >&6; } | |
5252 fi | |
5253 if ${lt_cv_path_LD+:} false; then : | |
5254 $as_echo_n "(cached) " >&6 | |
5255 else | |
5256 if test -z "$LD"; then | |
5257 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | |
5258 for ac_dir in $PATH; do | |
5259 IFS=$lt_save_ifs | |
5260 test -z "$ac_dir" && ac_dir=. | |
5261 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 | |
5263 # 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. | |
5265 # 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 | |
5267 *GNU* | *'with BFD'*) | |
5268 test no != "$with_gnu_ld" && break | |
5269 ;; | |
5270 *) | |
5271 test yes != "$with_gnu_ld" && break | |
5272 ;; | |
5273 esac | |
5274 fi | |
5275 done | |
5276 IFS=$lt_save_ifs | |
5277 else | |
5278 lt_cv_path_LD=$LD # Let the user override the test with a path. | |
5279 fi | |
5280 fi | |
5281 | |
5282 LD=$lt_cv_path_LD | |
5283 if test -n "$LD"; then | |
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | |
5285 $as_echo "$LD" >&6; } | |
5286 else | |
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5288 $as_echo "no" >&6; } | |
5289 fi | |
5290 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 | |
5292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | |
5293 if ${lt_cv_prog_gnu_ld+:} false; then : | |
5294 $as_echo_n "(cached) " >&6 | |
5295 else | |
5296 # I'd rather use --version here, but apparently some GNU lds only accept -v. | |
5297 case `$LD -v 2>&1 </dev/null` in | |
5298 *GNU* | *'with BFD'*) | |
5299 lt_cv_prog_gnu_ld=yes | |
5300 ;; | |
5301 *) | |
5302 lt_cv_prog_gnu_ld=no | |
5303 ;; | |
5304 esac | |
5305 fi | |
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | |
5307 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | |
5308 with_gnu_ld=$lt_cv_prog_gnu_ld | |
5309 | |
5310 | |
5311 | |
5312 | |
5313 | |
5314 | |
5315 | |
5316 | |
5317 | |
5318 { $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; } | |
5320 if ${lt_cv_path_NM+:} false; then : | |
5321 $as_echo_n "(cached) " >&6 | |
5322 else | |
5323 if test -n "$NM"; then | |
5324 # Let the user override the test. | |
5325 lt_cv_path_NM=$NM | |
5326 else | |
5327 lt_nm_to_check=${ac_tool_prefix}nm | |
5328 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | |
5329 lt_nm_to_check="$lt_nm_to_check nm" | |
5330 fi | |
5331 for lt_tmp_nm in $lt_nm_to_check; do | |
5332 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | |
5333 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | |
5334 IFS=$lt_save_ifs | |
5335 test -z "$ac_dir" && ac_dir=. | |
5336 tmp_nm=$ac_dir/$lt_tmp_nm | |
5337 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then | |
5338 # Check to see if the nm accepts a BSD-compat flag. | |
5339 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: | |
5340 # nm: unknown option "B" ignored | |
5341 # 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 | |
5343 case $build_os in | |
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" | |
5350 break 2 | |
5351 ;; | |
5352 *) | |
5353 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | |
5354 */dev/null*) | |
5355 lt_cv_path_NM="$tmp_nm -p" | |
5356 break 2 | |
5357 ;; | |
5358 *) | |
5359 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 | |
5361 ;; | |
5362 esac | |
5363 ;; | |
5364 esac | |
5365 fi | |
5366 done | |
5367 IFS=$lt_save_ifs | |
5368 done | |
5369 : ${lt_cv_path_NM=no} | |
5370 fi | |
5371 fi | |
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | |
5373 $as_echo "$lt_cv_path_NM" >&6; } | |
5374 if test no != "$lt_cv_path_NM"; then | |
5375 NM=$lt_cv_path_NM | |
5376 else | |
5377 # Didn't find any BSD compatible name lister, look for dumpbin. | |
5378 if test -n "$DUMPBIN"; then : | |
5379 # Let the user override the test. | |
5380 else | |
5381 if test -n "$ac_tool_prefix"; then | |
5382 for ac_prog in dumpbin "link -dump" | |
5383 do | |
5384 # 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 | |
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5387 $as_echo_n "checking for $ac_word... " >&6; } | 4713 $as_echo_n "checking for $ac_word... " >&6; } |
5388 if ${ac_cv_prog_DUMPBIN+:} false; then : | 4714 if ${ac_cv_prog_CC+:} false; then : |
5389 $as_echo_n "(cached) " >&6 | 4715 $as_echo_n "(cached) " >&6 |
5390 else | 4716 else |
5391 if test -n "$DUMPBIN"; then | 4717 if test -n "$CC"; then |
5392 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | 4718 ac_cv_prog_CC="$CC" # Let the user override the test. |
5393 else | 4719 else |
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5395 for as_dir in $PATH | 4721 for as_dir in $PATH |
5396 do | 4722 do |
5397 IFS=$as_save_IFS | 4723 IFS=$as_save_IFS |
5398 test -z "$as_dir" && as_dir=. | 4724 test -z "$as_dir" && as_dir=. |
5399 for ac_exec_ext in '' $ac_executable_extensions; do | 4725 for ac_exec_ext in '' $ac_executable_extensions; do |
5400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5401 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | 4727 ac_cv_prog_CC="${ac_tool_prefix}cc" |
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
5403 break 2 | 4729 break 2 |
5404 fi | 4730 fi |
5405 done | 4731 done |
5406 done | 4732 done |
5407 IFS=$as_save_IFS | 4733 IFS=$as_save_IFS |
5408 | 4734 |
5409 fi | 4735 fi |
5410 fi | 4736 fi |
5411 DUMPBIN=$ac_cv_prog_DUMPBIN | 4737 CC=$ac_cv_prog_CC |
5412 if test -n "$DUMPBIN"; then | 4738 if test -n "$CC"; then |
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | 4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5414 $as_echo "$DUMPBIN" >&6; } | 4740 $as_echo "$CC" >&6; } |
5415 else | 4741 else |
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5417 $as_echo "no" >&6; } | 4743 $as_echo "no" >&6; } |
5418 fi | 4744 fi |
5419 | 4745 |
5420 | 4746 |
5421 test -n "$DUMPBIN" && break | 4747 fi |
5422 done | |
5423 fi | 4748 fi |
5424 if test -z "$DUMPBIN"; then | 4749 if test -z "$CC"; then |
5425 ac_ct_DUMPBIN=$DUMPBIN | 4750 # Extract the first word of "cc", so it can be a program name with args. |
5426 for ac_prog in dumpbin "link -dump" | 4751 set dummy cc; ac_word=$2 |
5427 do | |
5428 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
5429 set dummy $ac_prog; ac_word=$2 | |
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5431 $as_echo_n "checking for $ac_word... " >&6; } | 4753 $as_echo_n "checking for $ac_word... " >&6; } |
5432 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : | 4754 if ${ac_cv_prog_CC+:} false; then : |
5433 $as_echo_n "(cached) " >&6 | 4755 $as_echo_n "(cached) " >&6 |
5434 else | 4756 else |
5435 if test -n "$ac_ct_DUMPBIN"; then | 4757 if test -n "$CC"; then |
5436 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | 4758 ac_cv_prog_CC="$CC" # Let the user override the test. |
5437 else | 4759 else |
| 4760 ac_prog_rejected=no |
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5439 for as_dir in $PATH | 4762 for as_dir in $PATH |
5440 do | 4763 do |
5441 IFS=$as_save_IFS | 4764 IFS=$as_save_IFS |
5442 test -z "$as_dir" && as_dir=. | 4765 test -z "$as_dir" && as_dir=. |
5443 for ac_exec_ext in '' $ac_executable_extensions; do | 4766 for ac_exec_ext in '' $ac_executable_extensions; do |
5444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5445 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | 4768 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 4769 ac_prog_rejected=yes |
| 4770 continue |
| 4771 fi |
| 4772 ac_cv_prog_CC="cc" |
5446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
5447 break 2 | 4774 break 2 |
5448 fi | 4775 fi |
5449 done | 4776 done |
5450 done | 4777 done |
5451 IFS=$as_save_IFS | 4778 IFS=$as_save_IFS |
5452 | 4779 |
| 4780 if test $ac_prog_rejected = yes; then |
| 4781 # We found a bogon in the path, so make sure we never use it. |
| 4782 set dummy $ac_cv_prog_CC |
| 4783 shift |
| 4784 if test $# != 0; then |
| 4785 # We chose a different compiler from the bogus one. |
| 4786 # However, it has the same basename, so the bogon will be chosen |
| 4787 # first if we set CC to just the basename; use the full file name. |
| 4788 shift |
| 4789 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 4790 fi |
5453 fi | 4791 fi |
5454 fi | 4792 fi |
5455 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | |
5456 if test -n "$ac_ct_DUMPBIN"; then | |
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | |
5458 $as_echo "$ac_ct_DUMPBIN" >&6; } | |
5459 else | |
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5461 $as_echo "no" >&6; } | |
5462 fi | 4793 fi |
5463 | 4794 CC=$ac_cv_prog_CC |
5464 | 4795 if test -n "$CC"; then |
5465 test -n "$ac_ct_DUMPBIN" && break | 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
5466 done | 4797 $as_echo "$CC" >&6; } |
5467 | |
5468 if test "x$ac_ct_DUMPBIN" = x; then | |
5469 DUMPBIN=":" | |
5470 else | |
5471 case $cross_compiling:$ac_tool_warned in | |
5472 yes:) | |
5473 { $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
;} | |
5475 ac_tool_warned=yes ;; | |
5476 esac | |
5477 DUMPBIN=$ac_ct_DUMPBIN | |
5478 fi | |
5479 fi | |
5480 | |
5481 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in | |
5482 *COFF*) | |
5483 DUMPBIN="$DUMPBIN -symbols -headers" | |
5484 ;; | |
5485 *) | |
5486 DUMPBIN=: | |
5487 ;; | |
5488 esac | |
5489 fi | |
5490 | |
5491 if test : != "$DUMPBIN"; then | |
5492 NM=$DUMPBIN | |
5493 fi | |
5494 fi | |
5495 test -z "$NM" && NM=nm | |
5496 | |
5497 | |
5498 | |
5499 | |
5500 | |
5501 | |
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 | |
5503 $as_echo_n "checking the name lister ($NM) interface... " >&6; } | |
5504 if ${lt_cv_nm_interface+:} false; then : | |
5505 $as_echo_n "(cached) " >&6 | |
5506 else | |
5507 lt_cv_nm_interface="BSD nm" | |
5508 echo "int some_variable = 0;" > conftest.$ac_ext | |
5509 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | |
5510 (eval "$ac_compile" 2>conftest.err) | |
5511 cat conftest.err >&5 | |
5512 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | |
5513 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | |
5514 cat conftest.err >&5 | |
5515 (eval echo "\"\$as_me:$LINENO: output\"" >&5) | |
5516 cat conftest.out >&5 | |
5517 if $GREP 'External.*some_variable' conftest.out > /dev/null; then | |
5518 lt_cv_nm_interface="MS dumpbin" | |
5519 fi | |
5520 rm -f conftest* | |
5521 fi | |
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | |
5523 $as_echo "$lt_cv_nm_interface" >&6; } | |
5524 | |
5525 # 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 | |
5527 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | |
5528 if ${lt_cv_sys_max_cmd_len+:} false; then : | |
5529 $as_echo_n "(cached) " >&6 | |
5530 else | |
5531 i=0 | |
5532 teststring=ABCD | |
5533 | |
5534 case $build_os in | |
5535 msdosdjgpp*) | |
5536 # 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 | |
5538 # during glob expansion). Even if it were fixed, the result of this | |
5539 # check would be larger than it should be. | |
5540 lt_cv_sys_max_cmd_len=12288; # 12K is about right | |
5541 ;; | |
5542 | |
5543 gnu*) | |
5544 # Under GNU Hurd, this test is not required because there is | |
5545 # no limit to the length of command line arguments. | |
5546 # Libtool will interpret -1 as no limit whatsoever | |
5547 lt_cv_sys_max_cmd_len=-1; | |
5548 ;; | |
5549 | |
5550 cygwin* | mingw* | cegcc*) | |
5551 # On Win9x/ME, this test blows up -- it succeeds, but takes | |
5552 # about 5 minutes as the teststring grows exponentially. | |
5553 # Worse, since 9x/ME are not pre-emptively multitasking, | |
5554 # you end up with a "frozen" computer, even though with patience | |
5555 # the test eventually succeeds (with a max line length of 256k). | |
5556 # Instead, let's just punt: use the minimum linelength reported by | |
5557 # all of the supported platforms: 8192 (on NT/2K/XP). | |
5558 lt_cv_sys_max_cmd_len=8192; | |
5559 ;; | |
5560 | |
5561 mint*) | |
5562 # On MiNT this can take a long time and run out of memory. | |
5563 lt_cv_sys_max_cmd_len=8192; | |
5564 ;; | |
5565 | |
5566 amigaos*) | |
5567 # On AmigaOS with pdksh, this test takes hours, literally. | |
5568 # So we just punt and use a minimum line length of 8192. | |
5569 lt_cv_sys_max_cmd_len=8192; | |
5570 ;; | |
5571 | |
5572 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) | |
5573 # This has been around since 386BSD, at least. Likely further. | |
5574 if test -x /sbin/sysctl; then | |
5575 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | |
5576 elif test -x /usr/sbin/sysctl; then | |
5577 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | |
5578 else | |
5579 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | |
5580 fi | |
5581 # And add a safety zone | |
5582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | |
5583 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | |
5584 ;; | |
5585 | |
5586 interix*) | |
5587 # We know the value 262144 and hardcode it with a safety zone (like BSD) | |
5588 lt_cv_sys_max_cmd_len=196608 | |
5589 ;; | |
5590 | |
5591 os2*) | |
5592 # The test takes a long time on OS/2. | |
5593 lt_cv_sys_max_cmd_len=8192 | |
5594 ;; | |
5595 | |
5596 osf*) | |
5597 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | |
5598 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | |
5599 # nice to cause kernel panics so lets avoid the loop below. | |
5600 # First set a reasonable default. | |
5601 lt_cv_sys_max_cmd_len=16384 | |
5602 # | |
5603 if test -x /sbin/sysconfig; then | |
5604 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | |
5605 *1*) lt_cv_sys_max_cmd_len=-1 ;; | |
5606 esac | |
5607 fi | |
5608 ;; | |
5609 sco3.2v5*) | |
5610 lt_cv_sys_max_cmd_len=102400 | |
5611 ;; | |
5612 sysv5* | sco5v6* | sysv4.2uw2*) | |
5613 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | |
5614 if test -n "$kargmax"; then | |
5615 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | |
5616 else | |
5617 lt_cv_sys_max_cmd_len=32768 | |
5618 fi | |
5619 ;; | |
5620 *) | |
5621 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | |
5622 if test -n "$lt_cv_sys_max_cmd_len" && \ | |
5623 test undefined != "$lt_cv_sys_max_cmd_len"; then | |
5624 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` | |
5626 else | |
5627 # Make teststring a little bigger before we do anything with it. | |
5628 # a 1K string should be a reasonable start. | |
5629 for i in 1 2 3 4 5 6 7 8; do | |
5630 teststring=$teststring$teststring | |
5631 done | |
5632 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | |
5633 # 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 | |
5635 # we can't tell. | |
5636 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ | |
5637 = "X$teststring$teststring"; } >/dev/null 2>&1 && | |
5638 test 17 != "$i" # 1/2 MB should be enough | |
5639 do | |
5640 i=`expr $i + 1` | |
5641 teststring=$teststring$teststring | |
5642 done | |
5643 # Only check the string length outside the loop. | |
5644 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | |
5645 teststring= | |
5646 # Add a significant safety factor because C++ compilers can tack on | |
5647 # massive amounts of additional arguments before passing them to the | |
5648 # 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` | |
5650 fi | |
5651 ;; | |
5652 esac | |
5653 | |
5654 fi | |
5655 | |
5656 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 | |
5658 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | |
5659 else | |
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | |
5661 $as_echo "none" >&6; } | |
5662 fi | |
5663 max_cmd_len=$lt_cv_sys_max_cmd_len | |
5664 | |
5665 | |
5666 | |
5667 | |
5668 | |
5669 | |
5670 : ${CP="cp -f"} | |
5671 : ${MV="mv -f"} | |
5672 : ${RM="rm -f"} | |
5673 | |
5674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
5675 lt_unset=unset | |
5676 else | |
5677 lt_unset=false | |
5678 fi | |
5679 | |
5680 | |
5681 | |
5682 | |
5683 | |
5684 # test EBCDIC or ASCII | |
5685 case `echo X|tr X '\101'` in | |
5686 A) # ASCII based system | |
5687 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | |
5688 lt_SP2NL='tr \040 \012' | |
5689 lt_NL2SP='tr \015\012 \040\040' | |
5690 ;; | |
5691 *) # EBCDIC based system | |
5692 lt_SP2NL='tr \100 \n' | |
5693 lt_NL2SP='tr \r\n \100\100' | |
5694 ;; | |
5695 esac | |
5696 | |
5697 | |
5698 | |
5699 | |
5700 | |
5701 | |
5702 | |
5703 | |
5704 | |
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to $host format" >&5 | |
5706 $as_echo_n "checking how to convert $build file names to $host format... " >&6;
} | |
5707 if ${lt_cv_to_host_file_cmd+:} false; then : | |
5708 $as_echo_n "(cached) " >&6 | |
5709 else | |
5710 case $host in | |
5711 *-*-mingw* ) | |
5712 case $build in | |
5713 *-*-mingw* ) # actually msys | |
5714 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 | |
5715 ;; | |
5716 *-*-cygwin* ) | |
5717 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 | |
5718 ;; | |
5719 * ) # otherwise, assume *nix | |
5720 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 | |
5721 ;; | |
5722 esac | |
5723 ;; | |
5724 *-*-cygwin* ) | |
5725 case $build in | |
5726 *-*-mingw* ) # actually msys | |
5727 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin | |
5728 ;; | |
5729 *-*-cygwin* ) | |
5730 lt_cv_to_host_file_cmd=func_convert_file_noop | |
5731 ;; | |
5732 * ) # otherwise, assume *nix | |
5733 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin | |
5734 ;; | |
5735 esac | |
5736 ;; | |
5737 * ) # unhandled hosts (and "normal" native builds) | |
5738 lt_cv_to_host_file_cmd=func_convert_file_noop | |
5739 ;; | |
5740 esac | |
5741 | |
5742 fi | |
5743 | |
5744 to_host_file_cmd=$lt_cv_to_host_file_cmd | |
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 | |
5746 $as_echo "$lt_cv_to_host_file_cmd" >&6; } | |
5747 | |
5748 | |
5749 | |
5750 | |
5751 | |
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to toolchain format" >&5 | |
5753 $as_echo_n "checking how to convert $build file names to toolchain format... " >
&6; } | |
5754 if ${lt_cv_to_tool_file_cmd+:} false; then : | |
5755 $as_echo_n "(cached) " >&6 | |
5756 else | |
5757 #assume ordinary cross tools, or native build. | |
5758 lt_cv_to_tool_file_cmd=func_convert_file_noop | |
5759 case $host in | |
5760 *-*-mingw* ) | |
5761 case $build in | |
5762 *-*-mingw* ) # actually msys | |
5763 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 | |
5764 ;; | |
5765 esac | |
5766 ;; | |
5767 esac | |
5768 | |
5769 fi | |
5770 | |
5771 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | |
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 | |
5773 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } | |
5774 | |
5775 | |
5776 | |
5777 | |
5778 | |
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload objec
t files" >&5 | |
5780 $as_echo_n "checking for $LD option to reload object files... " >&6; } | |
5781 if ${lt_cv_ld_reload_flag+:} false; then : | |
5782 $as_echo_n "(cached) " >&6 | |
5783 else | |
5784 lt_cv_ld_reload_flag='-r' | |
5785 fi | |
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | |
5787 $as_echo "$lt_cv_ld_reload_flag" >&6; } | |
5788 reload_flag=$lt_cv_ld_reload_flag | |
5789 case $reload_flag in | |
5790 "" | " "*) ;; | |
5791 *) reload_flag=" $reload_flag" ;; | |
5792 esac | |
5793 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
5794 case $host_os in | |
5795 cygwin* | mingw* | pw32* | cegcc*) | |
5796 if test yes != "$GCC"; then | |
5797 reload_cmds=false | |
5798 fi | |
5799 ;; | |
5800 darwin*) | |
5801 if test yes = "$GCC"; then | |
5802 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' | |
5803 else | |
5804 reload_cmds='$LD$reload_flag -o $output$reload_objs' | |
5805 fi | |
5806 ;; | |
5807 esac | |
5808 | |
5809 | |
5810 | |
5811 | |
5812 | |
5813 | |
5814 | |
5815 | |
5816 | |
5817 if test -n "$ac_tool_prefix"; then | |
5818 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. | |
5819 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
5821 $as_echo_n "checking for $ac_word... " >&6; } | |
5822 if ${ac_cv_prog_OBJDUMP+:} false; then : | |
5823 $as_echo_n "(cached) " >&6 | |
5824 else | |
5825 if test -n "$OBJDUMP"; then | |
5826 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
5827 else | |
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5829 for as_dir in $PATH | |
5830 do | |
5831 IFS=$as_save_IFS | |
5832 test -z "$as_dir" && as_dir=. | |
5833 for ac_exec_ext in '' $ac_executable_extensions; do | |
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5835 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
5837 break 2 | |
5838 fi | |
5839 done | |
5840 done | |
5841 IFS=$as_save_IFS | |
5842 | |
5843 fi | |
5844 fi | |
5845 OBJDUMP=$ac_cv_prog_OBJDUMP | |
5846 if test -n "$OBJDUMP"; then | |
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | |
5848 $as_echo "$OBJDUMP" >&6; } | |
5849 else | 4798 else |
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5851 $as_echo "no" >&6; } | 4800 $as_echo "no" >&6; } |
5852 fi | 4801 fi |
5853 | 4802 |
5854 | 4803 |
5855 fi | 4804 fi |
5856 if test -z "$ac_cv_prog_OBJDUMP"; then | 4805 if test -z "$CC"; then |
5857 ac_ct_OBJDUMP=$OBJDUMP | 4806 if test -n "$ac_tool_prefix"; then |
5858 # Extract the first word of "objdump", so it can be a program name with args. | 4807 for ac_prog in cl.exe |
5859 set dummy objdump; ac_word=$2 | |
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
5861 $as_echo_n "checking for $ac_word... " >&6; } | |
5862 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | |
5863 $as_echo_n "(cached) " >&6 | |
5864 else | |
5865 if test -n "$ac_ct_OBJDUMP"; then | |
5866 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | |
5867 else | |
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5869 for as_dir in $PATH | |
5870 do | |
5871 IFS=$as_save_IFS | |
5872 test -z "$as_dir" && as_dir=. | |
5873 for ac_exec_ext in '' $ac_executable_extensions; do | |
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
5875 ac_cv_prog_ac_ct_OBJDUMP="objdump" | |
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
5877 break 2 | |
5878 fi | |
5879 done | |
5880 done | |
5881 IFS=$as_save_IFS | |
5882 | |
5883 fi | |
5884 fi | |
5885 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | |
5886 if test -n "$ac_ct_OBJDUMP"; then | |
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | |
5888 $as_echo "$ac_ct_OBJDUMP" >&6; } | |
5889 else | |
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5891 $as_echo "no" >&6; } | |
5892 fi | |
5893 | |
5894 if test "x$ac_ct_OBJDUMP" = x; then | |
5895 OBJDUMP="false" | |
5896 else | |
5897 case $cross_compiling:$ac_tool_warned in | |
5898 yes:) | |
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
5901 ac_tool_warned=yes ;; | |
5902 esac | |
5903 OBJDUMP=$ac_ct_OBJDUMP | |
5904 fi | |
5905 else | |
5906 OBJDUMP="$ac_cv_prog_OBJDUMP" | |
5907 fi | |
5908 | |
5909 test -z "$OBJDUMP" && OBJDUMP=objdump | |
5910 | |
5911 | |
5912 | |
5913 | |
5914 | |
5915 | |
5916 | |
5917 | |
5918 | |
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent lib
raries" >&5 | |
5920 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | |
5921 if ${lt_cv_deplibs_check_method+:} false; then : | |
5922 $as_echo_n "(cached) " >&6 | |
5923 else | |
5924 lt_cv_file_magic_cmd='$MAGIC_CMD' | |
5925 lt_cv_file_magic_test_file= | |
5926 lt_cv_deplibs_check_method='unknown' | |
5927 # Need to set the preceding variable on all platforms that support | |
5928 # interlibrary dependencies. | |
5929 # 'none' -- dependencies not supported. | |
5930 # 'unknown' -- same as none, but documents that we really don't know. | |
5931 # 'pass_all' -- all dependencies passed with no checks. | |
5932 # 'test_compile' -- check by making test program. | |
5933 # 'file_magic [[regex]]' -- check by looking for files in library path | |
5934 # that 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 | |
5936 # whether 'pass_all' will *always* work, you probably want this one. | |
5937 | |
5938 case $host_os in | |
5939 aix[4-9]*) | |
5940 lt_cv_deplibs_check_method=pass_all | |
5941 ;; | |
5942 | |
5943 beos*) | |
5944 lt_cv_deplibs_check_method=pass_all | |
5945 ;; | |
5946 | |
5947 bsdi[45]*) | |
5948 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' | |
5950 lt_cv_file_magic_test_file=/shlib/libc.so | |
5951 ;; | |
5952 | |
5953 cygwin*) | |
5954 # func_win32_libid is a shell function defined in ltmain.sh | |
5955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
5956 lt_cv_file_magic_cmd='func_win32_libid' | |
5957 ;; | |
5958 | |
5959 mingw* | pw32*) | |
5960 # 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', | |
5962 # unless we find 'file', for example because we are cross-compiling. | |
5963 if ( file / ) >/dev/null 2>&1; then | |
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | |
5965 lt_cv_file_magic_cmd='func_win32_libid' | |
5966 else | |
5967 # 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)' | |
5969 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
5970 fi | |
5971 ;; | |
5972 | |
5973 cegcc*) | |
5974 # use the weaker test based on 'objdump'. See mingw*. | |
5975 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architect
ure: arm)?' | |
5976 lt_cv_file_magic_cmd='$OBJDUMP -f' | |
5977 ;; | |
5978 | |
5979 darwin* | rhapsody*) | |
5980 lt_cv_deplibs_check_method=pass_all | |
5981 ;; | |
5982 | |
5983 freebsd* | dragonfly*) | |
5984 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | |
5985 case $host_cpu in | |
5986 i*86 ) | |
5987 # Not sure whether the presence of OpenBSD here was a mistake. | |
5988 # Let's accept both of them until this is cleared up. | |
5989 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8
6 (compact )?demand paged shared library' | |
5990 lt_cv_file_magic_cmd=/usr/bin/file | |
5991 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | |
5992 ;; | |
5993 esac | |
5994 else | |
5995 lt_cv_deplibs_check_method=pass_all | |
5996 fi | |
5997 ;; | |
5998 | |
5999 haiku*) | |
6000 lt_cv_deplibs_check_method=pass_all | |
6001 ;; | |
6002 | |
6003 hpux10.20* | hpux11*) | |
6004 lt_cv_file_magic_cmd=/usr/bin/file | |
6005 case $host_cpu in | |
6006 ia64*) | |
6007 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha
red object file - IA64' | |
6008 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | |
6009 ;; | |
6010 hppa*64*) | |
6011 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(
-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' | |
6012 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | |
6013 ;; | |
6014 *) | |
6015 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]
) shared library' | |
6016 lt_cv_file_magic_test_file=/usr/lib/libc.sl | |
6017 ;; | |
6018 esac | |
6019 ;; | |
6020 | |
6021 interix[3-9]*) | |
6022 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | |
6023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | |
6024 ;; | |
6025 | |
6026 irix5* | irix6* | nonstopux*) | |
6027 case $LD in | |
6028 *-32|*"-32 ") libmagic=32-bit;; | |
6029 *-n32|*"-n32 ") libmagic=N32;; | |
6030 *-64|*"-64 ") libmagic=64-bit;; | |
6031 *) libmagic=never-match;; | |
6032 esac | |
6033 lt_cv_deplibs_check_method=pass_all | |
6034 ;; | |
6035 | |
6036 # This must be glibc/ELF. | |
6037 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |
6038 lt_cv_deplibs_check_method=pass_all | |
6039 ;; | |
6040 | |
6041 netbsd*) | |
6042 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)$' | |
6044 else | |
6045 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | |
6046 fi | |
6047 ;; | |
6048 | |
6049 newos6*) | |
6050 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 | |
6052 lt_cv_file_magic_test_file=/usr/lib/libnls.so | |
6053 ;; | |
6054 | |
6055 *nto* | *qnx*) | |
6056 lt_cv_deplibs_check_method=pass_all | |
6057 ;; | |
6058 | |
6059 openbsd* | bitrig*) | |
6060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | |
6061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' | |
6062 else | |
6063 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' | |
6064 fi | |
6065 ;; | |
6066 | |
6067 osf3* | osf4* | osf5*) | |
6068 lt_cv_deplibs_check_method=pass_all | |
6069 ;; | |
6070 | |
6071 rdos*) | |
6072 lt_cv_deplibs_check_method=pass_all | |
6073 ;; | |
6074 | |
6075 solaris*) | |
6076 lt_cv_deplibs_check_method=pass_all | |
6077 ;; | |
6078 | |
6079 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
6080 lt_cv_deplibs_check_method=pass_all | |
6081 ;; | |
6082 | |
6083 sysv4 | sysv4.3*) | |
6084 case $host_vendor in | |
6085 motorola) | |
6086 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared ob
ject|dynamic lib) M[0-9][0-9]* Version [0-9]' | |
6087 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | |
6088 ;; | |
6089 ncr) | |
6090 lt_cv_deplibs_check_method=pass_all | |
6091 ;; | |
6092 sequent) | |
6093 lt_cv_file_magic_cmd='/bin/file' | |
6094 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared ob
ject|dynamic lib )' | |
6095 ;; | |
6096 sni) | |
6097 lt_cv_file_magic_cmd='/bin/file' | |
6098 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic li
b" | |
6099 lt_cv_file_magic_test_file=/lib/libc.so | |
6100 ;; | |
6101 siemens) | |
6102 lt_cv_deplibs_check_method=pass_all | |
6103 ;; | |
6104 pc) | |
6105 lt_cv_deplibs_check_method=pass_all | |
6106 ;; | |
6107 esac | |
6108 ;; | |
6109 | |
6110 tpf*) | |
6111 lt_cv_deplibs_check_method=pass_all | |
6112 ;; | |
6113 os2*) | |
6114 lt_cv_deplibs_check_method=pass_all | |
6115 ;; | |
6116 esac | |
6117 | |
6118 fi | |
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 | |
6120 $as_echo "$lt_cv_deplibs_check_method" >&6; } | |
6121 | |
6122 file_magic_glob= | |
6123 want_nocaseglob=no | |
6124 if test "$build" = "$host"; then | |
6125 case $host_os in | |
6126 mingw* | pw32*) | |
6127 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | |
6128 want_nocaseglob=yes | |
6129 else | |
6130 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
| $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` | |
6131 fi | |
6132 ;; | |
6133 esac | |
6134 fi | |
6135 | |
6136 file_magic_cmd=$lt_cv_file_magic_cmd | |
6137 deplibs_check_method=$lt_cv_deplibs_check_method | |
6138 test -z "$deplibs_check_method" && deplibs_check_method=unknown | |
6139 | |
6140 | |
6141 | |
6142 | |
6143 | |
6144 | |
6145 | |
6146 | |
6147 | |
6148 | |
6149 | |
6150 | |
6151 | |
6152 | |
6153 | |
6154 | |
6155 | |
6156 | |
6157 | |
6158 | |
6159 | |
6160 | |
6161 if test -n "$ac_tool_prefix"; then | |
6162 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program
name with args. | |
6163 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6165 $as_echo_n "checking for $ac_word... " >&6; } | |
6166 if ${ac_cv_prog_DLLTOOL+:} false; then : | |
6167 $as_echo_n "(cached) " >&6 | |
6168 else | |
6169 if test -n "$DLLTOOL"; then | |
6170 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
6171 else | |
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6173 for as_dir in $PATH | |
6174 do | |
6175 IFS=$as_save_IFS | |
6176 test -z "$as_dir" && as_dir=. | |
6177 for ac_exec_ext in '' $ac_executable_extensions; do | |
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6179 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6181 break 2 | |
6182 fi | |
6183 done | |
6184 done | |
6185 IFS=$as_save_IFS | |
6186 | |
6187 fi | |
6188 fi | |
6189 DLLTOOL=$ac_cv_prog_DLLTOOL | |
6190 if test -n "$DLLTOOL"; then | |
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | |
6192 $as_echo "$DLLTOOL" >&6; } | |
6193 else | |
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6195 $as_echo "no" >&6; } | |
6196 fi | |
6197 | |
6198 | |
6199 fi | |
6200 if test -z "$ac_cv_prog_DLLTOOL"; then | |
6201 ac_ct_DLLTOOL=$DLLTOOL | |
6202 # Extract the first word of "dlltool", so it can be a program name with args. | |
6203 set dummy dlltool; ac_word=$2 | |
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6205 $as_echo_n "checking for $ac_word... " >&6; } | |
6206 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | |
6207 $as_echo_n "(cached) " >&6 | |
6208 else | |
6209 if test -n "$ac_ct_DLLTOOL"; then | |
6210 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
6211 else | |
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6213 for as_dir in $PATH | |
6214 do | |
6215 IFS=$as_save_IFS | |
6216 test -z "$as_dir" && as_dir=. | |
6217 for ac_exec_ext in '' $ac_executable_extensions; do | |
6218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6219 ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6221 break 2 | |
6222 fi | |
6223 done | |
6224 done | |
6225 IFS=$as_save_IFS | |
6226 | |
6227 fi | |
6228 fi | |
6229 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
6230 if test -n "$ac_ct_DLLTOOL"; then | |
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | |
6232 $as_echo "$ac_ct_DLLTOOL" >&6; } | |
6233 else | |
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6235 $as_echo "no" >&6; } | |
6236 fi | |
6237 | |
6238 if test "x$ac_ct_DLLTOOL" = x; then | |
6239 DLLTOOL="false" | |
6240 else | |
6241 case $cross_compiling:$ac_tool_warned in | |
6242 yes:) | |
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
6244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
6245 ac_tool_warned=yes ;; | |
6246 esac | |
6247 DLLTOOL=$ac_ct_DLLTOOL | |
6248 fi | |
6249 else | |
6250 DLLTOOL="$ac_cv_prog_DLLTOOL" | |
6251 fi | |
6252 | |
6253 test -z "$DLLTOOL" && DLLTOOL=dlltool | |
6254 | |
6255 | |
6256 | |
6257 | |
6258 | |
6259 | |
6260 | |
6261 | |
6262 | |
6263 | |
6264 { $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; } | |
6266 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | |
6267 $as_echo_n "(cached) " >&6 | |
6268 else | |
6269 lt_cv_sharedlib_from_linklib_cmd='unknown' | |
6270 | |
6271 case $host_os in | |
6272 cygwin* | mingw* | pw32* | cegcc*) | |
6273 # two different shell functions defined in ltmain.sh; | |
6274 # decide which one to use based on capabilities of $DLLTOOL | |
6275 case `$DLLTOOL --help 2>&1` in | |
6276 *--identify-strict*) | |
6277 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | |
6278 ;; | |
6279 *) | |
6280 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | |
6281 ;; | |
6282 esac | |
6283 ;; | |
6284 *) | |
6285 # fallback: assume linklib IS sharedlib | |
6286 lt_cv_sharedlib_from_linklib_cmd=$ECHO | |
6287 ;; | |
6288 esac | |
6289 | |
6290 fi | |
6291 { $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; } | |
6293 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | |
6294 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | |
6295 | |
6296 | |
6297 | |
6298 | |
6299 | |
6300 | |
6301 | |
6302 | |
6303 if test -n "$ac_tool_prefix"; then | |
6304 for ac_prog in ar | |
6305 do | 4808 do |
6306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. | 4809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
6307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 4810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6309 $as_echo_n "checking for $ac_word... " >&6; } | 4812 $as_echo_n "checking for $ac_word... " >&6; } |
6310 if ${ac_cv_prog_AR+:} false; then : | 4813 if ${ac_cv_prog_CC+:} false; then : |
6311 $as_echo_n "(cached) " >&6 | 4814 $as_echo_n "(cached) " >&6 |
6312 else | 4815 else |
6313 if test -n "$AR"; then | 4816 if test -n "$CC"; then |
6314 ac_cv_prog_AR="$AR" # Let the user override the test. | 4817 ac_cv_prog_CC="$CC" # Let the user override the test. |
6315 else | 4818 else |
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6317 for as_dir in $PATH | 4820 for as_dir in $PATH |
6318 do | |
6319 IFS=$as_save_IFS | |
6320 test -z "$as_dir" && as_dir=. | |
6321 for ac_exec_ext in '' $ac_executable_extensions; do | |
6322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6323 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | |
6324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6325 break 2 | |
6326 fi | |
6327 done | |
6328 done | |
6329 IFS=$as_save_IFS | |
6330 | |
6331 fi | |
6332 fi | |
6333 AR=$ac_cv_prog_AR | |
6334 if test -n "$AR"; then | |
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | |
6336 $as_echo "$AR" >&6; } | |
6337 else | |
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6339 $as_echo "no" >&6; } | |
6340 fi | |
6341 | |
6342 | |
6343 test -n "$AR" && break | |
6344 done | |
6345 fi | |
6346 if test -z "$AR"; then | |
6347 ac_ct_AR=$AR | |
6348 for ac_prog in ar | |
6349 do | |
6350 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6351 set dummy $ac_prog; ac_word=$2 | |
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6353 $as_echo_n "checking for $ac_word... " >&6; } | |
6354 if ${ac_cv_prog_ac_ct_AR+:} false; then : | |
6355 $as_echo_n "(cached) " >&6 | |
6356 else | |
6357 if test -n "$ac_ct_AR"; then | |
6358 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
6359 else | |
6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6361 for as_dir in $PATH | |
6362 do | |
6363 IFS=$as_save_IFS | |
6364 test -z "$as_dir" && as_dir=. | |
6365 for ac_exec_ext in '' $ac_executable_extensions; do | |
6366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6367 ac_cv_prog_ac_ct_AR="$ac_prog" | |
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6369 break 2 | |
6370 fi | |
6371 done | |
6372 done | |
6373 IFS=$as_save_IFS | |
6374 | |
6375 fi | |
6376 fi | |
6377 ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
6378 if test -n "$ac_ct_AR"; then | |
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | |
6380 $as_echo "$ac_ct_AR" >&6; } | |
6381 else | |
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6383 $as_echo "no" >&6; } | |
6384 fi | |
6385 | |
6386 | |
6387 test -n "$ac_ct_AR" && break | |
6388 done | |
6389 | |
6390 if test "x$ac_ct_AR" = x; then | |
6391 AR="false" | |
6392 else | |
6393 case $cross_compiling:$ac_tool_warned in | |
6394 yes:) | |
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
6396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
6397 ac_tool_warned=yes ;; | |
6398 esac | |
6399 AR=$ac_ct_AR | |
6400 fi | |
6401 fi | |
6402 | |
6403 : ${AR=ar} | |
6404 : ${AR_FLAGS=cru} | |
6405 | |
6406 | |
6407 | |
6408 | |
6409 | |
6410 | |
6411 | |
6412 | |
6413 | |
6414 | |
6415 | |
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&
5 | |
6417 $as_echo_n "checking for archiver @FILE support... " >&6; } | |
6418 if ${lt_cv_ar_at_file+:} false; then : | |
6419 $as_echo_n "(cached) " >&6 | |
6420 else | |
6421 lt_cv_ar_at_file=no | |
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6423 /* end confdefs.h. */ | |
6424 | |
6425 int | |
6426 main () | |
6427 { | |
6428 | |
6429 ; | |
6430 return 0; | |
6431 } | |
6432 _ACEOF | |
6433 if ac_fn_c_try_compile "$LINENO"; then : | |
6434 echo conftest.$ac_objext > conftest.lst | |
6435 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | |
6436 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
6437 (eval $lt_ar_try) 2>&5 | |
6438 ac_status=$? | |
6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6440 test $ac_status = 0; } | |
6441 if test 0 -eq "$ac_status"; then | |
6442 # Ensure the archiver fails upon bogus file names. | |
6443 rm -f conftest.$ac_objext libconftest.a | |
6444 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | |
6445 (eval $lt_ar_try) 2>&5 | |
6446 ac_status=$? | |
6447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6448 test $ac_status = 0; } | |
6449 if test 0 -ne "$ac_status"; then | |
6450 lt_cv_ar_at_file=@ | |
6451 fi | |
6452 fi | |
6453 rm -f conftest.* libconftest.a | |
6454 | |
6455 fi | |
6456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6457 | |
6458 fi | |
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | |
6460 $as_echo "$lt_cv_ar_at_file" >&6; } | |
6461 | |
6462 if test no = "$lt_cv_ar_at_file"; then | |
6463 archiver_list_spec= | |
6464 else | |
6465 archiver_list_spec=$lt_cv_ar_at_file | |
6466 fi | |
6467 | |
6468 | |
6469 | |
6470 | |
6471 | |
6472 | |
6473 | |
6474 if test -n "$ac_tool_prefix"; then | |
6475 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
6476 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6478 $as_echo_n "checking for $ac_word... " >&6; } | |
6479 if ${ac_cv_prog_STRIP+:} false; then : | |
6480 $as_echo_n "(cached) " >&6 | |
6481 else | |
6482 if test -n "$STRIP"; then | |
6483 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
6484 else | |
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6486 for as_dir in $PATH | |
6487 do | |
6488 IFS=$as_save_IFS | |
6489 test -z "$as_dir" && as_dir=. | |
6490 for ac_exec_ext in '' $ac_executable_extensions; do | |
6491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6492 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
6493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6494 break 2 | |
6495 fi | |
6496 done | |
6497 done | |
6498 IFS=$as_save_IFS | |
6499 | |
6500 fi | |
6501 fi | |
6502 STRIP=$ac_cv_prog_STRIP | |
6503 if test -n "$STRIP"; then | |
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
6505 $as_echo "$STRIP" >&6; } | |
6506 else | |
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6508 $as_echo "no" >&6; } | |
6509 fi | |
6510 | |
6511 | |
6512 fi | |
6513 if test -z "$ac_cv_prog_STRIP"; then | |
6514 ac_ct_STRIP=$STRIP | |
6515 # Extract the first word of "strip", so it can be a program name with args. | |
6516 set dummy strip; ac_word=$2 | |
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6518 $as_echo_n "checking for $ac_word... " >&6; } | |
6519 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
6520 $as_echo_n "(cached) " >&6 | |
6521 else | |
6522 if test -n "$ac_ct_STRIP"; then | |
6523 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
6524 else | |
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6526 for as_dir in $PATH | |
6527 do | |
6528 IFS=$as_save_IFS | |
6529 test -z "$as_dir" && as_dir=. | |
6530 for ac_exec_ext in '' $ac_executable_extensions; do | |
6531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6532 ac_cv_prog_ac_ct_STRIP="strip" | |
6533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6534 break 2 | |
6535 fi | |
6536 done | |
6537 done | |
6538 IFS=$as_save_IFS | |
6539 | |
6540 fi | |
6541 fi | |
6542 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
6543 if test -n "$ac_ct_STRIP"; then | |
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
6545 $as_echo "$ac_ct_STRIP" >&6; } | |
6546 else | |
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6548 $as_echo "no" >&6; } | |
6549 fi | |
6550 | |
6551 if test "x$ac_ct_STRIP" = x; then | |
6552 STRIP=":" | |
6553 else | |
6554 case $cross_compiling:$ac_tool_warned in | |
6555 yes:) | |
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
6557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
6558 ac_tool_warned=yes ;; | |
6559 esac | |
6560 STRIP=$ac_ct_STRIP | |
6561 fi | |
6562 else | |
6563 STRIP="$ac_cv_prog_STRIP" | |
6564 fi | |
6565 | |
6566 test -z "$STRIP" && STRIP=: | |
6567 | |
6568 | |
6569 | |
6570 | |
6571 | |
6572 | |
6573 if test -n "$ac_tool_prefix"; then | |
6574 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. | |
6575 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6577 $as_echo_n "checking for $ac_word... " >&6; } | |
6578 if ${ac_cv_prog_RANLIB+:} false; then : | |
6579 $as_echo_n "(cached) " >&6 | |
6580 else | |
6581 if test -n "$RANLIB"; then | |
6582 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
6583 else | |
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6585 for as_dir in $PATH | |
6586 do | |
6587 IFS=$as_save_IFS | |
6588 test -z "$as_dir" && as_dir=. | |
6589 for ac_exec_ext in '' $ac_executable_extensions; do | |
6590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6591 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6593 break 2 | |
6594 fi | |
6595 done | |
6596 done | |
6597 IFS=$as_save_IFS | |
6598 | |
6599 fi | |
6600 fi | |
6601 RANLIB=$ac_cv_prog_RANLIB | |
6602 if test -n "$RANLIB"; then | |
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | |
6604 $as_echo "$RANLIB" >&6; } | |
6605 else | |
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6607 $as_echo "no" >&6; } | |
6608 fi | |
6609 | |
6610 | |
6611 fi | |
6612 if test -z "$ac_cv_prog_RANLIB"; then | |
6613 ac_ct_RANLIB=$RANLIB | |
6614 # Extract the first word of "ranlib", so it can be a program name with args. | |
6615 set dummy ranlib; ac_word=$2 | |
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
6617 $as_echo_n "checking for $ac_word... " >&6; } | |
6618 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | |
6619 $as_echo_n "(cached) " >&6 | |
6620 else | |
6621 if test -n "$ac_ct_RANLIB"; then | |
6622 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
6623 else | |
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6625 for as_dir in $PATH | |
6626 do | |
6627 IFS=$as_save_IFS | |
6628 test -z "$as_dir" && as_dir=. | |
6629 for ac_exec_ext in '' $ac_executable_extensions; do | |
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
6631 ac_cv_prog_ac_ct_RANLIB="ranlib" | |
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
6633 break 2 | |
6634 fi | |
6635 done | |
6636 done | |
6637 IFS=$as_save_IFS | |
6638 | |
6639 fi | |
6640 fi | |
6641 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
6642 if test -n "$ac_ct_RANLIB"; then | |
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
6644 $as_echo "$ac_ct_RANLIB" >&6; } | |
6645 else | |
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6647 $as_echo "no" >&6; } | |
6648 fi | |
6649 | |
6650 if test "x$ac_ct_RANLIB" = x; then | |
6651 RANLIB=":" | |
6652 else | |
6653 case $cross_compiling:$ac_tool_warned in | |
6654 yes:) | |
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
6656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
6657 ac_tool_warned=yes ;; | |
6658 esac | |
6659 RANLIB=$ac_ct_RANLIB | |
6660 fi | |
6661 else | |
6662 RANLIB="$ac_cv_prog_RANLIB" | |
6663 fi | |
6664 | |
6665 test -z "$RANLIB" && RANLIB=: | |
6666 | |
6667 | |
6668 | |
6669 | |
6670 | |
6671 | |
6672 # Determine commands to create old-style static archives. | |
6673 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | |
6674 old_postinstall_cmds='chmod 644 $oldlib' | |
6675 old_postuninstall_cmds= | |
6676 | |
6677 if test -n "$RANLIB"; then | |
6678 case $host_os in | |
6679 bitrig* | openbsd*) | |
6680 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | |
6681 ;; | |
6682 *) | |
6683 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | |
6684 ;; | |
6685 esac | |
6686 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | |
6687 fi | |
6688 | |
6689 case $host_os in | |
6690 darwin*) | |
6691 lock_old_archive_extraction=yes ;; | |
6692 *) | |
6693 lock_old_archive_extraction=no ;; | |
6694 esac | |
6695 | |
6696 | |
6697 | |
6698 | |
6699 | |
6700 | |
6701 | |
6702 | |
6703 | |
6704 | |
6705 | |
6706 | |
6707 | |
6708 | |
6709 | |
6710 | |
6711 | |
6712 | |
6713 | |
6714 | |
6715 | |
6716 | |
6717 | |
6718 | |
6719 | |
6720 | |
6721 | |
6722 | |
6723 | |
6724 | |
6725 | |
6726 | |
6727 | |
6728 | |
6729 | |
6730 | |
6731 | |
6732 | |
6733 | |
6734 # If no C compiler was specified, use CC. | |
6735 LTCC=${LTCC-"$CC"} | |
6736 | |
6737 # If no C compiler flags were specified, use CFLAGS. | |
6738 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
6739 | |
6740 # Allow CC to be a program name with arguments. | |
6741 compiler=$CC | |
6742 | |
6743 | |
6744 # Check for command to grab the raw symbol name followed by C symbol from nm. | |
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output fr
om $compiler object" >&5 | |
6746 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6;
} | |
6747 if ${lt_cv_sys_global_symbol_pipe+:} false; then : | |
6748 $as_echo_n "(cached) " >&6 | |
6749 else | |
6750 | |
6751 # These are sane defaults that work on at least a few old systems. | |
6752 # [They come from Ultrix. What could be older than Ultrix?!! ;)] | |
6753 | |
6754 # Character class describing NM global symbol codes. | |
6755 symcode='[BCDEGRST]' | |
6756 | |
6757 # Regexp to match symbols that can be accessed directly from C. | |
6758 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | |
6759 | |
6760 # Define system-specific variables. | |
6761 case $host_os in | |
6762 aix*) | |
6763 symcode='[BCDT]' | |
6764 ;; | |
6765 cygwin* | mingw* | pw32* | cegcc*) | |
6766 symcode='[ABCDGISTW]' | |
6767 ;; | |
6768 hpux*) | |
6769 if test ia64 = "$host_cpu"; then | |
6770 symcode='[ABCDEGRST]' | |
6771 fi | |
6772 ;; | |
6773 irix* | nonstopux*) | |
6774 symcode='[BCDEGRST]' | |
6775 ;; | |
6776 osf*) | |
6777 symcode='[BCDEGQRST]' | |
6778 ;; | |
6779 solaris*) | |
6780 symcode='[BDRT]' | |
6781 ;; | |
6782 sco3.2v5*) | |
6783 symcode='[DT]' | |
6784 ;; | |
6785 sysv4.2uw2*) | |
6786 symcode='[DT]' | |
6787 ;; | |
6788 sysv5* | sco5v6* | unixware* | OpenUNIX*) | |
6789 symcode='[ABDT]' | |
6790 ;; | |
6791 sysv4) | |
6792 symcode='[DFNSTU]' | |
6793 ;; | |
6794 esac | |
6795 | |
6796 # If we're using GNU nm, then use its standard symbol codes. | |
6797 case `$NM -V 2>&1` in | |
6798 *GNU* | *'with BFD'*) | |
6799 symcode='[ABCDGIRSTW]' ;; | |
6800 esac | |
6801 | |
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. | |
6820 # Some systems (esp. on ia64) link data and code symbols differently, | |
6821 # so use this general approach. | |
6822 lt_cv_sys_global_symbol_to_cdecl="sed -n"\ | |
6823 $lt_cdecl_hook\ | |
6824 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ | |
6825 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" | |
6826 | |
6827 # Transform an extracted symbol line into symbol name and symbol address | |
6828 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ | |
6829 $lt_c_name_hook\ | |
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 | |
6841 # Handle CRLF in mingw tool chain | |
6842 opt_cr= | |
6843 case $build_os in | |
6844 mingw*) | |
6845 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | |
6846 ;; | |
6847 esac | |
6848 | |
6849 # Try without a prefix underscore, then with it. | |
6850 for ac_symprfx in "" "_"; do | |
6851 | |
6852 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | |
6853 symxfrm="\\1 $ac_symprfx\\2 \\2" | |
6854 | |
6855 # Write the raw and C identifiers. | |
6856 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
6857 # Fake it for dumpbin and say T for any non-static function, | |
6858 # D for any global variable and I for any imported variable. | |
6859 # Also find C++ and __fastcall symbols from MSVC++, | |
6860 # which start with @ or ?. | |
6861 lt_cv_sys_global_symbol_pipe="$AWK '"\ | |
6862 " {last_section=section; section=\$ 3};"\ | |
6863 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | |
6864 " /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};"\ | |
6869 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | |
6870 " {if(hide[section]) next};"\ | |
6871 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ | |
6872 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ | |
6873 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ | |
6874 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ | |
6875 " ' prfx=^$ac_symprfx" | |
6876 else | |
6877 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[
][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | |
6878 fi | |
6879 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" | |
6880 | |
6881 # Check to see that the pipe works correctly. | |
6882 pipe_works=no | |
6883 | |
6884 rm -f conftest* | |
6885 cat > conftest.$ac_ext <<_LT_EOF | |
6886 #ifdef __cplusplus | |
6887 extern "C" { | |
6888 #endif | |
6889 char nm_test_var; | |
6890 void nm_test_func(void); | |
6891 void nm_test_func(void){} | |
6892 #ifdef __cplusplus | |
6893 } | |
6894 #endif | |
6895 int main(){nm_test_var='a';nm_test_func();return(0);} | |
6896 _LT_EOF | |
6897 | |
6898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
6899 (eval $ac_compile) 2>&5 | |
6900 ac_status=$? | |
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6902 test $ac_status = 0; }; then | |
6903 # Now try to grab the symbols. | |
6904 nlist=conftest.nm | |
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objex
t \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | |
6906 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>
&5 | |
6907 ac_status=$? | |
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6909 test $ac_status = 0; } && test -s "$nlist"; then | |
6910 # Try sorting and uniquifying the output. | |
6911 if sort "$nlist" | uniq > "$nlist"T; then | |
6912 mv -f "$nlist"T "$nlist" | |
6913 else | |
6914 rm -f "$nlist"T | |
6915 fi | |
6916 | |
6917 # Make sure that we snagged all the symbols we need. | |
6918 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | |
6919 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | |
6920 cat <<_LT_EOF > conftest.$ac_ext | |
6921 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ | |
6922 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE | |
6923 /* DATA imports from DLLs on WIN32 can't be const, because runtime | |
6924 relocations are performed -- see ld's documentation on pseudo-relocs. */ | |
6925 # define LT_DLSYM_CONST | |
6926 #elif defined __osf__ | |
6927 /* This system does not cope well with relocations in const data. */ | |
6928 # define LT_DLSYM_CONST | |
6929 #else | |
6930 # define LT_DLSYM_CONST const | |
6931 #endif | |
6932 | |
6933 #ifdef __cplusplus | |
6934 extern "C" { | |
6935 #endif | |
6936 | |
6937 _LT_EOF | |
6938 # Now generate the symbol file. | |
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' | |
6940 | |
6941 cat <<_LT_EOF >> conftest.$ac_ext | |
6942 | |
6943 /* The mapping between symbol names and symbols. */ | |
6944 LT_DLSYM_CONST struct { | |
6945 const char *name; | |
6946 void *address; | |
6947 } | |
6948 lt__PROGRAM__LTX_preloaded_symbols[] = | |
6949 { | |
6950 { "@PROGRAM@", (void *) 0 }, | |
6951 _LT_EOF | |
6952 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "
$nlist" | $GREP -v main >> conftest.$ac_ext | |
6953 cat <<\_LT_EOF >> conftest.$ac_ext | |
6954 {0, (void *) 0} | |
6955 }; | |
6956 | |
6957 /* This works around a problem in FreeBSD linker */ | |
6958 #ifdef FREEBSD_WORKAROUND | |
6959 static const void *lt_preloaded_setup() { | |
6960 return lt__PROGRAM__LTX_preloaded_symbols; | |
6961 } | |
6962 #endif | |
6963 | |
6964 #ifdef __cplusplus | |
6965 } | |
6966 #endif | |
6967 _LT_EOF | |
6968 # Now try linking the two files. | |
6969 mv conftest.$ac_objext conftstm.$ac_objext | |
6970 lt_globsym_save_LIBS=$LIBS | |
6971 lt_globsym_save_CFLAGS=$CFLAGS | |
6972 LIBS=conftstm.$ac_objext | |
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | |
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 | |
6975 (eval $ac_link) 2>&5 | |
6976 ac_status=$? | |
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6978 test $ac_status = 0; } && test -s conftest$ac_exeext; then | |
6979 pipe_works=yes | |
6980 fi | |
6981 LIBS=$lt_globsym_save_LIBS | |
6982 CFLAGS=$lt_globsym_save_CFLAGS | |
6983 else | |
6984 echo "cannot find nm_test_func in $nlist" >&5 | |
6985 fi | |
6986 else | |
6987 echo "cannot find nm_test_var in $nlist" >&5 | |
6988 fi | |
6989 else | |
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | |
6991 fi | |
6992 else | |
6993 echo "$progname: failed program was:" >&5 | |
6994 cat conftest.$ac_ext >&5 | |
6995 fi | |
6996 rm -rf conftest* conftst* | |
6997 | |
6998 # Do not use the global_symbol_pipe unless it works. | |
6999 if test yes = "$pipe_works"; then | |
7000 break | |
7001 else | |
7002 lt_cv_sys_global_symbol_pipe= | |
7003 fi | |
7004 done | |
7005 | |
7006 fi | |
7007 | |
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then | |
7009 lt_cv_sys_global_symbol_to_cdecl= | |
7010 fi | |
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n | |
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | |
7013 $as_echo "failed" >&6; } | |
7014 else | |
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | |
7016 $as_echo "ok" >&6; } | |
7017 fi | |
7018 | |
7019 # Response file support. | |
7020 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | |
7021 nm_file_list_spec='@' | |
7022 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then | |
7023 nm_file_list_spec='@' | |
7024 fi | |
7025 | |
7026 | |
7027 | |
7028 | |
7029 | |
7030 | |
7031 | |
7032 | |
7033 | |
7034 | |
7035 | |
7036 | |
7037 | |
7038 | |
7039 | |
7040 | |
7041 | |
7042 | |
7043 | |
7044 | |
7045 | |
7046 | |
7047 | |
7048 | |
7049 | |
7050 | |
7051 | |
7052 | |
7053 | |
7054 | |
7055 | |
7056 | |
7057 | |
7058 | |
7059 | |
7060 | |
7061 | |
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | |
7063 $as_echo_n "checking for sysroot... " >&6; } | |
7064 | |
7065 # Check whether --with-sysroot was given. | |
7066 if test "${with_sysroot+set}" = set; then : | |
7067 withval=$with_sysroot; | |
7068 else | |
7069 with_sysroot=no | |
7070 fi | |
7071 | |
7072 | |
7073 lt_sysroot= | |
7074 case $with_sysroot in #( | |
7075 yes) | |
7076 if test yes = "$GCC"; then | |
7077 lt_sysroot=`$CC --print-sysroot 2>/dev/null` | |
7078 fi | |
7079 ;; #( | |
7080 /*) | |
7081 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | |
7082 ;; #( | |
7083 no|'') | |
7084 ;; #( | |
7085 *) | |
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 | |
7087 $as_echo "$with_sysroot" >&6; } | |
7088 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | |
7089 ;; | |
7090 esac | |
7091 | |
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | |
7093 $as_echo "${lt_sysroot:-no}" >&6; } | |
7094 | |
7095 | |
7096 | |
7097 | |
7098 | |
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. | |
7180 if test "${enable_libtool_lock+set}" = set; then : | |
7181 enableval=$enable_libtool_lock; | |
7182 fi | |
7183 | |
7184 test no = "$enable_libtool_lock" || enable_libtool_lock=yes | |
7185 | |
7186 # Some flags need to be propagated to the compiler or linker for good | |
7187 # libtool support. | |
7188 case $host in | |
7189 ia64-*-hpux*) | |
7190 # Find out what ABI is being produced by ac_compile, and set mode | |
7191 # options accordingly. | |
7192 echo 'int i;' > conftest.$ac_ext | |
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
7194 (eval $ac_compile) 2>&5 | |
7195 ac_status=$? | |
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7197 test $ac_status = 0; }; then | |
7198 case `/usr/bin/file conftest.$ac_objext` in | |
7199 *ELF-32*) | |
7200 HPUX_IA64_MODE=32 | |
7201 ;; | |
7202 *ELF-64*) | |
7203 HPUX_IA64_MODE=64 | |
7204 ;; | |
7205 esac | |
7206 fi | |
7207 rm -rf conftest* | |
7208 ;; | |
7209 *-*-irix6*) | |
7210 # Find out what ABI is being produced by ac_compile, and set linker | |
7211 # options accordingly. | |
7212 echo '#line '$LINENO' "configure"' > conftest.$ac_ext | |
7213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
7214 (eval $ac_compile) 2>&5 | |
7215 ac_status=$? | |
7216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7217 test $ac_status = 0; }; then | |
7218 if test yes = "$lt_cv_prog_gnu_ld"; then | |
7219 case `/usr/bin/file conftest.$ac_objext` in | |
7220 *32-bit*) | |
7221 LD="${LD-ld} -melf32bsmip" | |
7222 ;; | |
7223 *N32*) | |
7224 LD="${LD-ld} -melf32bmipn32" | |
7225 ;; | |
7226 *64-bit*) | |
7227 LD="${LD-ld} -melf64bmip" | |
7228 ;; | |
7229 esac | |
7230 else | |
7231 case `/usr/bin/file conftest.$ac_objext` in | |
7232 *32-bit*) | |
7233 LD="${LD-ld} -32" | |
7234 ;; | |
7235 *N32*) | |
7236 LD="${LD-ld} -n32" | |
7237 ;; | |
7238 *64-bit*) | |
7239 LD="${LD-ld} -64" | |
7240 ;; | |
7241 esac | |
7242 fi | |
7243 fi | |
7244 rm -rf conftest* | |
7245 ;; | |
7246 | |
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*| \ | |
7284 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | |
7285 # Find out what ABI is being produced by ac_compile, and set linker | |
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 | |
7292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
7293 (eval $ac_compile) 2>&5 | |
7294 ac_status=$? | |
7295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7296 test $ac_status = 0; }; then | |
7297 case `/usr/bin/file conftest.o` in | |
7298 *32-bit*) | |
7299 case $host in | |
7300 x86_64-*kfreebsd*-gnu) | |
7301 LD="${LD-ld} -m elf_i386_fbsd" | |
7302 ;; | |
7303 x86_64-*linux*) | |
7304 case `/usr/bin/file conftest.o` in | |
7305 *x86-64*) | |
7306 LD="${LD-ld} -m elf32_x86_64" | |
7307 ;; | |
7308 *) | |
7309 LD="${LD-ld} -m elf_i386" | |
7310 ;; | |
7311 esac | |
7312 ;; | |
7313 powerpc64le-*linux*) | |
7314 LD="${LD-ld} -m elf32lppclinux" | |
7315 ;; | |
7316 powerpc64-*linux*) | |
7317 LD="${LD-ld} -m elf32ppclinux" | |
7318 ;; | |
7319 s390x-*linux*) | |
7320 LD="${LD-ld} -m elf_s390" | |
7321 ;; | |
7322 sparc64-*linux*) | |
7323 LD="${LD-ld} -m elf32_sparc" | |
7324 ;; | |
7325 esac | |
7326 ;; | |
7327 *64-bit*) | |
7328 case $host in | |
7329 x86_64-*kfreebsd*-gnu) | |
7330 LD="${LD-ld} -m elf_x86_64_fbsd" | |
7331 ;; | |
7332 x86_64-*linux*) | |
7333 LD="${LD-ld} -m elf_x86_64" | |
7334 ;; | |
7335 powerpcle-*linux*) | |
7336 LD="${LD-ld} -m elf64lppc" | |
7337 ;; | |
7338 powerpc-*linux*) | |
7339 LD="${LD-ld} -m elf64ppc" | |
7340 ;; | |
7341 s390*-*linux*|s390*-*tpf*) | |
7342 LD="${LD-ld} -m elf64_s390" | |
7343 ;; | |
7344 sparc*-*linux*) | |
7345 LD="${LD-ld} -m elf64_sparc" | |
7346 ;; | |
7347 esac | |
7348 ;; | |
7349 esac | |
7350 fi | |
7351 rm -rf conftest* | |
7352 ;; | |
7353 | |
7354 *-*-sco3.2v5*) | |
7355 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | |
7356 SAVE_CFLAGS=$CFLAGS | |
7357 CFLAGS="$CFLAGS -belf" | |
7358 { $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; } | |
7360 if ${lt_cv_cc_needs_belf+:} false; then : | |
7361 $as_echo_n "(cached) " >&6 | |
7362 else | |
7363 ac_ext=c | |
7364 ac_cpp='$CPP $CPPFLAGS' | |
7365 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' | |
7367 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
7368 | |
7369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7370 /* end confdefs.h. */ | |
7371 | |
7372 int | |
7373 main () | |
7374 { | |
7375 | |
7376 ; | |
7377 return 0; | |
7378 } | |
7379 _ACEOF | |
7380 if ac_fn_c_try_link "$LINENO"; then : | |
7381 lt_cv_cc_needs_belf=yes | |
7382 else | |
7383 lt_cv_cc_needs_belf=no | |
7384 fi | |
7385 rm -f core conftest.err conftest.$ac_objext \ | |
7386 conftest$ac_exeext conftest.$ac_ext | |
7387 ac_ext=c | |
7388 ac_cpp='$CPP $CPPFLAGS' | |
7389 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' | |
7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
7392 | |
7393 fi | |
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | |
7395 $as_echo "$lt_cv_cc_needs_belf" >&6; } | |
7396 if test yes != "$lt_cv_cc_needs_belf"; then | |
7397 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | |
7398 CFLAGS=$SAVE_CFLAGS | |
7399 fi | |
7400 ;; | |
7401 *-*solaris*) | |
7402 # Find out what ABI is being produced by ac_compile, and set linker | |
7403 # options accordingly. | |
7404 echo 'int i;' > conftest.$ac_ext | |
7405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
7406 (eval $ac_compile) 2>&5 | |
7407 ac_status=$? | |
7408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7409 test $ac_status = 0; }; then | |
7410 case `/usr/bin/file conftest.o` in | |
7411 *64-bit*) | |
7412 case $lt_cv_prog_gnu_ld in | |
7413 yes*) | |
7414 case $host in | |
7415 i?86-*-solaris*|x86_64-*-solaris*) | |
7416 LD="${LD-ld} -m elf_x86_64" | |
7417 ;; | |
7418 sparc*-*-solaris*) | |
7419 LD="${LD-ld} -m elf64_sparc" | |
7420 ;; | |
7421 esac | |
7422 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | |
7423 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | |
7424 LD=${LD-ld}_sol2 | |
7425 fi | |
7426 ;; | |
7427 *) | |
7428 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | |
7429 LD="${LD-ld} -64" | |
7430 fi | |
7431 ;; | |
7432 esac | |
7433 ;; | |
7434 esac | |
7435 fi | |
7436 rm -rf conftest* | |
7437 ;; | |
7438 esac | |
7439 | |
7440 need_locks=$enable_libtool_lock | |
7441 | |
7442 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. | |
7444 set dummy ${ac_tool_prefix}mt; ac_word=$2 | |
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7446 $as_echo_n "checking for $ac_word... " >&6; } | |
7447 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | |
7448 $as_echo_n "(cached) " >&6 | |
7449 else | |
7450 if test -n "$MANIFEST_TOOL"; then | |
7451 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. | |
7452 else | |
7453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7454 for as_dir in $PATH | |
7455 do | 4821 do |
7456 IFS=$as_save_IFS | 4822 IFS=$as_save_IFS |
7457 test -z "$as_dir" && as_dir=. | 4823 test -z "$as_dir" && as_dir=. |
7458 for ac_exec_ext in '' $ac_executable_extensions; do | 4824 for ac_exec_ext in '' $ac_executable_extensions; do |
7459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7460 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" | 4826 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7462 break 2 | 4828 break 2 |
7463 fi | 4829 fi |
7464 done | 4830 done |
7465 done | 4831 done |
7466 IFS=$as_save_IFS | 4832 IFS=$as_save_IFS |
7467 | 4833 |
7468 fi | 4834 fi |
7469 fi | 4835 fi |
7470 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL | 4836 CC=$ac_cv_prog_CC |
7471 if test -n "$MANIFEST_TOOL"; then | 4837 if test -n "$CC"; then |
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 | 4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
7473 $as_echo "$MANIFEST_TOOL" >&6; } | 4839 $as_echo "$CC" >&6; } |
7474 else | 4840 else |
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7476 $as_echo "no" >&6; } | 4842 $as_echo "no" >&6; } |
7477 fi | 4843 fi |
7478 | 4844 |
7479 | 4845 |
| 4846 test -n "$CC" && break |
| 4847 done |
7480 fi | 4848 fi |
7481 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then | 4849 if test -z "$CC"; then |
7482 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL | 4850 ac_ct_CC=$CC |
7483 # Extract the first word of "mt", so it can be a program name with args. | 4851 for ac_prog in cl.exe |
7484 set dummy mt; ac_word=$2 | 4852 do |
| 4853 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 4854 set dummy $ac_prog; ac_word=$2 |
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7486 $as_echo_n "checking for $ac_word... " >&6; } | 4856 $as_echo_n "checking for $ac_word... " >&6; } |
7487 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : | 4857 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
7488 $as_echo_n "(cached) " >&6 | 4858 $as_echo_n "(cached) " >&6 |
7489 else | 4859 else |
7490 if test -n "$ac_ct_MANIFEST_TOOL"; then | 4860 if test -n "$ac_ct_CC"; then |
7491 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override
the test. | 4861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
7492 else | 4862 else |
7493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7494 for as_dir in $PATH | 4864 for as_dir in $PATH |
7495 do | 4865 do |
7496 IFS=$as_save_IFS | 4866 IFS=$as_save_IFS |
7497 test -z "$as_dir" && as_dir=. | 4867 test -z "$as_dir" && as_dir=. |
7498 for ac_exec_ext in '' $ac_executable_extensions; do | 4868 for ac_exec_ext in '' $ac_executable_extensions; do |
7499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7500 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" | 4870 ac_cv_prog_ac_ct_CC="$ac_prog" |
7501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7502 break 2 | 4872 break 2 |
7503 fi | 4873 fi |
7504 done | 4874 done |
7505 done | 4875 done |
7506 IFS=$as_save_IFS | 4876 IFS=$as_save_IFS |
7507 | 4877 |
7508 fi | 4878 fi |
7509 fi | 4879 fi |
7510 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL | 4880 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
7511 if test -n "$ac_ct_MANIFEST_TOOL"; then | 4881 if test -n "$ac_ct_CC"; then |
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 | 4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
7513 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } | 4883 $as_echo "$ac_ct_CC" >&6; } |
7514 else | 4884 else |
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7516 $as_echo "no" >&6; } | 4886 $as_echo "no" >&6; } |
7517 fi | 4887 fi |
7518 | 4888 |
7519 if test "x$ac_ct_MANIFEST_TOOL" = x; then | 4889 |
7520 MANIFEST_TOOL=":" | 4890 test -n "$ac_ct_CC" && break |
| 4891 done |
| 4892 |
| 4893 if test "x$ac_ct_CC" = x; then |
| 4894 CC="" |
7521 else | 4895 else |
7522 case $cross_compiling:$ac_tool_warned in | 4896 case $cross_compiling:$ac_tool_warned in |
7523 yes:) | 4897 yes:) |
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | 4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
7525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | 4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
7526 ac_tool_warned=yes ;; | 4900 ac_tool_warned=yes ;; |
7527 esac | 4901 esac |
7528 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL | 4902 CC=$ac_ct_CC |
7529 fi | 4903 fi |
7530 else | 4904 fi |
7531 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" | 4905 |
7532 fi | 4906 fi |
7533 | 4907 |
7534 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | 4908 |
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifes
t tool" >&5 | 4909 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd'
:" >&5 |
7536 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } | 4910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
7537 if ${lt_cv_path_mainfest_tool+:} false; then : | 4911 as_fn_error $? "no acceptable C compiler found in \$PATH |
7538 $as_echo_n "(cached) " >&6 | 4912 See \`config.log' for more details" "$LINENO" 5; } |
7539 else | 4913 |
7540 lt_cv_path_mainfest_tool=no | 4914 # Provide some information about the compiler. |
7541 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | 4915 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
7542 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | 4916 set X $ac_compile |
7543 cat conftest.err >&5 | 4917 ac_compiler=$2 |
7544 if $GREP 'Manifest Tool' conftest.out > /dev/null; then | 4918 for ac_option in --version -v -V -qversion; do |
7545 lt_cv_path_mainfest_tool=yes | 4919 { { ac_try="$ac_compiler $ac_option >&5" |
| 4920 case "(($ac_try" in |
| 4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4922 *) ac_try_echo=$ac_try;; |
| 4923 esac |
| 4924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4925 $as_echo "$ac_try_echo"; } >&5 |
| 4926 (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4927 ac_status=$? |
| 4928 if test -s conftest.err; then |
| 4929 sed '10a\ |
| 4930 ... rest of stderr output deleted ... |
| 4931 10q' conftest.err >conftest.er1 |
| 4932 cat conftest.er1 >&5 |
7546 fi | 4933 fi |
7547 rm -f conftest* | 4934 rm -f conftest.er1 conftest.err |
7548 fi | 4935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | 4936 test $ac_status = 0; } |
7550 $as_echo "$lt_cv_path_mainfest_tool" >&6; } | 4937 done |
7551 if test yes != "$lt_cv_path_mainfest_tool"; then | 4938 |
7552 MANIFEST_TOOL=: | 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
compiler" >&5 |
7553 fi | 4940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
7554 | 4941 if ${ac_cv_c_compiler_gnu+:} false; then : |
7555 | 4942 $as_echo_n "(cached) " >&6 |
7556 | 4943 else |
7557 | 4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7558 | 4945 /* end confdefs.h. */ |
7559 | 4946 |
7560 case $host_os in | 4947 int |
7561 rhapsody* | darwin*) | 4948 main () |
7562 if test -n "$ac_tool_prefix"; then | 4949 { |
7563 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a progra
m name with args. | 4950 #ifndef __GNUC__ |
7564 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | 4951 choke me |
| 4952 #endif |
| 4953 |
| 4954 ; |
| 4955 return 0; |
| 4956 } |
| 4957 _ACEOF |
| 4958 if ac_fn_c_try_compile "$LINENO"; then : |
| 4959 ac_compiler_gnu=yes |
| 4960 else |
| 4961 ac_compiler_gnu=no |
| 4962 fi |
| 4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4964 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4965 |
| 4966 fi |
| 4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4968 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| 4969 if test $ac_compiler_gnu = yes; then |
| 4970 GCC=yes |
| 4971 else |
| 4972 GCC= |
| 4973 fi |
| 4974 ac_test_CFLAGS=${CFLAGS+set} |
| 4975 ac_save_CFLAGS=$CFLAGS |
| 4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4977 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 4978 if ${ac_cv_prog_cc_g+:} false; then : |
| 4979 $as_echo_n "(cached) " >&6 |
| 4980 else |
| 4981 ac_save_c_werror_flag=$ac_c_werror_flag |
| 4982 ac_c_werror_flag=yes |
| 4983 ac_cv_prog_cc_g=no |
| 4984 CFLAGS="-g" |
| 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4986 /* end confdefs.h. */ |
| 4987 |
| 4988 int |
| 4989 main () |
| 4990 { |
| 4991 |
| 4992 ; |
| 4993 return 0; |
| 4994 } |
| 4995 _ACEOF |
| 4996 if ac_fn_c_try_compile "$LINENO"; then : |
| 4997 ac_cv_prog_cc_g=yes |
| 4998 else |
| 4999 CFLAGS="" |
| 5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5001 /* end confdefs.h. */ |
| 5002 |
| 5003 int |
| 5004 main () |
| 5005 { |
| 5006 |
| 5007 ; |
| 5008 return 0; |
| 5009 } |
| 5010 _ACEOF |
| 5011 if ac_fn_c_try_compile "$LINENO"; then : |
| 5012 |
| 5013 else |
| 5014 ac_c_werror_flag=$ac_save_c_werror_flag |
| 5015 CFLAGS="-g" |
| 5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5017 /* end confdefs.h. */ |
| 5018 |
| 5019 int |
| 5020 main () |
| 5021 { |
| 5022 |
| 5023 ; |
| 5024 return 0; |
| 5025 } |
| 5026 _ACEOF |
| 5027 if ac_fn_c_try_compile "$LINENO"; then : |
| 5028 ac_cv_prog_cc_g=yes |
| 5029 fi |
| 5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5031 fi |
| 5032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5033 fi |
| 5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5035 ac_c_werror_flag=$ac_save_c_werror_flag |
| 5036 fi |
| 5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 5038 $as_echo "$ac_cv_prog_cc_g" >&6; } |
| 5039 if test "$ac_test_CFLAGS" = set; then |
| 5040 CFLAGS=$ac_save_CFLAGS |
| 5041 elif test $ac_cv_prog_cc_g = yes; then |
| 5042 if test "$GCC" = yes; then |
| 5043 CFLAGS="-g -O2" |
| 5044 else |
| 5045 CFLAGS="-g" |
| 5046 fi |
| 5047 else |
| 5048 if test "$GCC" = yes; then |
| 5049 CFLAGS="-O2" |
| 5050 else |
| 5051 CFLAGS= |
| 5052 fi |
| 5053 fi |
| 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C
89" >&5 |
| 5055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 5056 if ${ac_cv_prog_cc_c89+:} false; then : |
| 5057 $as_echo_n "(cached) " >&6 |
| 5058 else |
| 5059 ac_cv_prog_cc_c89=no |
| 5060 ac_save_CC=$CC |
| 5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5062 /* end confdefs.h. */ |
| 5063 #include <stdarg.h> |
| 5064 #include <stdio.h> |
| 5065 struct stat; |
| 5066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 5067 struct buf { int x; }; |
| 5068 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 5069 static char *e (p, i) |
| 5070 char **p; |
| 5071 int i; |
| 5072 { |
| 5073 return p[i]; |
| 5074 } |
| 5075 static char *f (char * (*g) (char **, int), char **p, ...) |
| 5076 { |
| 5077 char *s; |
| 5078 va_list v; |
| 5079 va_start (v,p); |
| 5080 s = g (p, va_arg (v,int)); |
| 5081 va_end (v); |
| 5082 return s; |
| 5083 } |
| 5084 |
| 5085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 5086 function prototypes and stuff, but not '\xHH' hex character constants. |
| 5087 These don't provoke an error unfortunately, instead are silently treated |
| 5088 as 'x'. The following induces an error, until -std is added to get |
| 5089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 5090 array size at least. It's necessary to write '\x00'==0 to get something |
| 5091 that's true only with -std. */ |
| 5092 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 5093 |
| 5094 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 5095 inside strings and character constants. */ |
| 5096 #define FOO(x) 'x' |
| 5097 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 5098 |
| 5099 int test (int i, double x); |
| 5100 struct s1 {int (*f) (int a);}; |
| 5101 struct s2 {int (*f) (double a);}; |
| 5102 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
nt); |
| 5103 int argc; |
| 5104 char **argv; |
| 5105 int |
| 5106 main () |
| 5107 { |
| 5108 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 5109 ; |
| 5110 return 0; |
| 5111 } |
| 5112 _ACEOF |
| 5113 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 5114 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 5115 do |
| 5116 CC="$ac_save_CC $ac_arg" |
| 5117 if ac_fn_c_try_compile "$LINENO"; then : |
| 5118 ac_cv_prog_cc_c89=$ac_arg |
| 5119 fi |
| 5120 rm -f core conftest.err conftest.$ac_objext |
| 5121 test "x$ac_cv_prog_cc_c89" != "xno" && break |
| 5122 done |
| 5123 rm -f conftest.$ac_ext |
| 5124 CC=$ac_save_CC |
| 5125 |
| 5126 fi |
| 5127 # AC_CACHE_VAL |
| 5128 case "x$ac_cv_prog_cc_c89" in |
| 5129 x) |
| 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 5131 $as_echo "none needed" >&6; } ;; |
| 5132 xno) |
| 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 5134 $as_echo "unsupported" >&6; } ;; |
| 5135 *) |
| 5136 CC="$CC $ac_cv_prog_cc_c89" |
| 5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 5138 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| 5139 esac |
| 5140 if test "x$ac_cv_prog_cc_c89" != xno; then : |
| 5141 |
| 5142 fi |
| 5143 |
| 5144 ac_ext=c |
| 5145 ac_cpp='$CPP $CPPFLAGS' |
| 5146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 5148 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5149 |
| 5150 ac_ext=c |
| 5151 ac_cpp='$CPP $CPPFLAGS' |
| 5152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 5154 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and
-o together" >&5 |
| 5156 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 5157 if ${am_cv_prog_cc_c_o+:} false; then : |
| 5158 $as_echo_n "(cached) " >&6 |
| 5159 else |
| 5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5161 /* end confdefs.h. */ |
| 5162 |
| 5163 int |
| 5164 main () |
| 5165 { |
| 5166 |
| 5167 ; |
| 5168 return 0; |
| 5169 } |
| 5170 _ACEOF |
| 5171 # Make sure it works both with $CC and with simple cc. |
| 5172 # Following AC_PROG_CC_C_O, we do the test twice because some |
| 5173 # compilers refuse to overwrite an existing .o file with -o, |
| 5174 # though they will create one. |
| 5175 am_cv_prog_cc_c_o=yes |
| 5176 for am_i in 1 2; do |
| 5177 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext"
>&5 |
| 5178 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 5179 ac_status=$? |
| 5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5181 (exit $ac_status); } \ |
| 5182 && test -f conftest2.$ac_objext; then |
| 5183 : OK |
| 5184 else |
| 5185 am_cv_prog_cc_c_o=no |
| 5186 break |
| 5187 fi |
| 5188 done |
| 5189 rm -f core conftest* |
| 5190 unset am_i |
| 5191 fi |
| 5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 5193 $as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 5194 if test "$am_cv_prog_cc_c_o" != yes; then |
| 5195 # Losing compiler, so override with the script. |
| 5196 # FIXME: It is wrong to rewrite CC. |
| 5197 # But if we don't then we get into trouble of one sort or another. |
| 5198 # A longer-term fix would be to have automake use am__CC in this case, |
| 5199 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 5200 CC="$am_aux_dir/compile $CC" |
| 5201 fi |
| 5202 ac_ext=c |
| 5203 ac_cpp='$CPP $CPPFLAGS' |
| 5204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 5206 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5207 |
| 5208 |
| 5209 |
| 5210 ac_ext=c |
| 5211 ac_cpp='$CPP $CPPFLAGS' |
| 5212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 5214 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
| 5216 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
| 5217 # On Suns, sometimes $CPP names a directory. |
| 5218 if test -n "$CPP" && test -d "$CPP"; then |
| 5219 CPP= |
| 5220 fi |
| 5221 if test -z "$CPP"; then |
| 5222 if ${ac_cv_prog_CPP+:} false; then : |
| 5223 $as_echo_n "(cached) " >&6 |
| 5224 else |
| 5225 # Double quotes because CPP needs to be expanded |
| 5226 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 5227 do |
| 5228 ac_preproc_ok=false |
| 5229 for ac_c_preproc_warn_flag in '' yes |
| 5230 do |
| 5231 # Use a header file that comes with gcc, so configuring glibc |
| 5232 # with a fresh cross-compiler works. |
| 5233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5234 # <limits.h> exists even on freestanding compilers. |
| 5235 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 5236 # not just through cpp. "Syntax error" is here to catch this case. |
| 5237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5238 /* end confdefs.h. */ |
| 5239 #ifdef __STDC__ |
| 5240 # include <limits.h> |
| 5241 #else |
| 5242 # include <assert.h> |
| 5243 #endif |
| 5244 Syntax error |
| 5245 _ACEOF |
| 5246 if ac_fn_c_try_cpp "$LINENO"; then : |
| 5247 |
| 5248 else |
| 5249 # Broken: fails on valid input. |
| 5250 continue |
| 5251 fi |
| 5252 rm -f conftest.err conftest.i conftest.$ac_ext |
| 5253 |
| 5254 # OK, works on sane cases. Now check whether nonexistent headers |
| 5255 # can be detected and how. |
| 5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5257 /* end confdefs.h. */ |
| 5258 #include <ac_nonexistent.h> |
| 5259 _ACEOF |
| 5260 if ac_fn_c_try_cpp "$LINENO"; then : |
| 5261 # Broken: success on invalid input. |
| 5262 continue |
| 5263 else |
| 5264 # Passes both tests. |
| 5265 ac_preproc_ok=: |
| 5266 break |
| 5267 fi |
| 5268 rm -f conftest.err conftest.i conftest.$ac_ext |
| 5269 |
| 5270 done |
| 5271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5272 rm -f conftest.i conftest.err conftest.$ac_ext |
| 5273 if $ac_preproc_ok; then : |
| 5274 break |
| 5275 fi |
| 5276 |
| 5277 done |
| 5278 ac_cv_prog_CPP=$CPP |
| 5279 |
| 5280 fi |
| 5281 CPP=$ac_cv_prog_CPP |
| 5282 else |
| 5283 ac_cv_prog_CPP=$CPP |
| 5284 fi |
| 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 5286 $as_echo "$CPP" >&6; } |
| 5287 ac_preproc_ok=false |
| 5288 for ac_c_preproc_warn_flag in '' yes |
| 5289 do |
| 5290 # Use a header file that comes with gcc, so configuring glibc |
| 5291 # with a fresh cross-compiler works. |
| 5292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 5293 # <limits.h> exists even on freestanding compilers. |
| 5294 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 5295 # not just through cpp. "Syntax error" is here to catch this case. |
| 5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5297 /* end confdefs.h. */ |
| 5298 #ifdef __STDC__ |
| 5299 # include <limits.h> |
| 5300 #else |
| 5301 # include <assert.h> |
| 5302 #endif |
| 5303 Syntax error |
| 5304 _ACEOF |
| 5305 if ac_fn_c_try_cpp "$LINENO"; then : |
| 5306 |
| 5307 else |
| 5308 # Broken: fails on valid input. |
| 5309 continue |
| 5310 fi |
| 5311 rm -f conftest.err conftest.i conftest.$ac_ext |
| 5312 |
| 5313 # OK, works on sane cases. Now check whether nonexistent headers |
| 5314 # can be detected and how. |
| 5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5316 /* end confdefs.h. */ |
| 5317 #include <ac_nonexistent.h> |
| 5318 _ACEOF |
| 5319 if ac_fn_c_try_cpp "$LINENO"; then : |
| 5320 # Broken: success on invalid input. |
| 5321 continue |
| 5322 else |
| 5323 # Passes both tests. |
| 5324 ac_preproc_ok=: |
| 5325 break |
| 5326 fi |
| 5327 rm -f conftest.err conftest.i conftest.$ac_ext |
| 5328 |
| 5329 done |
| 5330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5331 rm -f conftest.i conftest.err conftest.$ac_ext |
| 5332 if $ac_preproc_ok; then : |
| 5333 |
| 5334 else |
| 5335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5337 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
| 5338 See \`config.log' for more details" "$LINENO" 5; } |
| 5339 fi |
| 5340 |
| 5341 ac_ext=c |
| 5342 ac_cpp='$CPP $CPPFLAGS' |
| 5343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 5345 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5346 |
| 5347 # Extract the first word of "rm", so it can be a program name with args. |
| 5348 set dummy rm; ac_word=$2 |
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7566 $as_echo_n "checking for $ac_word... " >&6; } | 5350 $as_echo_n "checking for $ac_word... " >&6; } |
7567 if ${ac_cv_prog_DSYMUTIL+:} false; then : | 5351 if ${ac_cv_path_RM+:} false; then : |
7568 $as_echo_n "(cached) " >&6 | 5352 $as_echo_n "(cached) " >&6 |
7569 else | 5353 else |
7570 if test -n "$DSYMUTIL"; then | 5354 case $RM in |
7571 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | 5355 [\\/]* | ?:[\\/]*) |
7572 else | 5356 ac_cv_path_RM="$RM" # Let the user override the test with a path. |
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5357 ;; |
| 5358 *) |
| 5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7574 for as_dir in $PATH | 5360 for as_dir in $PATH |
7575 do | 5361 do |
7576 IFS=$as_save_IFS | 5362 IFS=$as_save_IFS |
7577 test -z "$as_dir" && as_dir=. | 5363 test -z "$as_dir" && as_dir=. |
7578 for ac_exec_ext in '' $ac_executable_extensions; do | 5364 for ac_exec_ext in '' $ac_executable_extensions; do |
7579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7580 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | 5366 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7582 break 2 | 5368 break 2 |
7583 fi | 5369 fi |
7584 done | |
7585 done | |
7586 IFS=$as_save_IFS | |
7587 | |
7588 fi | |
7589 fi | |
7590 DSYMUTIL=$ac_cv_prog_DSYMUTIL | |
7591 if test -n "$DSYMUTIL"; then | |
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | |
7593 $as_echo "$DSYMUTIL" >&6; } | |
7594 else | |
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7596 $as_echo "no" >&6; } | |
7597 fi | |
7598 | |
7599 | |
7600 fi | |
7601 if test -z "$ac_cv_prog_DSYMUTIL"; then | |
7602 ac_ct_DSYMUTIL=$DSYMUTIL | |
7603 # Extract the first word of "dsymutil", so it can be a program name with args. | |
7604 set dummy dsymutil; ac_word=$2 | |
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7606 $as_echo_n "checking for $ac_word... " >&6; } | |
7607 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : | |
7608 $as_echo_n "(cached) " >&6 | |
7609 else | |
7610 if test -n "$ac_ct_DSYMUTIL"; then | |
7611 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | |
7612 else | |
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7614 for as_dir in $PATH | |
7615 do | |
7616 IFS=$as_save_IFS | |
7617 test -z "$as_dir" && as_dir=. | |
7618 for ac_exec_ext in '' $ac_executable_extensions; do | |
7619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7620 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | |
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7622 break 2 | |
7623 fi | |
7624 done | |
7625 done | |
7626 IFS=$as_save_IFS | |
7627 | |
7628 fi | |
7629 fi | |
7630 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | |
7631 if test -n "$ac_ct_DSYMUTIL"; then | |
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | |
7633 $as_echo "$ac_ct_DSYMUTIL" >&6; } | |
7634 else | |
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7636 $as_echo "no" >&6; } | |
7637 fi | |
7638 | |
7639 if test "x$ac_ct_DSYMUTIL" = x; then | |
7640 DSYMUTIL=":" | |
7641 else | |
7642 case $cross_compiling:$ac_tool_warned in | |
7643 yes:) | |
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
7646 ac_tool_warned=yes ;; | |
7647 esac | |
7648 DSYMUTIL=$ac_ct_DSYMUTIL | |
7649 fi | |
7650 else | |
7651 DSYMUTIL="$ac_cv_prog_DSYMUTIL" | |
7652 fi | |
7653 | |
7654 if test -n "$ac_tool_prefix"; then | |
7655 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program
name with args. | |
7656 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | |
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7658 $as_echo_n "checking for $ac_word... " >&6; } | |
7659 if ${ac_cv_prog_NMEDIT+:} false; then : | |
7660 $as_echo_n "(cached) " >&6 | |
7661 else | |
7662 if test -n "$NMEDIT"; then | |
7663 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | |
7664 else | |
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7666 for as_dir in $PATH | |
7667 do | |
7668 IFS=$as_save_IFS | |
7669 test -z "$as_dir" && as_dir=. | |
7670 for ac_exec_ext in '' $ac_executable_extensions; do | |
7671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7672 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | |
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7674 break 2 | |
7675 fi | |
7676 done | |
7677 done | |
7678 IFS=$as_save_IFS | |
7679 | |
7680 fi | |
7681 fi | |
7682 NMEDIT=$ac_cv_prog_NMEDIT | |
7683 if test -n "$NMEDIT"; then | |
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | |
7685 $as_echo "$NMEDIT" >&6; } | |
7686 else | |
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7688 $as_echo "no" >&6; } | |
7689 fi | |
7690 | |
7691 | |
7692 fi | |
7693 if test -z "$ac_cv_prog_NMEDIT"; then | |
7694 ac_ct_NMEDIT=$NMEDIT | |
7695 # Extract the first word of "nmedit", so it can be a program name with args. | |
7696 set dummy nmedit; ac_word=$2 | |
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7698 $as_echo_n "checking for $ac_word... " >&6; } | |
7699 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : | |
7700 $as_echo_n "(cached) " >&6 | |
7701 else | |
7702 if test -n "$ac_ct_NMEDIT"; then | |
7703 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | |
7704 else | |
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7706 for as_dir in $PATH | |
7707 do | |
7708 IFS=$as_save_IFS | |
7709 test -z "$as_dir" && as_dir=. | |
7710 for ac_exec_ext in '' $ac_executable_extensions; do | |
7711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7712 ac_cv_prog_ac_ct_NMEDIT="nmedit" | |
7713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7714 break 2 | |
7715 fi | |
7716 done | |
7717 done | |
7718 IFS=$as_save_IFS | |
7719 | |
7720 fi | |
7721 fi | |
7722 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | |
7723 if test -n "$ac_ct_NMEDIT"; then | |
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | |
7725 $as_echo "$ac_ct_NMEDIT" >&6; } | |
7726 else | |
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7728 $as_echo "no" >&6; } | |
7729 fi | |
7730 | |
7731 if test "x$ac_ct_NMEDIT" = x; then | |
7732 NMEDIT=":" | |
7733 else | |
7734 case $cross_compiling:$ac_tool_warned in | |
7735 yes:) | |
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
7737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
7738 ac_tool_warned=yes ;; | |
7739 esac | |
7740 NMEDIT=$ac_ct_NMEDIT | |
7741 fi | |
7742 else | |
7743 NMEDIT="$ac_cv_prog_NMEDIT" | |
7744 fi | |
7745 | |
7746 if test -n "$ac_tool_prefix"; then | |
7747 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program na
me with args. | |
7748 set dummy ${ac_tool_prefix}lipo; ac_word=$2 | |
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7750 $as_echo_n "checking for $ac_word... " >&6; } | |
7751 if ${ac_cv_prog_LIPO+:} false; then : | |
7752 $as_echo_n "(cached) " >&6 | |
7753 else | |
7754 if test -n "$LIPO"; then | |
7755 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | |
7756 else | |
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7758 for as_dir in $PATH | |
7759 do | |
7760 IFS=$as_save_IFS | |
7761 test -z "$as_dir" && as_dir=. | |
7762 for ac_exec_ext in '' $ac_executable_extensions; do | |
7763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7764 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | |
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7766 break 2 | |
7767 fi | |
7768 done | |
7769 done | |
7770 IFS=$as_save_IFS | |
7771 | |
7772 fi | |
7773 fi | |
7774 LIPO=$ac_cv_prog_LIPO | |
7775 if test -n "$LIPO"; then | |
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | |
7777 $as_echo "$LIPO" >&6; } | |
7778 else | |
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7780 $as_echo "no" >&6; } | |
7781 fi | |
7782 | |
7783 | |
7784 fi | |
7785 if test -z "$ac_cv_prog_LIPO"; then | |
7786 ac_ct_LIPO=$LIPO | |
7787 # Extract the first word of "lipo", so it can be a program name with args. | |
7788 set dummy lipo; ac_word=$2 | |
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7790 $as_echo_n "checking for $ac_word... " >&6; } | |
7791 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : | |
7792 $as_echo_n "(cached) " >&6 | |
7793 else | |
7794 if test -n "$ac_ct_LIPO"; then | |
7795 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | |
7796 else | |
7797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7798 for as_dir in $PATH | |
7799 do | |
7800 IFS=$as_save_IFS | |
7801 test -z "$as_dir" && as_dir=. | |
7802 for ac_exec_ext in '' $ac_executable_extensions; do | |
7803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
7804 ac_cv_prog_ac_ct_LIPO="lipo" | |
7805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7806 break 2 | |
7807 fi | |
7808 done | 5370 done |
7809 done | 5371 done |
7810 IFS=$as_save_IFS | 5372 IFS=$as_save_IFS |
7811 | 5373 |
| 5374 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm" |
| 5375 ;; |
| 5376 esac |
7812 fi | 5377 fi |
7813 fi | 5378 RM=$ac_cv_path_RM |
7814 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | 5379 if test -n "$RM"; then |
7815 if test -n "$ac_ct_LIPO"; then | 5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 |
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | 5381 $as_echo "$RM" >&6; } |
7817 $as_echo "$ac_ct_LIPO" >&6; } | |
7818 else | 5382 else |
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7820 $as_echo "no" >&6; } | 5384 $as_echo "no" >&6; } |
7821 fi | 5385 fi |
7822 | 5386 |
7823 if test "x$ac_ct_LIPO" = x; then | |
7824 LIPO=":" | |
7825 else | |
7826 case $cross_compiling:$ac_tool_warned in | |
7827 yes:) | |
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
7829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
7830 ac_tool_warned=yes ;; | |
7831 esac | |
7832 LIPO=$ac_ct_LIPO | |
7833 fi | |
7834 else | |
7835 LIPO="$ac_cv_prog_LIPO" | |
7836 fi | |
7837 | 5387 |
7838 if test -n "$ac_tool_prefix"; then | 5388 # Extract the first word of "mv", so it can be a program name with args. |
7839 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program n
ame with args. | 5389 set dummy mv; ac_word=$2 |
7840 set dummy ${ac_tool_prefix}otool; ac_word=$2 | |
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7842 $as_echo_n "checking for $ac_word... " >&6; } | 5391 $as_echo_n "checking for $ac_word... " >&6; } |
7843 if ${ac_cv_prog_OTOOL+:} false; then : | 5392 if ${ac_cv_path_MV+:} false; then : |
7844 $as_echo_n "(cached) " >&6 | 5393 $as_echo_n "(cached) " >&6 |
7845 else | 5394 else |
7846 if test -n "$OTOOL"; then | 5395 case $MV in |
7847 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | 5396 [\\/]* | ?:[\\/]*) |
7848 else | 5397 ac_cv_path_MV="$MV" # Let the user override the test with a path. |
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5398 ;; |
| 5399 *) |
| 5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7850 for as_dir in $PATH | 5401 for as_dir in $PATH |
7851 do | 5402 do |
7852 IFS=$as_save_IFS | 5403 IFS=$as_save_IFS |
7853 test -z "$as_dir" && as_dir=. | 5404 test -z "$as_dir" && as_dir=. |
7854 for ac_exec_ext in '' $ac_executable_extensions; do | 5405 for ac_exec_ext in '' $ac_executable_extensions; do |
7855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7856 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | 5407 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7858 break 2 | 5409 break 2 |
7859 fi | 5410 fi |
7860 done | 5411 done |
7861 done | 5412 done |
7862 IFS=$as_save_IFS | 5413 IFS=$as_save_IFS |
7863 | 5414 |
| 5415 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv" |
| 5416 ;; |
| 5417 esac |
7864 fi | 5418 fi |
7865 fi | 5419 MV=$ac_cv_path_MV |
7866 OTOOL=$ac_cv_prog_OTOOL | 5420 if test -n "$MV"; then |
7867 if test -n "$OTOOL"; then | 5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 |
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | 5422 $as_echo "$MV" >&6; } |
7869 $as_echo "$OTOOL" >&6; } | |
7870 else | 5423 else |
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7872 $as_echo "no" >&6; } | 5425 $as_echo "no" >&6; } |
7873 fi | 5426 fi |
7874 | 5427 |
7875 | 5428 |
7876 fi | 5429 # Extract the first word of "tar", so it can be a program name with args. |
7877 if test -z "$ac_cv_prog_OTOOL"; then | 5430 set dummy tar; ac_word=$2 |
7878 ac_ct_OTOOL=$OTOOL | |
7879 # Extract the first word of "otool", so it can be a program name with args. | |
7880 set dummy otool; ac_word=$2 | |
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7882 $as_echo_n "checking for $ac_word... " >&6; } | 5432 $as_echo_n "checking for $ac_word... " >&6; } |
7883 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : | 5433 if ${ac_cv_path_TAR+:} false; then : |
7884 $as_echo_n "(cached) " >&6 | 5434 $as_echo_n "(cached) " >&6 |
7885 else | 5435 else |
7886 if test -n "$ac_ct_OTOOL"; then | 5436 case $TAR in |
7887 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | 5437 [\\/]* | ?:[\\/]*) |
7888 else | 5438 ac_cv_path_TAR="$TAR" # Let the user override the test with a path. |
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5439 ;; |
| 5440 *) |
| 5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7890 for as_dir in $PATH | 5442 for as_dir in $PATH |
7891 do | 5443 do |
7892 IFS=$as_save_IFS | 5444 IFS=$as_save_IFS |
7893 test -z "$as_dir" && as_dir=. | 5445 test -z "$as_dir" && as_dir=. |
7894 for ac_exec_ext in '' $ac_executable_extensions; do | 5446 for ac_exec_ext in '' $ac_executable_extensions; do |
7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7896 ac_cv_prog_ac_ct_OTOOL="otool" | 5448 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" |
7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7898 break 2 | 5450 break 2 |
7899 fi | 5451 fi |
7900 done | 5452 done |
7901 done | 5453 done |
7902 IFS=$as_save_IFS | 5454 IFS=$as_save_IFS |
7903 | 5455 |
| 5456 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar" |
| 5457 ;; |
| 5458 esac |
7904 fi | 5459 fi |
7905 fi | 5460 TAR=$ac_cv_path_TAR |
7906 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | 5461 if test -n "$TAR"; then |
7907 if test -n "$ac_ct_OTOOL"; then | 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 |
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | 5463 $as_echo "$TAR" >&6; } |
7909 $as_echo "$ac_ct_OTOOL" >&6; } | |
7910 else | 5464 else |
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7912 $as_echo "no" >&6; } | 5466 $as_echo "no" >&6; } |
7913 fi | 5467 fi |
7914 | 5468 |
7915 if test "x$ac_ct_OTOOL" = x; then | |
7916 OTOOL=":" | |
7917 else | |
7918 case $cross_compiling:$ac_tool_warned in | |
7919 yes:) | |
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
7921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
7922 ac_tool_warned=yes ;; | |
7923 esac | |
7924 OTOOL=$ac_ct_OTOOL | |
7925 fi | |
7926 else | |
7927 OTOOL="$ac_cv_prog_OTOOL" | |
7928 fi | |
7929 | 5469 |
7930 if test -n "$ac_tool_prefix"; then | 5470 # Extract the first word of "xmllint", so it can be a program name with args. |
7931 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program
name with args. | 5471 set dummy xmllint; ac_word=$2 |
7932 set dummy ${ac_tool_prefix}otool64; ac_word=$2 | |
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7934 $as_echo_n "checking for $ac_word... " >&6; } | 5473 $as_echo_n "checking for $ac_word... " >&6; } |
7935 if ${ac_cv_prog_OTOOL64+:} false; then : | 5474 if ${ac_cv_path_XMLLINT+:} false; then : |
7936 $as_echo_n "(cached) " >&6 | 5475 $as_echo_n "(cached) " >&6 |
7937 else | 5476 else |
7938 if test -n "$OTOOL64"; then | 5477 case $XMLLINT in |
7939 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | 5478 [\\/]* | ?:[\\/]*) |
7940 else | 5479 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path. |
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5480 ;; |
| 5481 *) |
| 5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7942 for as_dir in $PATH | 5483 for as_dir in $PATH |
7943 do | 5484 do |
7944 IFS=$as_save_IFS | 5485 IFS=$as_save_IFS |
7945 test -z "$as_dir" && as_dir=. | 5486 test -z "$as_dir" && as_dir=. |
7946 for ac_exec_ext in '' $ac_executable_extensions; do | 5487 for ac_exec_ext in '' $ac_executable_extensions; do |
7947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7948 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | 5489 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext" |
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7950 break 2 | 5491 break 2 |
7951 fi | 5492 fi |
7952 done | 5493 done |
7953 done | 5494 done |
7954 IFS=$as_save_IFS | 5495 IFS=$as_save_IFS |
7955 | 5496 |
| 5497 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint" |
| 5498 ;; |
| 5499 esac |
7956 fi | 5500 fi |
7957 fi | 5501 XMLLINT=$ac_cv_path_XMLLINT |
7958 OTOOL64=$ac_cv_prog_OTOOL64 | 5502 if test -n "$XMLLINT"; then |
7959 if test -n "$OTOOL64"; then | 5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5 |
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | 5504 $as_echo "$XMLLINT" >&6; } |
7961 $as_echo "$OTOOL64" >&6; } | |
7962 else | 5505 else |
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7964 $as_echo "no" >&6; } | 5507 $as_echo "no" >&6; } |
7965 fi | 5508 fi |
7966 | 5509 |
7967 | 5510 |
7968 fi | 5511 # Extract the first word of "xsltproc", so it can be a program name with args. |
7969 if test -z "$ac_cv_prog_OTOOL64"; then | 5512 set dummy xsltproc; ac_word=$2 |
7970 ac_ct_OTOOL64=$OTOOL64 | |
7971 # Extract the first word of "otool64", so it can be a program name with args. | |
7972 set dummy otool64; ac_word=$2 | |
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7974 $as_echo_n "checking for $ac_word... " >&6; } | 5514 $as_echo_n "checking for $ac_word... " >&6; } |
7975 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : | 5515 if ${ac_cv_path_XSLTPROC+:} false; then : |
7976 $as_echo_n "(cached) " >&6 | 5516 $as_echo_n "(cached) " >&6 |
7977 else | 5517 else |
7978 if test -n "$ac_ct_OTOOL64"; then | 5518 case $XSLTPROC in |
7979 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | 5519 [\\/]* | ?:[\\/]*) |
7980 else | 5520 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. |
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5521 ;; |
| 5522 *) |
| 5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7982 for as_dir in $PATH | 5524 for as_dir in $PATH |
7983 do | 5525 do |
7984 IFS=$as_save_IFS | 5526 IFS=$as_save_IFS |
7985 test -z "$as_dir" && as_dir=. | 5527 test -z "$as_dir" && as_dir=. |
7986 for ac_exec_ext in '' $ac_executable_extensions; do | 5528 for ac_exec_ext in '' $ac_executable_extensions; do |
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7988 ac_cv_prog_ac_ct_OTOOL64="otool64" | 5530 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" |
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | 5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
7990 break 2 | 5532 break 2 |
7991 fi | 5533 fi |
7992 done | 5534 done |
7993 done | 5535 done |
7994 IFS=$as_save_IFS | 5536 IFS=$as_save_IFS |
7995 | 5537 |
| 5538 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc" |
| 5539 ;; |
| 5540 esac |
7996 fi | 5541 fi |
7997 fi | 5542 XSLTPROC=$ac_cv_path_XSLTPROC |
7998 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | 5543 if test -n "$XSLTPROC"; then |
7999 if test -n "$ac_ct_OTOOL64"; then | 5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5 |
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | 5545 $as_echo "$XSLTPROC" >&6; } |
8001 $as_echo "$ac_ct_OTOOL64" >&6; } | |
8002 else | 5546 else |
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8004 $as_echo "no" >&6; } | 5548 $as_echo "no" >&6; } |
8005 fi | 5549 fi |
8006 | 5550 |
8007 if test "x$ac_ct_OTOOL64" = x; then | |
8008 OTOOL64=":" | |
8009 else | |
8010 case $cross_compiling:$ac_tool_warned in | |
8011 yes:) | |
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
8013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
8014 ac_tool_warned=yes ;; | |
8015 esac | |
8016 OTOOL64=$ac_ct_OTOOL64 | |
8017 fi | |
8018 else | |
8019 OTOOL64="$ac_cv_prog_OTOOL64" | |
8020 fi | |
8021 | |
8022 | |
8023 | |
8024 | |
8025 | |
8026 | |
8027 | |
8028 | |
8029 | |
8030 | |
8031 | |
8032 | |
8033 | |
8034 | |
8035 | |
8036 | |
8037 | |
8038 | |
8039 | |
8040 | |
8041 | |
8042 | |
8043 | |
8044 | |
8045 | |
8046 | |
8047 | |
8048 { $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; } | |
8050 if ${lt_cv_apple_cc_single_mod+:} false; then : | |
8051 $as_echo_n "(cached) " >&6 | |
8052 else | |
8053 lt_cv_apple_cc_single_mod=no | |
8054 if test -z "$LT_MULTI_MODULE"; then | |
8055 # By default we will add the -single_module flag. You can override | |
8056 # by either setting the environment variable LT_MULTI_MODULE | |
8057 # non-empty at configure time, or by adding -multi_module to the | |
8058 # link flags. | |
8059 rm -rf libconftest.dylib* | |
8060 echo "int foo(void){return 1;}" > conftest.c | |
8061 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
8062 -dynamiclib -Wl,-single_module conftest.c" >&5 | |
8063 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | |
8064 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | |
8065 _lt_result=$? | |
8066 # If there is a non-empty error log, and "single_module" | |
8067 # appears in it, assume the flag caused a linker warning | |
8068 if test -s conftest.err && $GREP single_module conftest.err; then | |
8069 cat conftest.err >&5 | |
8070 # Otherwise, if the output was created with a 0 exit code from | |
8071 # the compiler, it worked. | |
8072 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then | |
8073 lt_cv_apple_cc_single_mod=yes | |
8074 else | |
8075 cat conftest.err >&5 | |
8076 fi | |
8077 rm -rf libconftest.dylib* | |
8078 rm -f conftest.* | |
8079 fi | |
8080 fi | |
8081 { $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; } | |
8083 | |
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list
linker flag" >&5 | |
8085 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | |
8086 if ${lt_cv_ld_exported_symbols_list+:} false; then : | |
8087 $as_echo_n "(cached) " >&6 | |
8088 else | |
8089 lt_cv_ld_exported_symbols_list=no | |
8090 save_LDFLAGS=$LDFLAGS | |
8091 echo "_main" > conftest.sym | |
8092 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | |
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
8094 /* end confdefs.h. */ | |
8095 | |
8096 int | |
8097 main () | |
8098 { | |
8099 | |
8100 ; | |
8101 return 0; | |
8102 } | |
8103 _ACEOF | |
8104 if ac_fn_c_try_link "$LINENO"; then : | |
8105 lt_cv_ld_exported_symbols_list=yes | |
8106 else | |
8107 lt_cv_ld_exported_symbols_list=no | |
8108 fi | |
8109 rm -f core conftest.err conftest.$ac_objext \ | |
8110 conftest$ac_exeext conftest.$ac_ext | |
8111 LDFLAGS=$save_LDFLAGS | |
8112 | |
8113 fi | |
8114 { $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; } | |
8116 | |
8117 { $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; } | |
8119 if ${lt_cv_ld_force_load+:} false; then : | |
8120 $as_echo_n "(cached) " >&6 | |
8121 else | |
8122 lt_cv_ld_force_load=no | |
8123 cat > conftest.c << _LT_EOF | |
8124 int forced_loaded() { return 2;} | |
8125 _LT_EOF | |
8126 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | |
8127 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | |
8128 echo "$AR cru libconftest.a conftest.o" >&5 | |
8129 $AR cru libconftest.a conftest.o 2>&5 | |
8130 echo "$RANLIB libconftest.a" >&5 | |
8131 $RANLIB libconftest.a 2>&5 | |
8132 cat > conftest.c << _LT_EOF | |
8133 int main() { return 0;} | |
8134 _LT_EOF | |
8135 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 | |
8137 _lt_result=$? | |
8138 if test -s conftest.err && $GREP force_load conftest.err; then | |
8139 cat conftest.err >&5 | |
8140 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conft
est >/dev/null 2>&1; then | |
8141 lt_cv_ld_force_load=yes | |
8142 else | |
8143 cat conftest.err >&5 | |
8144 fi | |
8145 rm -f conftest.err libconftest.a conftest conftest.c | |
8146 rm -rf conftest.dSYM | |
8147 | |
8148 fi | |
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | |
8150 $as_echo "$lt_cv_ld_force_load" >&6; } | |
8151 case $host_os in | |
8152 rhapsody* | darwin1.[012]) | |
8153 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; | |
8154 darwin1.*) | |
8155 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;
; | |
8156 darwin*) # darwin 5.x on | |
8157 # if running on 10.5 or later, the deployment target defaults | |
8158 # to the OS version, if on x86, and 10.4, the deployment | |
8159 # target defaults to 10.4. Don't you love it? | |
8160 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | |
8161 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
8162 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; | |
8163 10.[012][,.]*) | |
8164 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppres
s' ;; | |
8165 10.*) | |
8166 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; | |
8167 esac | |
8168 ;; | |
8169 esac | |
8170 if test yes = "$lt_cv_apple_cc_single_mod"; then | |
8171 _lt_dar_single_mod='$single_module' | |
8172 fi | |
8173 if test yes = "$lt_cv_ld_exported_symbols_list"; then | |
8174 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-sy
mbols.expsym' | |
8175 else | |
8176 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $l
ib' | |
8177 fi | |
8178 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then | |
8179 _lt_dsymutil='~$DSYMUTIL $lib || :' | |
8180 else | |
8181 _lt_dsymutil= | |
8182 fi | |
8183 ;; | |
8184 esac | |
8185 | |
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 | 5551 |
8221 | 5552 |
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 5553 { $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; } | 5554 $as_echo_n "checking for ANSI C header files... " >&6; } |
8224 if ${ac_cv_header_stdc+:} false; then : | 5555 if ${ac_cv_header_stdc+:} false; then : |
8225 $as_echo_n "(cached) " >&6 | 5556 $as_echo_n "(cached) " >&6 |
8226 else | 5557 else |
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8228 /* end confdefs.h. */ | 5559 /* end confdefs.h. */ |
8229 #include <stdlib.h> | 5560 #include <stdlib.h> |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8324 fi | 5655 fi |
8325 fi | 5656 fi |
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
8327 $as_echo "$ac_cv_header_stdc" >&6; } | 5658 $as_echo "$ac_cv_header_stdc" >&6; } |
8328 if test $ac_cv_header_stdc = yes; then | 5659 if test $ac_cv_header_stdc = yes; then |
8329 | 5660 |
8330 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 5661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
8331 | 5662 |
8332 fi | 5663 fi |
8333 | 5664 |
8334 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
8335 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
8336 inttypes.h stdint.h unistd.h | |
8337 do : | |
8338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
8339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default | |
8340 " | |
8341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
8342 cat >>confdefs.h <<_ACEOF | |
8343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
8344 _ACEOF | |
8345 | 5665 |
8346 fi | 5666 case `pwd` in |
8347 | 5667 *\ * | *\» *) |
8348 done | 5668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well
with whitespace in \`pwd\`" >&5 |
| 5669 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`
" >&2;} ;; |
| 5670 esac |
8349 | 5671 |
8350 | 5672 |
8351 for ac_header in dlfcn.h | |
8352 do : | |
8353 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i
ncludes_default | |
8354 " | |
8355 if test "x$ac_cv_header_dlfcn_h" = xyes; then : | |
8356 cat >>confdefs.h <<_ACEOF | |
8357 #define HAVE_DLFCN_H 1 | |
8358 _ACEOF | |
8359 | 5673 |
8360 fi | 5674 macro_version='2.4.2' |
8361 | 5675 macro_revision='1.3337' |
8362 done | |
8363 | 5676 |
8364 | 5677 |
8365 | 5678 |
8366 | 5679 |
8367 | |
8368 # Set options | |
8369 | |
8370 | |
8371 | |
8372 enable_dlopen=no | |
8373 | |
8374 | |
8375 enable_win32_dll=no | |
8376 | |
8377 | |
8378 # Check whether --enable-shared was given. | |
8379 if test "${enable_shared+set}" = set; then : | |
8380 enableval=$enable_shared; p=${PACKAGE-default} | |
8381 case $enableval in | |
8382 yes) enable_shared=yes ;; | |
8383 no) enable_shared=no ;; | |
8384 *) | |
8385 enable_shared=no | |
8386 # Look at the argument we got. We use all the common list separators. | |
8387 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | |
8388 for pkg in $enableval; do | |
8389 IFS=$lt_save_ifs | |
8390 if test "X$pkg" = "X$p"; then | |
8391 enable_shared=yes | |
8392 fi | |
8393 done | |
8394 IFS=$lt_save_ifs | |
8395 ;; | |
8396 esac | |
8397 else | |
8398 enable_shared=yes | |
8399 fi | |
8400 | |
8401 | |
8402 | |
8403 | 5680 |
8404 | 5681 |
8405 | 5682 |
8406 | 5683 |
8407 | 5684 |
8408 | 5685 |
8409 # Check whether --enable-static was given. | 5686 |
8410 if test "${enable_static+set}" = set; then : | 5687 |
8411 enableval=$enable_static; p=${PACKAGE-default} | 5688 |
8412 case $enableval in | 5689 ltmain="$ac_aux_dir/ltmain.sh" |
8413 yes) enable_static=yes ;; | 5690 |
8414 no) enable_static=no ;; | 5691 # Backslashify metacharacters that are still active within |
8415 *) | 5692 # double-quoted strings. |
8416 enable_static=no | 5693 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
8417 # Look at the argument we got. We use all the common list separators. | 5694 |
8418 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | 5695 # Same as above, but do not quote variable references. |
8419 for pkg in $enableval; do | 5696 double_quote_subst='s/\(["`\\]\)/\\\1/g' |
8420 » IFS=$lt_save_ifs | 5697 |
8421 » if test "X$pkg" = "X$p"; then | 5698 # Sed substitution to delay expansion of an escaped shell variable in a |
8422 » enable_static=yes | 5699 # double_quote_subst'ed string. |
8423 » fi | 5700 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
8424 done | 5701 |
8425 IFS=$lt_save_ifs | 5702 # Sed substitution to delay expansion of an escaped single quote. |
8426 ;; | 5703 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
8427 esac | 5704 |
| 5705 # Sed substitution to avoid accidental globbing in evaled expressions |
| 5706 no_glob_subst='s/\*/\\\*/g' |
| 5707 |
| 5708 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 5709 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 5710 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 5711 |
| 5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| 5713 $as_echo_n "checking how to print strings... " >&6; } |
| 5714 # Test print first, because it will be a builtin if present. |
| 5715 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 5716 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 5717 ECHO='print -r --' |
| 5718 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 5719 ECHO='printf %s\n' |
8428 else | 5720 else |
8429 enable_static=yes | 5721 # Use this function as a fallback that always works. |
| 5722 func_fallback_echo () |
| 5723 { |
| 5724 eval 'cat <<_LTECHO_EOF |
| 5725 $1 |
| 5726 _LTECHO_EOF' |
| 5727 } |
| 5728 ECHO='func_fallback_echo' |
8430 fi | 5729 fi |
8431 | 5730 |
| 5731 # func_echo_all arg... |
| 5732 # Invoke $ECHO with all args, space-separated. |
| 5733 func_echo_all () |
| 5734 { |
| 5735 $ECHO "" |
| 5736 } |
| 5737 |
| 5738 case "$ECHO" in |
| 5739 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| 5740 $as_echo "printf" >&6; } ;; |
| 5741 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| 5742 $as_echo "print -r" >&6; } ;; |
| 5743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| 5744 $as_echo "cat" >&6; } ;; |
| 5745 esac |
| 5746 |
8432 | 5747 |
8433 | 5748 |
8434 | 5749 |
8435 | 5750 |
8436 | 5751 |
8437 | 5752 |
8438 | 5753 |
8439 | 5754 |
8440 | |
8441 # Check whether --with-pic was given. | |
8442 if test "${with_pic+set}" = set; then : | |
8443 withval=$with_pic; lt_p=${PACKAGE-default} | |
8444 case $withval in | |
8445 yes|no) pic_mode=$withval ;; | |
8446 *) | |
8447 pic_mode=default | |
8448 # Look at the argument we got. We use all the common list separators. | |
8449 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | |
8450 for lt_pkg in $withval; do | |
8451 IFS=$lt_save_ifs | |
8452 if test "X$lt_pkg" = "X$lt_p"; then | |
8453 pic_mode=yes | |
8454 fi | |
8455 done | |
8456 IFS=$lt_save_ifs | |
8457 ;; | |
8458 esac | |
8459 else | |
8460 pic_mode=default | |
8461 fi | |
8462 | |
8463 | |
8464 | |
8465 | |
8466 | |
8467 | |
8468 | |
8469 | |
8470 # Check whether --enable-fast-install was given. | |
8471 if test "${enable_fast_install+set}" = set; then : | |
8472 enableval=$enable_fast_install; p=${PACKAGE-default} | |
8473 case $enableval in | |
8474 yes) enable_fast_install=yes ;; | |
8475 no) enable_fast_install=no ;; | |
8476 *) | |
8477 enable_fast_install=no | |
8478 # Look at the argument we got. We use all the common list separators. | |
8479 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, | |
8480 for pkg in $enableval; do | |
8481 IFS=$lt_save_ifs | |
8482 if test "X$pkg" = "X$p"; then | |
8483 enable_fast_install=yes | |
8484 fi | |
8485 done | |
8486 IFS=$lt_save_ifs | |
8487 ;; | |
8488 esac | |
8489 else | |
8490 enable_fast_install=yes | |
8491 fi | |
8492 | |
8493 | |
8494 | |
8495 | |
8496 | 5755 |
8497 | 5756 |
8498 | 5757 |
8499 | 5758 |
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 | 5759 |
| 5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not trunca
te output" >&5 |
| 5761 $as_echo_n "checking for a sed that does not truncate output... " >&6; } |
| 5762 if ${ac_cv_path_SED+:} false; then : |
| 5763 $as_echo_n "(cached) " >&6 |
| 5764 else |
| 5765 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbb
bbbbbbbbbbbbb/ |
| 5766 for ac_i in 1 2 3 4 5 6 7; do |
| 5767 ac_script="$ac_script$as_nl$ac_script" |
| 5768 done |
| 5769 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
| 5770 { ac_script=; unset ac_script;} |
| 5771 if test -z "$SED"; then |
| 5772 ac_path_SED_found=false |
| 5773 # Loop through the user's path and test for each of PROGNAME-LIST |
| 5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5775 for as_dir in $PATH |
| 5776 do |
| 5777 IFS=$as_save_IFS |
| 5778 test -z "$as_dir" && as_dir=. |
| 5779 for ac_prog in sed gsed; do |
| 5780 for ac_exec_ext in '' $ac_executable_extensions; do |
| 5781 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
| 5782 as_fn_executable_p "$ac_path_SED" || continue |
| 5783 # Check for GNU ac_path_SED and select it if it is found. |
| 5784 # Check for GNU $ac_path_SED |
| 5785 case `"$ac_path_SED" --version 2>&1` in |
| 5786 *GNU*) |
| 5787 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
| 5788 *) |
| 5789 ac_count=0 |
| 5790 $as_echo_n 0123456789 >"conftest.in" |
| 5791 while : |
| 5792 do |
| 5793 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5794 mv "conftest.tmp" "conftest.in" |
| 5795 cp "conftest.in" "conftest.nl" |
| 5796 $as_echo '' >> "conftest.nl" |
| 5797 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null |
| break |
| 5798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5799 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5800 if test $ac_count -gt ${ac_path_SED_max-0}; then |
| 5801 # Best one so far, save it but keep looking for a better one |
| 5802 ac_cv_path_SED="$ac_path_SED" |
| 5803 ac_path_SED_max=$ac_count |
| 5804 fi |
| 5805 # 10*(2^10) chars as input seems more than enough |
| 5806 test $ac_count -gt 10 && break |
| 5807 done |
| 5808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 5809 esac |
| 5810 |
| 5811 $ac_path_SED_found && break 3 |
| 5812 done |
| 5813 done |
| 5814 done |
| 5815 IFS=$as_save_IFS |
| 5816 if test -z "$ac_cv_path_SED"; then |
| 5817 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
| 5818 fi |
| 5819 else |
| 5820 ac_cv_path_SED=$SED |
| 5821 fi |
| 5822 |
| 5823 fi |
| 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
| 5825 $as_echo "$ac_cv_path_SED" >&6; } |
| 5826 SED="$ac_cv_path_SED" |
| 5827 rm -f conftest.sed |
| 5828 |
| 5829 test -z "$SED" && SED=sed |
| 5830 Xsed="$SED -e 1s/^X//" |
8549 | 5831 |
8550 | 5832 |
8551 | 5833 |
8552 | |
8553 | |
8554 | |
8555 # This can be used to rebuild libtool when needed | |
8556 LIBTOOL_DEPS=$ltmain | |
8557 | |
8558 # Always use our own libtool. | |
8559 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | |
8560 | |
8561 | |
8562 | |
8563 | |
8564 | |
8565 | |
8566 | |
8567 | |
8568 | |
8569 | |
8570 | |
8571 | |
8572 | |
8573 | 5834 |
8574 | 5835 |
8575 | 5836 |
8576 | 5837 |
8577 | 5838 |
8578 | 5839 |
8579 | 5840 |
8580 | 5841 |
| 5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
| 5843 $as_echo_n "checking for fgrep... " >&6; } |
| 5844 if ${ac_cv_path_FGREP+:} false; then : |
| 5845 $as_echo_n "(cached) " >&6 |
| 5846 else |
| 5847 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
| 5848 then ac_cv_path_FGREP="$GREP -F" |
| 5849 else |
| 5850 if test -z "$FGREP"; then |
| 5851 ac_path_FGREP_found=false |
| 5852 # Loop through the user's path and test for each of PROGNAME-LIST |
| 5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5854 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5855 do |
| 5856 IFS=$as_save_IFS |
| 5857 test -z "$as_dir" && as_dir=. |
| 5858 for ac_prog in fgrep; do |
| 5859 for ac_exec_ext in '' $ac_executable_extensions; do |
| 5860 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 5861 as_fn_executable_p "$ac_path_FGREP" || continue |
| 5862 # Check for GNU ac_path_FGREP and select it if it is found. |
| 5863 # Check for GNU $ac_path_FGREP |
| 5864 case `"$ac_path_FGREP" --version 2>&1` in |
| 5865 *GNU*) |
| 5866 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
| 5867 *) |
| 5868 ac_count=0 |
| 5869 $as_echo_n 0123456789 >"conftest.in" |
| 5870 while : |
| 5871 do |
| 5872 cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 5873 mv "conftest.tmp" "conftest.in" |
| 5874 cp "conftest.in" "conftest.nl" |
| 5875 $as_echo 'FGREP' >> "conftest.nl" |
| 5876 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 5877 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 5878 as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 5879 if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
| 5880 # Best one so far, save it but keep looking for a better one |
| 5881 ac_cv_path_FGREP="$ac_path_FGREP" |
| 5882 ac_path_FGREP_max=$ac_count |
| 5883 fi |
| 5884 # 10*(2^10) chars as input seems more than enough |
| 5885 test $ac_count -gt 10 && break |
| 5886 done |
| 5887 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 5888 esac |
| 5889 |
| 5890 $ac_path_FGREP_found && break 3 |
| 5891 done |
| 5892 done |
| 5893 done |
| 5894 IFS=$as_save_IFS |
| 5895 if test -z "$ac_cv_path_FGREP"; then |
| 5896 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/u
sr/xpg4/bin" "$LINENO" 5 |
| 5897 fi |
| 5898 else |
| 5899 ac_cv_path_FGREP=$FGREP |
| 5900 fi |
| 5901 |
| 5902 fi |
| 5903 fi |
| 5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
| 5905 $as_echo "$ac_cv_path_FGREP" >&6; } |
| 5906 FGREP="$ac_cv_path_FGREP" |
| 5907 |
| 5908 |
| 5909 test -z "$GREP" && GREP=grep |
| 5910 |
| 5911 |
| 5912 |
8581 | 5913 |
8582 | 5914 |
8583 | 5915 |
8584 | 5916 |
8585 | 5917 |
8586 | |
8587 | |
8588 | |
8589 | |
8590 test -z "$LN_S" && LN_S="ln -s" | |
8591 | |
8592 | |
8593 | |
8594 | 5918 |
8595 | 5919 |
8596 | 5920 |
8597 | 5921 |
8598 | 5922 |
8599 | 5923 |
8600 | 5924 |
8601 | 5925 |
8602 | 5926 |
8603 | 5927 |
8604 | 5928 |
8605 if test -n "${ZSH_VERSION+set}"; then | 5929 # Check whether --with-gnu-ld was given. |
8606 setopt NO_GLOB_SUBST | 5930 if test "${with_gnu_ld+set}" = set; then : |
8607 fi | 5931 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
8608 | 5932 else |
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | 5933 with_gnu_ld=no |
8610 $as_echo_n "checking for objdir... " >&6; } | 5934 fi |
8611 if ${lt_cv_objdir+:} false; then : | 5935 |
8612 $as_echo_n "(cached) " >&6 | 5936 ac_prog=ld |
8613 else | 5937 if test "$GCC" = yes; then |
8614 rm -f .libs 2>/dev/null | 5938 # Check if gcc -print-prog-name=ld gives a path. |
8615 mkdir .libs 2>/dev/null | 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
8616 if test -d .libs; then | 5940 $as_echo_n "checking for ld used by $CC... " >&6; } |
8617 lt_cv_objdir=.libs | 5941 case $host in |
8618 else | 5942 *-*-mingw*) |
8619 # MS-DOS does not allow filenames that begin with a dot. | 5943 # gcc leaves a trailing carriage return which upsets mingw |
8620 lt_cv_objdir=_libs | 5944 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
8621 fi | 5945 *) |
8622 rmdir .libs 2>/dev/null | 5946 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
8623 fi | 5947 esac |
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | 5948 case $ac_prog in |
8625 $as_echo "$lt_cv_objdir" >&6; } | 5949 # Accept absolute paths. |
8626 objdir=$lt_cv_objdir | 5950 [\\/]* | ?:[\\/]*) |
8627 | 5951 re_direlt='/[^/][^/]*/\.\./' |
8628 | 5952 # Canonicalize the pathname of ld |
8629 | 5953 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
8630 | 5954 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
8631 | 5955 » ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
8632 cat >>confdefs.h <<_ACEOF | 5956 done |
8633 #define LT_OBJDIR "$lt_cv_objdir/" | 5957 test -z "$LD" && LD="$ac_prog" |
8634 _ACEOF | 5958 ;; |
8635 | 5959 "") |
8636 | 5960 # If it fails, then pretend we aren't using GCC. |
8637 | 5961 ac_prog=ld |
8638 | 5962 ;; |
8639 case $host_os in | 5963 *) |
8640 aix3*) | 5964 # If it is relative, then search for the first ld in PATH. |
8641 # AIX sometimes has problems with the GCC collect2 program. For some | 5965 with_gnu_ld=unknown |
8642 # reason, if we set the COLLECT_NAMES environment variable, the problems | 5966 ;; |
8643 # vanish in a puff of smoke. | 5967 esac |
8644 if test set != "${COLLECT_NAMES+set}"; then | 5968 elif test "$with_gnu_ld" = yes; then |
8645 COLLECT_NAMES= | 5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
8646 export COLLECT_NAMES | 5970 $as_echo_n "checking for GNU ld... " >&6; } |
8647 fi | 5971 else |
| 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 5973 $as_echo_n "checking for non-GNU ld... " >&6; } |
| 5974 fi |
| 5975 if ${lt_cv_path_LD+:} false; then : |
| 5976 $as_echo_n "(cached) " >&6 |
| 5977 else |
| 5978 if test -z "$LD"; then |
| 5979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 5980 for ac_dir in $PATH; do |
| 5981 IFS="$lt_save_ifs" |
| 5982 test -z "$ac_dir" && ac_dir=. |
| 5983 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 5984 lt_cv_path_LD="$ac_dir/$ac_prog" |
| 5985 # Check to see if the program is GNU ld. I'd rather use --version, |
| 5986 # but apparently some variants of GNU ld only accept -v. |
| 5987 # Break only if it was the GNU/non-GNU ld that we prefer. |
| 5988 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 5989 *GNU* | *'with BFD'*) |
| 5990 » test "$with_gnu_ld" != no && break |
| 5991 » ;; |
| 5992 *) |
| 5993 » test "$with_gnu_ld" != yes && break |
| 5994 » ;; |
| 5995 esac |
| 5996 fi |
| 5997 done |
| 5998 IFS="$lt_save_ifs" |
| 5999 else |
| 6000 lt_cv_path_LD="$LD" # Let the user override the test with a path. |
| 6001 fi |
| 6002 fi |
| 6003 |
| 6004 LD="$lt_cv_path_LD" |
| 6005 if test -n "$LD"; then |
| 6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 6007 $as_echo "$LD" >&6; } |
| 6008 else |
| 6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6010 $as_echo "no" >&6; } |
| 6011 fi |
| 6012 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld"
>&5 |
| 6014 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
| 6015 if ${lt_cv_prog_gnu_ld+:} false; then : |
| 6016 $as_echo_n "(cached) " >&6 |
| 6017 else |
| 6018 # I'd rather use --version here, but apparently some GNU lds only accept -v. |
| 6019 case `$LD -v 2>&1 </dev/null` in |
| 6020 *GNU* | *'with BFD'*) |
| 6021 lt_cv_prog_gnu_ld=yes |
| 6022 ;; |
| 6023 *) |
| 6024 lt_cv_prog_gnu_ld=no |
8648 ;; | 6025 ;; |
8649 esac | 6026 esac |
8650 | 6027 fi |
8651 # Global variables: | 6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
8652 ofile=libtool | 6029 $as_echo "$lt_cv_prog_gnu_ld" >&6; } |
8653 can_build_shared=yes | |
8654 | |
8655 # All known linkers require a '.a' archive for static linking (except MSVC, | |
8656 # which needs '.lib'). | |
8657 libext=a | |
8658 | |
8659 with_gnu_ld=$lt_cv_prog_gnu_ld | 6030 with_gnu_ld=$lt_cv_prog_gnu_ld |
8660 | 6031 |
8661 old_CC=$CC | 6032 |
8662 old_CFLAGS=$CFLAGS | 6033 |
8663 | 6034 |
8664 # Set sane defaults for various variables | 6035 |
8665 test -z "$CC" && CC=cc | 6036 |
8666 test -z "$LTCC" && LTCC=$CC | 6037 |
8667 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 6038 |
8668 test -z "$LD" && LD=ld | 6039 |
8669 test -z "$ac_objext" && ac_objext=o | 6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name
lister (nm)" >&5 |
8670 | 6041 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
8671 func_cc_basename $compiler | 6042 if ${lt_cv_path_NM+:} false; then : |
8672 cc_basename=$func_cc_basename_result | 6043 $as_echo_n "(cached) " >&6 |
8673 | 6044 else |
8674 | 6045 if test -n "$NM"; then |
8675 # Only perform the check for file, if the check method requires it | 6046 # Let the user override the test. |
8676 test -z "$MAGIC_CMD" && MAGIC_CMD=file | 6047 lt_cv_path_NM="$NM" |
8677 case $deplibs_check_method in | 6048 else |
8678 file_magic*) | 6049 lt_nm_to_check="${ac_tool_prefix}nm" |
8679 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 6050 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 | 6051 lt_nm_to_check="$lt_nm_to_check nm" |
8681 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | 6052 fi |
8682 if ${lt_cv_path_MAGIC_CMD+:} false; then : | 6053 for lt_tmp_nm in $lt_nm_to_check; do |
8683 $as_echo_n "(cached) " >&6 | 6054 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
8684 else | 6055 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
8685 case $MAGIC_CMD in | 6056 IFS="$lt_save_ifs" |
8686 [\\/*] | ?:[\\/]*) | 6057 test -z "$ac_dir" && ac_dir=. |
8687 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. | 6058 tmp_nm="$ac_dir/$lt_tmp_nm" |
8688 ;; | 6059 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
8689 *) | 6060 » # Check to see if the nm accepts a BSD-compat flag. |
8690 lt_save_MAGIC_CMD=$MAGIC_CMD | 6061 » # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
8691 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | 6062 » # nm: unknown option "B" ignored |
8692 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 6063 » # Tru64's nm complains that /dev/null is an invalid object file |
8693 for ac_dir in $ac_dummy; do | 6064 » case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
8694 IFS=$lt_save_ifs | 6065 » */dev/null* | *'Invalid file or object type'*) |
8695 test -z "$ac_dir" && ac_dir=. | 6066 » lt_cv_path_NM="$tmp_nm -B" |
8696 if test -f "$ac_dir/${ac_tool_prefix}file"; then | 6067 » break |
8697 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" | 6068 » ;; |
8698 if test -n "$file_magic_test_file"; then | 6069 » *) |
8699 » case $deplibs_check_method in | 6070 » case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
8700 » "file_magic "*) | 6071 » */dev/null*) |
8701 » file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 6072 » lt_cv_path_NM="$tmp_nm -p" |
8702 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 6073 » break |
8703 » if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 6074 » ;; |
8704 » $EGREP "$file_magic_regex" > /dev/null; then | 6075 » *) |
8705 » : | 6076 » lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
8706 » else | 6077 » continue # so that we can try to find one that supports BSD flags |
8707 » cat <<_LT_EOF 1>&2 | 6078 » ;; |
8708 | 6079 » esac |
8709 *** Warning: the command libtool uses to detect shared libraries, | 6080 » ;; |
8710 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
8711 *** The result is that libtool may fail to recognize shared libraries | |
8712 *** as such. This will affect the creation of libtool libraries that | |
8713 *** depend on shared libraries, but programs linked with such libtool | |
8714 *** libraries will work regardless of this problem. Nevertheless, you | |
8715 *** may want to report the problem to your system manager and/or to | |
8716 *** bug-libtool@gnu.org | |
8717 | |
8718 _LT_EOF | |
8719 » fi ;; | |
8720 esac | 6081 esac |
8721 fi | 6082 fi |
8722 break | 6083 done |
8723 fi | 6084 IFS="$lt_save_ifs" |
8724 done | 6085 done |
8725 IFS=$lt_save_ifs | 6086 : ${lt_cv_path_NM=no} |
8726 MAGIC_CMD=$lt_save_MAGIC_CMD | 6087 fi |
8727 ;; | 6088 fi |
8728 esac | 6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
8729 fi | 6090 $as_echo "$lt_cv_path_NM" >&6; } |
8730 | 6091 if test "$lt_cv_path_NM" != "no"; then |
8731 MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 6092 NM="$lt_cv_path_NM" |
8732 if test -n "$MAGIC_CMD"; then | 6093 else |
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 6094 # Didn't find any BSD compatible name lister, look for dumpbin. |
8734 $as_echo "$MAGIC_CMD" >&6; } | 6095 if test -n "$DUMPBIN"; then : |
| 6096 # Let the user override the test. |
| 6097 else |
| 6098 if test -n "$ac_tool_prefix"; then |
| 6099 for ac_prog in dumpbin "link -dump" |
| 6100 do |
| 6101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
| 6102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6104 $as_echo_n "checking for $ac_word... " >&6; } |
| 6105 if ${ac_cv_prog_DUMPBIN+:} false; then : |
| 6106 $as_echo_n "(cached) " >&6 |
| 6107 else |
| 6108 if test -n "$DUMPBIN"; then |
| 6109 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
| 6110 else |
| 6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6112 for as_dir in $PATH |
| 6113 do |
| 6114 IFS=$as_save_IFS |
| 6115 test -z "$as_dir" && as_dir=. |
| 6116 for ac_exec_ext in '' $ac_executable_extensions; do |
| 6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6118 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
| 6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 6120 break 2 |
| 6121 fi |
| 6122 done |
| 6123 done |
| 6124 IFS=$as_save_IFS |
| 6125 |
| 6126 fi |
| 6127 fi |
| 6128 DUMPBIN=$ac_cv_prog_DUMPBIN |
| 6129 if test -n "$DUMPBIN"; then |
| 6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
| 6131 $as_echo "$DUMPBIN" >&6; } |
8735 else | 6132 else |
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8737 $as_echo "no" >&6; } | 6134 $as_echo "no" >&6; } |
8738 fi | 6135 fi |
8739 | 6136 |
8740 | 6137 |
8741 | 6138 test -n "$DUMPBIN" && break |
8742 | |
8743 | |
8744 if test -z "$lt_cv_path_MAGIC_CMD"; then | |
8745 if test -n "$ac_tool_prefix"; then | |
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | |
8747 $as_echo_n "checking for file... " >&6; } | |
8748 if ${lt_cv_path_MAGIC_CMD+:} false; then : | |
8749 $as_echo_n "(cached) " >&6 | |
8750 else | |
8751 case $MAGIC_CMD in | |
8752 [\\/*] | ?:[\\/]*) | |
8753 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. | |
8754 ;; | |
8755 *) | |
8756 lt_save_MAGIC_CMD=$MAGIC_CMD | |
8757 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR | |
8758 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | |
8759 for ac_dir in $ac_dummy; do | |
8760 IFS=$lt_save_ifs | |
8761 test -z "$ac_dir" && ac_dir=. | |
8762 if test -f "$ac_dir/file"; then | |
8763 lt_cv_path_MAGIC_CMD=$ac_dir/"file" | |
8764 if test -n "$file_magic_test_file"; then | |
8765 » case $deplibs_check_method in | |
8766 » "file_magic "*) | |
8767 » file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | |
8768 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD | |
8769 » if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | |
8770 » $EGREP "$file_magic_regex" > /dev/null; then | |
8771 » : | |
8772 » else | |
8773 » cat <<_LT_EOF 1>&2 | |
8774 | |
8775 *** Warning: the command libtool uses to detect shared libraries, | |
8776 *** $file_magic_cmd, produces output that libtool cannot recognize. | |
8777 *** The result is that libtool may fail to recognize shared libraries | |
8778 *** as such. This will affect the creation of libtool libraries that | |
8779 *** depend on shared libraries, but programs linked with such libtool | |
8780 *** libraries will work regardless of this problem. Nevertheless, you | |
8781 *** may want to report the problem to your system manager and/or to | |
8782 *** bug-libtool@gnu.org | |
8783 | |
8784 _LT_EOF | |
8785 » fi ;; | |
8786 » esac | |
8787 fi | |
8788 break | |
8789 fi | |
8790 done | 6139 done |
8791 IFS=$lt_save_ifs | 6140 fi |
8792 MAGIC_CMD=$lt_save_MAGIC_CMD | 6141 if test -z "$DUMPBIN"; then |
8793 ;; | 6142 ac_ct_DUMPBIN=$DUMPBIN |
8794 esac | 6143 for ac_prog in dumpbin "link -dump" |
8795 fi | 6144 do |
8796 | 6145 # Extract the first word of "$ac_prog", so it can be a program name with args. |
8797 MAGIC_CMD=$lt_cv_path_MAGIC_CMD | 6146 set dummy $ac_prog; ac_word=$2 |
8798 if test -n "$MAGIC_CMD"; then | 6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 6148 $as_echo_n "checking for $ac_word... " >&6; } |
8800 $as_echo "$MAGIC_CMD" >&6; } | 6149 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
| 6150 $as_echo_n "(cached) " >&6 |
| 6151 else |
| 6152 if test -n "$ac_ct_DUMPBIN"; then |
| 6153 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
| 6154 else |
| 6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6156 for as_dir in $PATH |
| 6157 do |
| 6158 IFS=$as_save_IFS |
| 6159 test -z "$as_dir" && as_dir=. |
| 6160 for ac_exec_ext in '' $ac_executable_extensions; do |
| 6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6162 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
| 6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 6164 break 2 |
| 6165 fi |
| 6166 done |
| 6167 done |
| 6168 IFS=$as_save_IFS |
| 6169 |
| 6170 fi |
| 6171 fi |
| 6172 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
| 6173 if test -n "$ac_ct_DUMPBIN"; then |
| 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
| 6175 $as_echo "$ac_ct_DUMPBIN" >&6; } |
8801 else | 6176 else |
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8803 $as_echo "no" >&6; } | 6178 $as_echo "no" >&6; } |
8804 fi | 6179 fi |
8805 | 6180 |
8806 | 6181 |
| 6182 test -n "$ac_ct_DUMPBIN" && break |
| 6183 done |
| 6184 |
| 6185 if test "x$ac_ct_DUMPBIN" = x; then |
| 6186 DUMPBIN=":" |
8807 else | 6187 else |
8808 MAGIC_CMD=: | 6188 case $cross_compiling:$ac_tool_warned in |
8809 fi | 6189 yes:) |
8810 fi | 6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
8811 | 6191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
8812 fi | 6192 ac_tool_warned=yes ;; |
8813 ;; | |
8814 esac | 6193 esac |
8815 | 6194 DUMPBIN=$ac_ct_DUMPBIN |
8816 # Use C for the default configuration in the libtool script | 6195 fi |
8817 | 6196 fi |
8818 lt_save_CC=$CC | 6197 |
8819 ac_ext=c | 6198 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
8820 ac_cpp='$CPP $CPPFLAGS' | 6199 *COFF*) |
8821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 6200 DUMPBIN="$DUMPBIN -symbols" |
8822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | |
8823 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
8824 | |
8825 | |
8826 # Source file extension for C test sources. | |
8827 ac_ext=c | |
8828 | |
8829 # Object file extension for compiled C test sources. | |
8830 objext=o | |
8831 objext=$objext | |
8832 | |
8833 # Code to be used in simple compile tests | |
8834 lt_simple_compile_test_code="int some_variable = 0;" | |
8835 | |
8836 # Code to be used in simple link tests | |
8837 lt_simple_link_test_code='int main(){return(0);}' | |
8838 | |
8839 | |
8840 | |
8841 | |
8842 | |
8843 | |
8844 | |
8845 # If no C compiler was specified, use CC. | |
8846 LTCC=${LTCC-"$CC"} | |
8847 | |
8848 # If no C compiler flags were specified, use CFLAGS. | |
8849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | |
8850 | |
8851 # Allow CC to be a program name with arguments. | |
8852 compiler=$CC | |
8853 | |
8854 # Save the default compiler, since it gets overwritten when the other | |
8855 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | |
8856 compiler_DEFAULT=$CC | |
8857 | |
8858 # save warnings/boilerplate of simple test code | |
8859 ac_outfile=conftest.$ac_objext | |
8860 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | |
8861 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
8862 _lt_compiler_boilerplate=`cat conftest.err` | |
8863 $RM conftest* | |
8864 | |
8865 ac_outfile=conftest.$ac_objext | |
8866 echo "$lt_simple_link_test_code" >conftest.$ac_ext | |
8867 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | |
8868 _lt_linker_boilerplate=`cat conftest.err` | |
8869 $RM -r conftest* | |
8870 | |
8871 | |
8872 ## CAVEAT EMPTOR: | |
8873 ## There is no encapsulation within the following macros, do not change | |
8874 ## the running order or otherwise move them around unless you know exactly | |
8875 ## what you are doing... | |
8876 if test -n "$compiler"; then | |
8877 | |
8878 lt_prog_compiler_no_builtin_flag= | |
8879 | |
8880 if test yes = "$GCC"; then | |
8881 case $cc_basename in | |
8882 nvcc*) | |
8883 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | |
8884 *) | |
8885 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | |
8886 esac | |
8887 | |
8888 { $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; } | |
8890 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | |
8891 $as_echo_n "(cached) " >&6 | |
8892 else | |
8893 lt_cv_prog_compiler_rtti_exceptions=no | |
8894 ac_outfile=conftest.$ac_objext | |
8895 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 | |
8897 # Insert the option either (1) after the last *FLAGS variable, or | |
8898 # (2) before a word containing "conftest.", or (3) at the end. | |
8899 # 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. | |
8901 # The option is referenced via a variable to avoid confusing sed. | |
8902 lt_compile=`echo "$ac_compile" | $SED \ | |
8903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
8904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
8905 -e 's:$: $lt_compiler_flag:'` | |
8906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
8907 (eval "$lt_compile" 2>conftest.err) | |
8908 ac_status=$? | |
8909 cat conftest.err >&5 | |
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8911 if (exit $ac_status) && test -s "$ac_outfile"; then | |
8912 # 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. | |
8914 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | |
8915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
8916 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | |
8917 lt_cv_prog_compiler_rtti_exceptions=yes | |
8918 fi | |
8919 fi | |
8920 $RM conftest* | |
8921 | |
8922 fi | |
8923 { $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; } | |
8925 | |
8926 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then | |
8927 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" | |
8928 else | |
8929 : | |
8930 fi | |
8931 | |
8932 fi | |
8933 | |
8934 | |
8935 | |
8936 | |
8937 | |
8938 | |
8939 lt_prog_compiler_wl= | |
8940 lt_prog_compiler_pic= | |
8941 lt_prog_compiler_static= | |
8942 | |
8943 | |
8944 if test yes = "$GCC"; then | |
8945 lt_prog_compiler_wl='-Wl,' | |
8946 lt_prog_compiler_static='-static' | |
8947 | |
8948 case $host_os in | |
8949 aix*) | |
8950 # All AIX code is PIC. | |
8951 if test ia64 = "$host_cpu"; then | |
8952 » # AIX 5 now supports IA64 processor | |
8953 » lt_prog_compiler_static='-Bstatic' | |
8954 fi | |
8955 lt_prog_compiler_pic='-fPIC' | |
8956 ;; | 6201 ;; |
8957 | |
8958 amigaos*) | |
8959 case $host_cpu in | |
8960 powerpc) | |
8961 # see comment about AmigaOS4 .so support | |
8962 lt_prog_compiler_pic='-fPIC' | |
8963 ;; | |
8964 m68k) | |
8965 # FIXME: we need at least 68020 code to build shared libraries, but | |
8966 # adding the '-m68020' flag to GCC prevents building anything better
, | |
8967 # like '-m68040'. | |
8968 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | |
8969 ;; | |
8970 esac | |
8971 ;; | |
8972 | |
8973 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | |
8974 # PIC is the default for these OSes. | |
8975 ;; | |
8976 | |
8977 mingw* | cygwin* | pw32* | os2* | cegcc*) | |
8978 # 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). | |
8980 # Although the cygwin gcc ignores -fPIC, still need this for old-style | |
8981 # (--disable-auto-import) libraries | |
8982 lt_prog_compiler_pic='-DDLL_EXPORT' | |
8983 case $host_os in | |
8984 os2*) | |
8985 lt_prog_compiler_static='$wl-static' | |
8986 ;; | |
8987 esac | |
8988 ;; | |
8989 | |
8990 darwin* | rhapsody*) | |
8991 # PIC is the default on this platform | |
8992 # Common symbols not allowed in MH_DYLIB files | |
8993 lt_prog_compiler_pic='-fno-common' | |
8994 ;; | |
8995 | |
8996 haiku*) | |
8997 # PIC is the default for Haiku. | |
8998 # The "-static" flag exists, but is broken. | |
8999 lt_prog_compiler_static= | |
9000 ;; | |
9001 | |
9002 hpux*) | |
9003 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | |
9004 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | |
9005 # sets the default TLS model and affects inlining. | |
9006 case $host_cpu in | |
9007 hppa*64*) | |
9008 # +Z the default | |
9009 ;; | |
9010 *) | |
9011 lt_prog_compiler_pic='-fPIC' | |
9012 ;; | |
9013 esac | |
9014 ;; | |
9015 | |
9016 interix[3-9]*) | |
9017 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | |
9018 # Instead, we relocate shared libraries at runtime. | |
9019 ;; | |
9020 | |
9021 msdosdjgpp*) | |
9022 # Just because we use GCC doesn't mean we suddenly get shared libraries | |
9023 # on systems that don't support them. | |
9024 lt_prog_compiler_can_build_shared=no | |
9025 enable_shared=no | |
9026 ;; | |
9027 | |
9028 *nto* | *qnx*) | |
9029 # QNX uses GNU C++, but need to define -shared option too, otherwise | |
9030 # it will coredump. | |
9031 lt_prog_compiler_pic='-fPIC -shared' | |
9032 ;; | |
9033 | |
9034 sysv4*MP*) | |
9035 if test -d /usr/nec; then | |
9036 lt_prog_compiler_pic=-Kconform_pic | |
9037 fi | |
9038 ;; | |
9039 | |
9040 *) | 6202 *) |
9041 lt_prog_compiler_pic='-fPIC' | 6203 DUMPBIN=: |
9042 ;; | 6204 ;; |
9043 esac | 6205 esac |
9044 | 6206 fi |
9045 case $cc_basename in | 6207 |
9046 nvcc*) # Cuda Compiler Driver 2.2 | 6208 if test "$DUMPBIN" != ":"; then |
9047 lt_prog_compiler_wl='-Xlinker ' | 6209 NM="$DUMPBIN" |
9048 if test -n "$lt_prog_compiler_pic"; then | 6210 fi |
9049 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" | 6211 fi |
9050 fi | 6212 test -z "$NM" && NM=nm |
| 6213 |
| 6214 |
| 6215 |
| 6216 |
| 6217 |
| 6218 |
| 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interfac
e" >&5 |
| 6220 $as_echo_n "checking the name lister ($NM) interface... " >&6; } |
| 6221 if ${lt_cv_nm_interface+:} false; then : |
| 6222 $as_echo_n "(cached) " >&6 |
| 6223 else |
| 6224 lt_cv_nm_interface="BSD nm" |
| 6225 echo "int some_variable = 0;" > conftest.$ac_ext |
| 6226 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
| 6227 (eval "$ac_compile" 2>conftest.err) |
| 6228 cat conftest.err >&5 |
| 6229 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
| 6230 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 6231 cat conftest.err >&5 |
| 6232 (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
| 6233 cat conftest.out >&5 |
| 6234 if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 6235 lt_cv_nm_interface="MS dumpbin" |
| 6236 fi |
| 6237 rm -f conftest* |
| 6238 fi |
| 6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
| 6240 $as_echo "$lt_cv_nm_interface" >&6; } |
| 6241 |
| 6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 6243 $as_echo_n "checking whether ln -s works... " >&6; } |
| 6244 LN_S=$as_ln_s |
| 6245 if test "$LN_S" = "ln -s"; then |
| 6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6247 $as_echo "yes" >&6; } |
| 6248 else |
| 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 6250 $as_echo "no, using $LN_S" >&6; } |
| 6251 fi |
| 6252 |
| 6253 # find the maximum length of command line arguments |
| 6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command
line arguments" >&5 |
| 6255 $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
| 6256 if ${lt_cv_sys_max_cmd_len+:} false; then : |
| 6257 $as_echo_n "(cached) " >&6 |
| 6258 else |
| 6259 i=0 |
| 6260 teststring="ABCD" |
| 6261 |
| 6262 case $build_os in |
| 6263 msdosdjgpp*) |
| 6264 # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 6265 # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 6266 # during glob expansion). Even if it were fixed, the result of this |
| 6267 # check would be larger than it should be. |
| 6268 lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 6269 ;; |
| 6270 |
| 6271 gnu*) |
| 6272 # Under GNU Hurd, this test is not required because there is |
| 6273 # no limit to the length of command line arguments. |
| 6274 # Libtool will interpret -1 as no limit whatsoever |
| 6275 lt_cv_sys_max_cmd_len=-1; |
| 6276 ;; |
| 6277 |
| 6278 cygwin* | mingw* | cegcc*) |
| 6279 # On Win9x/ME, this test blows up -- it succeeds, but takes |
| 6280 # about 5 minutes as the teststring grows exponentially. |
| 6281 # Worse, since 9x/ME are not pre-emptively multitasking, |
| 6282 # you end up with a "frozen" computer, even though with patience |
| 6283 # the test eventually succeeds (with a max line length of 256k). |
| 6284 # Instead, let's just punt: use the minimum linelength reported by |
| 6285 # all of the supported platforms: 8192 (on NT/2K/XP). |
| 6286 lt_cv_sys_max_cmd_len=8192; |
| 6287 ;; |
| 6288 |
| 6289 mint*) |
| 6290 # On MiNT this can take a long time and run out of memory. |
| 6291 lt_cv_sys_max_cmd_len=8192; |
| 6292 ;; |
| 6293 |
| 6294 amigaos*) |
| 6295 # On AmigaOS with pdksh, this test takes hours, literally. |
| 6296 # So we just punt and use a minimum line length of 8192. |
| 6297 lt_cv_sys_max_cmd_len=8192; |
| 6298 ;; |
| 6299 |
| 6300 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
| 6301 # This has been around since 386BSD, at least. Likely further. |
| 6302 if test -x /sbin/sysctl; then |
| 6303 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 6304 elif test -x /usr/sbin/sysctl; then |
| 6305 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 6306 else |
| 6307 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 6308 fi |
| 6309 # And add a safety zone |
| 6310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 6311 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 6312 ;; |
| 6313 |
| 6314 interix*) |
| 6315 # We know the value 262144 and hardcode it with a safety zone (like BSD) |
| 6316 lt_cv_sys_max_cmd_len=196608 |
| 6317 ;; |
| 6318 |
| 6319 os2*) |
| 6320 # The test takes a long time on OS/2. |
| 6321 lt_cv_sys_max_cmd_len=8192 |
| 6322 ;; |
| 6323 |
| 6324 osf*) |
| 6325 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
| 6326 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
| 6327 # nice to cause kernel panics so lets avoid the loop below. |
| 6328 # First set a reasonable default. |
| 6329 lt_cv_sys_max_cmd_len=16384 |
| 6330 # |
| 6331 if test -x /sbin/sysconfig; then |
| 6332 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
| 6333 *1*) lt_cv_sys_max_cmd_len=-1 ;; |
| 6334 esac |
| 6335 fi |
| 6336 ;; |
| 6337 sco3.2v5*) |
| 6338 lt_cv_sys_max_cmd_len=102400 |
| 6339 ;; |
| 6340 sysv5* | sco5v6* | sysv4.2uw2*) |
| 6341 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 6342 if test -n "$kargmax"; then |
| 6343 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
| 6344 else |
| 6345 lt_cv_sys_max_cmd_len=32768 |
| 6346 fi |
| 6347 ;; |
| 6348 *) |
| 6349 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 6350 if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 6351 test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 6352 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 6353 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 6354 else |
| 6355 # Make teststring a little bigger before we do anything with it. |
| 6356 # a 1K string should be a reasonable start. |
| 6357 for i in 1 2 3 4 5 6 7 8 ; do |
| 6358 teststring=$teststring$teststring |
| 6359 done |
| 6360 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 6361 # If test is not a shell built-in, we'll probably end up computing a |
| 6362 # maximum length that is only half of the actual maximum length, but |
| 6363 # we can't tell. |
| 6364 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
| 6365 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 6366 test $i != 17 # 1/2 MB should be enough |
| 6367 do |
| 6368 i=`expr $i + 1` |
| 6369 teststring=$teststring$teststring |
| 6370 done |
| 6371 # Only check the string length outside the loop. |
| 6372 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 6373 teststring= |
| 6374 # Add a significant safety factor because C++ compilers can tack on |
| 6375 # massive amounts of additional arguments before passing them to the |
| 6376 # linker. It appears as though 1/2 is a usable value. |
| 6377 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 6378 fi |
| 6379 ;; |
| 6380 esac |
| 6381 |
| 6382 fi |
| 6383 |
| 6384 if test -n $lt_cv_sys_max_cmd_len ; then |
| 6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
| 6386 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
| 6387 else |
| 6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
| 6389 $as_echo "none" >&6; } |
| 6390 fi |
| 6391 max_cmd_len=$lt_cv_sys_max_cmd_len |
| 6392 |
| 6393 |
| 6394 |
| 6395 |
| 6396 |
| 6397 |
| 6398 : ${CP="cp -f"} |
| 6399 : ${MV="mv -f"} |
| 6400 : ${RM="rm -f"} |
| 6401 |
| 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
some XSI constructs" >&5 |
| 6403 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6;
} |
| 6404 # Try some XSI features |
| 6405 xsi_shell=no |
| 6406 ( _lt_dummy="a/b/c" |
| 6407 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy
"}, \ |
| 6408 = c,a/b,b/c, \ |
| 6409 && eval 'test $(( 1 + 1 )) -eq 2 \ |
| 6410 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
| 6411 && xsi_shell=yes |
| 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
| 6413 $as_echo "$xsi_shell" >&6; } |
| 6414 |
| 6415 |
| 6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5 |
| 6417 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
| 6418 lt_shell_append=no |
| 6419 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
| 6420 >/dev/null 2>&1 \ |
| 6421 && lt_shell_append=yes |
| 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
| 6423 $as_echo "$lt_shell_append" >&6; } |
| 6424 |
| 6425 |
| 6426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 6427 lt_unset=unset |
| 6428 else |
| 6429 lt_unset=false |
| 6430 fi |
| 6431 |
| 6432 |
| 6433 |
| 6434 |
| 6435 |
| 6436 # test EBCDIC or ASCII |
| 6437 case `echo X|tr X '\101'` in |
| 6438 A) # ASCII based system |
| 6439 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 6440 lt_SP2NL='tr \040 \012' |
| 6441 lt_NL2SP='tr \015\012 \040\040' |
| 6442 ;; |
| 6443 *) # EBCDIC based system |
| 6444 lt_SP2NL='tr \100 \n' |
| 6445 lt_NL2SP='tr \r\n \100\100' |
| 6446 ;; |
| 6447 esac |
| 6448 |
| 6449 |
| 6450 |
| 6451 |
| 6452 |
| 6453 |
| 6454 |
| 6455 |
| 6456 |
| 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to $host format" >&5 |
| 6458 $as_echo_n "checking how to convert $build file names to $host format... " >&6;
} |
| 6459 if ${lt_cv_to_host_file_cmd+:} false; then : |
| 6460 $as_echo_n "(cached) " >&6 |
| 6461 else |
| 6462 case $host in |
| 6463 *-*-mingw* ) |
| 6464 case $build in |
| 6465 *-*-mingw* ) # actually msys |
| 6466 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
| 6467 ;; |
| 6468 *-*-cygwin* ) |
| 6469 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
| 6470 ;; |
| 6471 * ) # otherwise, assume *nix |
| 6472 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
| 6473 ;; |
| 6474 esac |
| 6475 ;; |
| 6476 *-*-cygwin* ) |
| 6477 case $build in |
| 6478 *-*-mingw* ) # actually msys |
| 6479 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
| 6480 ;; |
| 6481 *-*-cygwin* ) |
| 6482 lt_cv_to_host_file_cmd=func_convert_file_noop |
| 6483 ;; |
| 6484 * ) # otherwise, assume *nix |
| 6485 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
| 6486 ;; |
| 6487 esac |
| 6488 ;; |
| 6489 * ) # unhandled hosts (and "normal" native builds) |
| 6490 lt_cv_to_host_file_cmd=func_convert_file_noop |
| 6491 ;; |
| 6492 esac |
| 6493 |
| 6494 fi |
| 6495 |
| 6496 to_host_file_cmd=$lt_cv_to_host_file_cmd |
| 6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
| 6498 $as_echo "$lt_cv_to_host_file_cmd" >&6; } |
| 6499 |
| 6500 |
| 6501 |
| 6502 |
| 6503 |
| 6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file nam
es to toolchain format" >&5 |
| 6505 $as_echo_n "checking how to convert $build file names to toolchain format... " >
&6; } |
| 6506 if ${lt_cv_to_tool_file_cmd+:} false; then : |
| 6507 $as_echo_n "(cached) " >&6 |
| 6508 else |
| 6509 #assume ordinary cross tools, or native build. |
| 6510 lt_cv_to_tool_file_cmd=func_convert_file_noop |
| 6511 case $host in |
| 6512 *-*-mingw* ) |
| 6513 case $build in |
| 6514 *-*-mingw* ) # actually msys |
| 6515 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
| 6516 ;; |
| 6517 esac |
| 6518 ;; |
| 6519 esac |
| 6520 |
| 6521 fi |
| 6522 |
| 6523 to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
| 6525 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
| 6526 |
| 6527 |
| 6528 |
| 6529 |
| 6530 |
| 6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload objec
t files" >&5 |
| 6532 $as_echo_n "checking for $LD option to reload object files... " >&6; } |
| 6533 if ${lt_cv_ld_reload_flag+:} false; then : |
| 6534 $as_echo_n "(cached) " >&6 |
| 6535 else |
| 6536 lt_cv_ld_reload_flag='-r' |
| 6537 fi |
| 6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
| 6539 $as_echo "$lt_cv_ld_reload_flag" >&6; } |
| 6540 reload_flag=$lt_cv_ld_reload_flag |
| 6541 case $reload_flag in |
| 6542 "" | " "*) ;; |
| 6543 *) reload_flag=" $reload_flag" ;; |
| 6544 esac |
| 6545 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 6546 case $host_os in |
| 6547 cygwin* | mingw* | pw32* | cegcc*) |
| 6548 if test "$GCC" != yes; then |
| 6549 reload_cmds=false |
| 6550 fi |
| 6551 ;; |
| 6552 darwin*) |
| 6553 if test "$GCC" = yes; then |
| 6554 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
| 6555 else |
| 6556 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 6557 fi |
| 6558 ;; |
| 6559 esac |
| 6560 |
| 6561 |
| 6562 |
| 6563 |
| 6564 |
| 6565 |
| 6566 |
| 6567 |
| 6568 |
| 6569 if test -n "$ac_tool_prefix"; then |
| 6570 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. |
| 6571 set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
| 6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6573 $as_echo_n "checking for $ac_word... " >&6; } |
| 6574 if ${ac_cv_prog_OBJDUMP+:} false; then : |
| 6575 $as_echo_n "(cached) " >&6 |
| 6576 else |
| 6577 if test -n "$OBJDUMP"; then |
| 6578 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
| 6579 else |
| 6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6581 for as_dir in $PATH |
| 6582 do |
| 6583 IFS=$as_save_IFS |
| 6584 test -z "$as_dir" && as_dir=. |
| 6585 for ac_exec_ext in '' $ac_executable_extensions; do |
| 6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6587 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
| 6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 6589 break 2 |
| 6590 fi |
| 6591 done |
| 6592 done |
| 6593 IFS=$as_save_IFS |
| 6594 |
| 6595 fi |
| 6596 fi |
| 6597 OBJDUMP=$ac_cv_prog_OBJDUMP |
| 6598 if test -n "$OBJDUMP"; then |
| 6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
| 6600 $as_echo "$OBJDUMP" >&6; } |
| 6601 else |
| 6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6603 $as_echo "no" >&6; } |
| 6604 fi |
| 6605 |
| 6606 |
| 6607 fi |
| 6608 if test -z "$ac_cv_prog_OBJDUMP"; then |
| 6609 ac_ct_OBJDUMP=$OBJDUMP |
| 6610 # Extract the first word of "objdump", so it can be a program name with args. |
| 6611 set dummy objdump; ac_word=$2 |
| 6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6613 $as_echo_n "checking for $ac_word... " >&6; } |
| 6614 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
| 6615 $as_echo_n "(cached) " >&6 |
| 6616 else |
| 6617 if test -n "$ac_ct_OBJDUMP"; then |
| 6618 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
| 6619 else |
| 6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6621 for as_dir in $PATH |
| 6622 do |
| 6623 IFS=$as_save_IFS |
| 6624 test -z "$as_dir" && as_dir=. |
| 6625 for ac_exec_ext in '' $ac_executable_extensions; do |
| 6626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6627 ac_cv_prog_ac_ct_OBJDUMP="objdump" |
| 6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 6629 break 2 |
| 6630 fi |
| 6631 done |
| 6632 done |
| 6633 IFS=$as_save_IFS |
| 6634 |
| 6635 fi |
| 6636 fi |
| 6637 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
| 6638 if test -n "$ac_ct_OBJDUMP"; then |
| 6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
| 6640 $as_echo "$ac_ct_OBJDUMP" >&6; } |
| 6641 else |
| 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6643 $as_echo "no" >&6; } |
| 6644 fi |
| 6645 |
| 6646 if test "x$ac_ct_OBJDUMP" = x; then |
| 6647 OBJDUMP="false" |
| 6648 else |
| 6649 case $cross_compiling:$ac_tool_warned in |
| 6650 yes:) |
| 6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 6653 ac_tool_warned=yes ;; |
| 6654 esac |
| 6655 OBJDUMP=$ac_ct_OBJDUMP |
| 6656 fi |
| 6657 else |
| 6658 OBJDUMP="$ac_cv_prog_OBJDUMP" |
| 6659 fi |
| 6660 |
| 6661 test -z "$OBJDUMP" && OBJDUMP=objdump |
| 6662 |
| 6663 |
| 6664 |
| 6665 |
| 6666 |
| 6667 |
| 6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent lib
raries" >&5 |
| 6669 $as_echo_n "checking how to recognize dependent libraries... " >&6; } |
| 6670 if ${lt_cv_deplibs_check_method+:} false; then : |
| 6671 $as_echo_n "(cached) " >&6 |
| 6672 else |
| 6673 lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 6674 lt_cv_file_magic_test_file= |
| 6675 lt_cv_deplibs_check_method='unknown' |
| 6676 # Need to set the preceding variable on all platforms that support |
| 6677 # interlibrary dependencies. |
| 6678 # 'none' -- dependencies not supported. |
| 6679 # `unknown' -- same as none, but documents that we really don't know. |
| 6680 # 'pass_all' -- all dependencies passed with no checks. |
| 6681 # 'test_compile' -- check by making test program. |
| 6682 # 'file_magic [[regex]]' -- check by looking for files in library path |
| 6683 # which responds to the $file_magic_cmd with a given extended regex. |
| 6684 # If you have `file' or equivalent on your system and you're not sure |
| 6685 # whether `pass_all' will *always* work, you probably want this one. |
| 6686 |
| 6687 case $host_os in |
| 6688 aix[4-9]*) |
| 6689 lt_cv_deplibs_check_method=pass_all |
| 6690 ;; |
| 6691 |
| 6692 beos*) |
| 6693 lt_cv_deplibs_check_method=pass_all |
| 6694 ;; |
| 6695 |
| 6696 bsdi[45]*) |
| 6697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared obje
ct|dynamic lib)' |
| 6698 lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 6699 lt_cv_file_magic_test_file=/shlib/libc.so |
| 6700 ;; |
| 6701 |
| 6702 cygwin*) |
| 6703 # func_win32_libid is a shell function defined in ltmain.sh |
| 6704 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 6705 lt_cv_file_magic_cmd='func_win32_libid' |
| 6706 ;; |
| 6707 |
| 6708 mingw* | pw32*) |
| 6709 # Base MSYS/MinGW do not provide the 'file' command needed by |
| 6710 # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 6711 # unless we find 'file', for example because we are cross-compiling. |
| 6712 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 6713 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 6714 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 6715 lt_cv_file_magic_cmd='func_win32_libid' |
| 6716 else |
| 6717 # Keep this pattern in sync with the one in func_win32_libid. |
| 6718 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' |
| 6719 lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 6720 fi |
| 6721 ;; |
| 6722 |
| 6723 cegcc*) |
| 6724 # use the weaker test based on 'objdump'. See mingw*. |
| 6725 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architect
ure: arm)?' |
| 6726 lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 6727 ;; |
| 6728 |
| 6729 darwin* | rhapsody*) |
| 6730 lt_cv_deplibs_check_method=pass_all |
| 6731 ;; |
| 6732 |
| 6733 freebsd* | dragonfly*) |
| 6734 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 6735 case $host_cpu in |
| 6736 i*86 ) |
| 6737 # Not sure whether the presence of OpenBSD here was a mistake. |
| 6738 # Let's accept both of them until this is cleared up. |
| 6739 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]8
6 (compact )?demand paged shared library' |
| 6740 lt_cv_file_magic_cmd=/usr/bin/file |
| 6741 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
9051 ;; | 6742 ;; |
9052 esac | 6743 esac |
9053 else | 6744 else |
9054 # PORTME Check for flag to pass linker flags through the system compiler. | 6745 lt_cv_deplibs_check_method=pass_all |
9055 case $host_os in | 6746 fi |
9056 aix*) | 6747 ;; |
9057 lt_prog_compiler_wl='-Wl,' | 6748 |
9058 if test ia64 = "$host_cpu"; then | 6749 haiku*) |
9059 # AIX 5 now supports IA64 processor | 6750 lt_cv_deplibs_check_method=pass_all |
9060 lt_prog_compiler_static='-Bstatic' | 6751 ;; |
9061 else | 6752 |
9062 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 6753 hpux10.20* | hpux11*) |
9063 fi | 6754 lt_cv_file_magic_cmd=/usr/bin/file |
9064 ;; | 6755 case $host_cpu in |
9065 | 6756 ia64*) |
9066 darwin* | rhapsody*) | 6757 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) sha
red object file - IA64' |
9067 # PIC is the default on this platform | 6758 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
9068 # Common symbols not allowed in MH_DYLIB files | 6759 ;; |
9069 lt_prog_compiler_pic='-fno-common' | 6760 hppa*64*) |
9070 case $cc_basename in | 6761 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(
-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
9071 nagfor*) | 6762 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
9072 # NAG Fortran compiler | 6763 ;; |
9073 lt_prog_compiler_wl='-Wl,-Wl,,' | 6764 *) |
9074 lt_prog_compiler_pic='-PIC' | 6765 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]
) shared library' |
9075 lt_prog_compiler_static='-Bstatic' | 6766 lt_cv_file_magic_test_file=/usr/lib/libc.sl |
9076 ;; | 6767 ;; |
9077 esac | 6768 esac |
9078 ;; | 6769 ;; |
9079 | 6770 |
9080 mingw* | cygwin* | pw32* | os2* | cegcc*) | 6771 interix[3-9]*) |
9081 # This hack is so that the source file can tell whether it is being | 6772 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
9082 # built for inclusion in a dll (and should export symbols for example). | 6773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
9083 lt_prog_compiler_pic='-DDLL_EXPORT' | 6774 ;; |
9084 case $host_os in | 6775 |
9085 os2*) | 6776 irix5* | irix6* | nonstopux*) |
9086 lt_prog_compiler_static='$wl-static' | 6777 case $LD in |
9087 ;; | 6778 *-32|*"-32 ") libmagic=32-bit;; |
9088 esac | 6779 *-n32|*"-n32 ") libmagic=N32;; |
9089 ;; | 6780 *-64|*"-64 ") libmagic=64-bit;; |
9090 | 6781 *) libmagic=never-match;; |
9091 hpux9* | hpux10* | hpux11*) | 6782 esac |
9092 lt_prog_compiler_wl='-Wl,' | 6783 lt_cv_deplibs_check_method=pass_all |
9093 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 6784 ;; |
9094 # not for PA HP-UX. | 6785 |
9095 case $host_cpu in | 6786 # This must be glibc/ELF. |
9096 hppa*64*|ia64*) | 6787 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
9097 # +Z the default | 6788 lt_cv_deplibs_check_method=pass_all |
9098 ;; | 6789 ;; |
9099 *) | 6790 |
9100 lt_prog_compiler_pic='+Z' | 6791 netbsd* | netbsdelf*-gnu) |
9101 ;; | 6792 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
9102 esac | 6793 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' |
9103 # Is there a better lt_prog_compiler_static that works with the bundled CC
? | 6794 else |
9104 lt_prog_compiler_static='$wl-a ${wl}archive' | 6795 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
9105 ;; | 6796 fi |
9106 | 6797 ;; |
9107 irix5* | irix6* | nonstopux*) | 6798 |
9108 lt_prog_compiler_wl='-Wl,' | 6799 newos6*) |
9109 # PIC (with -KPIC) is the default. | 6800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|
dynamic lib)' |
9110 lt_prog_compiler_static='-non_shared' | 6801 lt_cv_file_magic_cmd=/usr/bin/file |
9111 ;; | 6802 lt_cv_file_magic_test_file=/usr/lib/libnls.so |
9112 | 6803 ;; |
9113 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 6804 |
9114 case $cc_basename in | 6805 *nto* | *qnx*) |
9115 # old Intel for x86_64, which still supported -KPIC. | 6806 lt_cv_deplibs_check_method=pass_all |
9116 ecc*) | 6807 ;; |
9117 lt_prog_compiler_wl='-Wl,' | 6808 |
9118 lt_prog_compiler_pic='-KPIC' | 6809 openbsd*) |
9119 lt_prog_compiler_static='-static' | 6810 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then |
9120 ;; | 6811 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.s
o|_pic\.a)$' |
9121 # icc used to be incompatible with GCC. | 6812 else |
9122 # ICC 10 doesn't accept -KPIC any more. | 6813 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pi
c\.a)$' |
9123 icc* | ifort*) | 6814 fi |
9124 lt_prog_compiler_wl='-Wl,' | 6815 ;; |
9125 lt_prog_compiler_pic='-fPIC' | 6816 |
9126 lt_prog_compiler_static='-static' | 6817 osf3* | osf4* | osf5*) |
9127 ;; | 6818 lt_cv_deplibs_check_method=pass_all |
9128 # Lahey Fortran 8.1. | 6819 ;; |
9129 lf95*) | 6820 |
9130 lt_prog_compiler_wl='-Wl,' | 6821 rdos*) |
9131 lt_prog_compiler_pic='--shared' | 6822 lt_cv_deplibs_check_method=pass_all |
9132 lt_prog_compiler_static='--static' | 6823 ;; |
9133 ;; | 6824 |
9134 nagfor*) | 6825 solaris*) |
9135 # NAG Fortran compiler | 6826 lt_cv_deplibs_check_method=pass_all |
9136 lt_prog_compiler_wl='-Wl,-Wl,,' | 6827 ;; |
9137 lt_prog_compiler_pic='-PIC' | 6828 |
9138 lt_prog_compiler_static='-Bstatic' | 6829 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
9139 ;; | 6830 lt_cv_deplibs_check_method=pass_all |
9140 tcc*) | 6831 ;; |
9141 # Fabrice Bellard et al's Tiny C Compiler | 6832 |
9142 lt_prog_compiler_wl='-Wl,' | 6833 sysv4 | sysv4.3*) |
9143 lt_prog_compiler_pic='-fPIC' | 6834 case $host_vendor in |
9144 lt_prog_compiler_static='-static' | 6835 motorola) |
9145 ;; | 6836 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared ob
ject|dynamic lib) M[0-9][0-9]* Version [0-9]' |
9146 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | 6837 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
9147 # Portland Group compilers (*not* the Pentium gcc compiler, | 6838 ;; |
9148 # which looks to be a dead project) | 6839 ncr) |
9149 lt_prog_compiler_wl='-Wl,' | 6840 lt_cv_deplibs_check_method=pass_all |
9150 lt_prog_compiler_pic='-fpic' | 6841 ;; |
9151 lt_prog_compiler_static='-Bstatic' | 6842 sequent) |
9152 ;; | 6843 lt_cv_file_magic_cmd='/bin/file' |
9153 ccc*) | 6844 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared ob
ject|dynamic lib )' |
9154 lt_prog_compiler_wl='-Wl,' | 6845 ;; |
9155 # All Alpha code is PIC. | 6846 sni) |
9156 lt_prog_compiler_static='-non_shared' | 6847 lt_cv_file_magic_cmd='/bin/file' |
9157 ;; | 6848 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic li
b" |
9158 xl* | bgxl* | bgf* | mpixl*) | 6849 lt_cv_file_magic_test_file=/lib/libc.so |
9159 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | 6850 ;; |
9160 lt_prog_compiler_wl='-Wl,' | 6851 siemens) |
9161 lt_prog_compiler_pic='-qpic' | 6852 lt_cv_deplibs_check_method=pass_all |
9162 lt_prog_compiler_static='-qstaticlink' | 6853 ;; |
9163 ;; | 6854 pc) |
9164 *) | 6855 lt_cv_deplibs_check_method=pass_all |
9165 case `$CC -V 2>&1 | sed 5q` in | 6856 ;; |
9166 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*
) | 6857 esac |
9167 # Sun Fortran 8.3 passes all unrecognized flags to the linker | 6858 ;; |
9168 lt_prog_compiler_pic='-KPIC' | 6859 |
9169 lt_prog_compiler_static='-Bstatic' | 6860 tpf*) |
9170 lt_prog_compiler_wl='' | 6861 lt_cv_deplibs_check_method=pass_all |
9171 ;; | 6862 ;; |
9172 *Sun\ F* | *Sun*Fortran*) | 6863 esac |
9173 lt_prog_compiler_pic='-KPIC' | 6864 |
9174 lt_prog_compiler_static='-Bstatic' | 6865 fi |
9175 lt_prog_compiler_wl='-Qoption ld ' | 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&
5 |
9176 ;; | 6867 $as_echo "$lt_cv_deplibs_check_method" >&6; } |
9177 *Sun\ C*) | 6868 |
9178 # Sun C 5.9 | 6869 file_magic_glob= |
9179 lt_prog_compiler_pic='-KPIC' | 6870 want_nocaseglob=no |
9180 lt_prog_compiler_static='-Bstatic' | 6871 if test "$build" = "$host"; then |
9181 lt_prog_compiler_wl='-Wl,' | 6872 case $host_os in |
9182 ;; | 6873 mingw* | pw32*) |
9183 *Intel*\ [CF]*Compiler*) | 6874 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
9184 lt_prog_compiler_wl='-Wl,' | 6875 want_nocaseglob=yes |
9185 lt_prog_compiler_pic='-fPIC' | 6876 else |
9186 lt_prog_compiler_static='-static' | 6877 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
| $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
9187 ;; | 6878 fi |
9188 *Portland\ Group*) | 6879 ;; |
9189 lt_prog_compiler_wl='-Wl,' | 6880 esac |
9190 lt_prog_compiler_pic='-fpic' | 6881 fi |
9191 lt_prog_compiler_static='-Bstatic' | 6882 |
9192 ;; | 6883 file_magic_cmd=$lt_cv_file_magic_cmd |
9193 esac | 6884 deplibs_check_method=$lt_cv_deplibs_check_method |
9194 ;; | 6885 test -z "$deplibs_check_method" && deplibs_check_method=unknown |
9195 esac | 6886 |
9196 ;; | 6887 |
9197 | 6888 |
9198 newsos6) | 6889 |
9199 lt_prog_compiler_pic='-KPIC' | 6890 |
9200 lt_prog_compiler_static='-Bstatic' | 6891 |
9201 ;; | 6892 |
9202 | 6893 |
9203 *nto* | *qnx*) | 6894 |
9204 # QNX uses GNU C++, but need to define -shared option too, otherwise | 6895 |
9205 # it will coredump. | 6896 |
9206 lt_prog_compiler_pic='-fPIC -shared' | 6897 |
9207 ;; | 6898 |
9208 | 6899 |
9209 osf3* | osf4* | osf5*) | 6900 |
9210 lt_prog_compiler_wl='-Wl,' | 6901 |
9211 # All OSF/1 code is PIC. | 6902 |
9212 lt_prog_compiler_static='-non_shared' | 6903 |
9213 ;; | 6904 |
9214 | 6905 |
9215 rdos*) | 6906 |
9216 lt_prog_compiler_static='-non_shared' | 6907 |
9217 ;; | 6908 if test -n "$ac_tool_prefix"; then |
9218 | 6909 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program
name with args. |
9219 solaris*) | 6910 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
9220 lt_prog_compiler_pic='-KPIC' | 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9221 lt_prog_compiler_static='-Bstatic' | 6912 $as_echo_n "checking for $ac_word... " >&6; } |
9222 case $cc_basename in | 6913 if ${ac_cv_prog_DLLTOOL+:} false; then : |
9223 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | 6914 $as_echo_n "(cached) " >&6 |
9224 lt_prog_compiler_wl='-Qoption ld ';; | 6915 else |
9225 *) | 6916 if test -n "$DLLTOOL"; then |
9226 lt_prog_compiler_wl='-Wl,';; | 6917 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
9227 esac | 6918 else |
9228 ;; | 6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9229 | 6920 for as_dir in $PATH |
9230 sunos4*) | 6921 do |
9231 lt_prog_compiler_wl='-Qoption ld ' | 6922 IFS=$as_save_IFS |
9232 lt_prog_compiler_pic='-PIC' | 6923 test -z "$as_dir" && as_dir=. |
9233 lt_prog_compiler_static='-Bstatic' | 6924 for ac_exec_ext in '' $ac_executable_extensions; do |
9234 ;; | 6925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9235 | 6926 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
9236 sysv4 | sysv4.2uw2* | sysv4.3*) | 6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
9237 lt_prog_compiler_wl='-Wl,' | 6928 break 2 |
9238 lt_prog_compiler_pic='-KPIC' | 6929 fi |
9239 lt_prog_compiler_static='-Bstatic' | 6930 done |
9240 ;; | 6931 done |
9241 | 6932 IFS=$as_save_IFS |
9242 sysv4*MP*) | 6933 |
9243 if test -d /usr/nec; then | 6934 fi |
9244 lt_prog_compiler_pic='-Kconform_pic' | 6935 fi |
9245 lt_prog_compiler_static='-Bstatic' | 6936 DLLTOOL=$ac_cv_prog_DLLTOOL |
9246 fi | 6937 if test -n "$DLLTOOL"; then |
9247 ;; | 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
9248 | 6939 $as_echo "$DLLTOOL" >&6; } |
9249 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 6940 else |
9250 lt_prog_compiler_wl='-Wl,' | 6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9251 lt_prog_compiler_pic='-KPIC' | 6942 $as_echo "no" >&6; } |
9252 lt_prog_compiler_static='-Bstatic' | 6943 fi |
9253 ;; | 6944 |
9254 | 6945 |
9255 unicos*) | 6946 fi |
9256 lt_prog_compiler_wl='-Wl,' | 6947 if test -z "$ac_cv_prog_DLLTOOL"; then |
9257 lt_prog_compiler_can_build_shared=no | 6948 ac_ct_DLLTOOL=$DLLTOOL |
9258 ;; | 6949 # Extract the first word of "dlltool", so it can be a program name with args. |
9259 | 6950 set dummy dlltool; ac_word=$2 |
9260 uts4*) | 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9261 lt_prog_compiler_pic='-pic' | 6952 $as_echo_n "checking for $ac_word... " >&6; } |
9262 lt_prog_compiler_static='-Bstatic' | 6953 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
9263 ;; | 6954 $as_echo_n "(cached) " >&6 |
9264 | 6955 else |
9265 *) | 6956 if test -n "$ac_ct_DLLTOOL"; then |
9266 lt_prog_compiler_can_build_shared=no | 6957 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
9267 ;; | 6958 else |
9268 esac | 6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9269 fi | 6960 for as_dir in $PATH |
| 6961 do |
| 6962 IFS=$as_save_IFS |
| 6963 test -z "$as_dir" && as_dir=. |
| 6964 for ac_exec_ext in '' $ac_executable_extensions; do |
| 6965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 6966 ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 6968 break 2 |
| 6969 fi |
| 6970 done |
| 6971 done |
| 6972 IFS=$as_save_IFS |
| 6973 |
| 6974 fi |
| 6975 fi |
| 6976 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 6977 if test -n "$ac_ct_DLLTOOL"; then |
| 6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 6979 $as_echo "$ac_ct_DLLTOOL" >&6; } |
| 6980 else |
| 6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6982 $as_echo "no" >&6; } |
| 6983 fi |
| 6984 |
| 6985 if test "x$ac_ct_DLLTOOL" = x; then |
| 6986 DLLTOOL="false" |
| 6987 else |
| 6988 case $cross_compiling:$ac_tool_warned in |
| 6989 yes:) |
| 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 6992 ac_tool_warned=yes ;; |
| 6993 esac |
| 6994 DLLTOOL=$ac_ct_DLLTOOL |
| 6995 fi |
| 6996 else |
| 6997 DLLTOOL="$ac_cv_prog_DLLTOOL" |
| 6998 fi |
| 6999 |
| 7000 test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 7001 |
| 7002 |
| 7003 |
| 7004 |
| 7005 |
| 7006 |
| 7007 |
| 7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and l
ink libraries" >&5 |
| 7009 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
| 7010 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
| 7011 $as_echo_n "(cached) " >&6 |
| 7012 else |
| 7013 lt_cv_sharedlib_from_linklib_cmd='unknown' |
9270 | 7014 |
9271 case $host_os in | 7015 case $host_os in |
9272 # For platforms that do not support PIC, -DPIC is meaningless: | 7016 cygwin* | mingw* | pw32* | cegcc*) |
9273 *djgpp*) | 7017 # two different shell functions defined in ltmain.sh |
9274 lt_prog_compiler_pic= | 7018 # decide which to use based on capabilities of $DLLTOOL |
| 7019 case `$DLLTOOL --help 2>&1` in |
| 7020 *--identify-strict*) |
| 7021 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
9275 ;; | 7022 ;; |
9276 *) | 7023 *) |
9277 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 7024 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
9278 ;; | 7025 ;; |
| 7026 esac |
| 7027 ;; |
| 7028 *) |
| 7029 # fallback: assume linklib IS sharedlib |
| 7030 lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
| 7031 ;; |
9279 esac | 7032 esac |
9280 | 7033 |
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 | 7034 fi |
9282 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | 7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_c
md" >&5 |
9283 if ${lt_cv_prog_compiler_pic+:} false; then : | 7036 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
9284 $as_echo_n "(cached) " >&6 | 7037 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
9285 else | 7038 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
9286 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic | 7039 |
9287 fi | 7040 |
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 | 7041 |
9289 $as_echo "$lt_cv_prog_compiler_pic" >&6; } | 7042 |
9290 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic | 7043 |
9291 | 7044 |
9292 # | 7045 |
9293 # Check to make sure the PIC flag actually works. | 7046 if test -n "$ac_tool_prefix"; then |
9294 # | 7047 for ac_prog in ar |
9295 if test -n "$lt_prog_compiler_pic"; then | 7048 do |
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 | 7049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a progra
m name with args. |
9297 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} | 7050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
9298 if ${lt_cv_prog_compiler_pic_works+:} false; then : | 7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9299 $as_echo_n "(cached) " >&6 | 7052 $as_echo_n "checking for $ac_word... " >&6; } |
9300 else | 7053 if ${ac_cv_prog_AR+:} false; then : |
9301 lt_cv_prog_compiler_pic_works=no | 7054 $as_echo_n "(cached) " >&6 |
9302 ac_outfile=conftest.$ac_objext | 7055 else |
9303 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 7056 if test -n "$AR"; then |
9304 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_qu
otes_in_assignment | 7057 ac_cv_prog_AR="$AR" # Let the user override the test. |
9305 # Insert the option either (1) after the last *FLAGS variable, or | 7058 else |
9306 # (2) before a word containing "conftest.", or (3) at the end. | 7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9307 # Note that $ac_compile itself does not contain backslashes and begins | 7060 for as_dir in $PATH |
9308 # with a dollar sign (not a hyphen), so the echo should work correctly. | 7061 do |
9309 # The option is referenced via a variable to avoid confusing sed. | 7062 IFS=$as_save_IFS |
9310 lt_compile=`echo "$ac_compile" | $SED \ | 7063 test -z "$as_dir" && as_dir=. |
9311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 7064 for ac_exec_ext in '' $ac_executable_extensions; do |
9312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9313 -e 's:$: $lt_compiler_flag:'` | 7066 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
9314 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 7067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
9315 (eval "$lt_compile" 2>conftest.err) | 7068 break 2 |
9316 ac_status=$? | 7069 fi |
9317 cat conftest.err >&5 | 7070 done |
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7071 done |
9319 if (exit $ac_status) && test -s "$ac_outfile"; then | 7072 IFS=$as_save_IFS |
9320 # The compiler can only warn and ignore the option if not recognized | 7073 |
9321 # So say no if there are warnings other than the usual output. | 7074 fi |
9322 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 7075 fi |
9323 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 7076 AR=$ac_cv_prog_AR |
9324 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | 7077 if test -n "$AR"; then |
9325 lt_cv_prog_compiler_pic_works=yes | 7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
9326 fi | 7079 $as_echo "$AR" >&6; } |
9327 fi | 7080 else |
9328 $RM conftest* | 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9329 | 7082 $as_echo "no" >&6; } |
9330 fi | 7083 fi |
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 | 7084 |
9332 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | 7085 |
9333 | 7086 test -n "$AR" && break |
9334 if test yes = "$lt_cv_prog_compiler_pic_works"; then | 7087 done |
9335 case $lt_prog_compiler_pic in | 7088 fi |
9336 "" | " "*) ;; | 7089 if test -z "$AR"; then |
9337 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 7090 ac_ct_AR=$AR |
9338 esac | 7091 for ac_prog in ar |
9339 else | 7092 do |
9340 lt_prog_compiler_pic= | 7093 # Extract the first word of "$ac_prog", so it can be a program name with args. |
9341 lt_prog_compiler_can_build_shared=no | 7094 set dummy $ac_prog; ac_word=$2 |
9342 fi | 7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9343 | 7096 $as_echo_n "checking for $ac_word... " >&6; } |
9344 fi | 7097 if ${ac_cv_prog_ac_ct_AR+:} false; then : |
9345 | 7098 $as_echo_n "(cached) " >&6 |
9346 | 7099 else |
9347 | 7100 if test -n "$ac_ct_AR"; then |
9348 | 7101 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
9349 | 7102 else |
9350 | 7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9351 | 7104 for as_dir in $PATH |
9352 | 7105 do |
9353 | 7106 IFS=$as_save_IFS |
9354 | 7107 test -z "$as_dir" && as_dir=. |
9355 | 7108 for ac_exec_ext in '' $ac_executable_extensions; do |
9356 # | 7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
9357 # Check to make sure the static flag actually works. | 7110 ac_cv_prog_ac_ct_AR="$ac_prog" |
9358 # | 7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
9359 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | 7112 break 2 |
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 | 7113 fi |
9361 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } | 7114 done |
9362 if ${lt_cv_prog_compiler_static_works+:} false; then : | 7115 done |
9363 $as_echo_n "(cached) " >&6 | 7116 IFS=$as_save_IFS |
9364 else | 7117 |
9365 lt_cv_prog_compiler_static_works=no | 7118 fi |
9366 save_LDFLAGS=$LDFLAGS | 7119 fi |
9367 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | 7120 ac_ct_AR=$ac_cv_prog_ac_ct_AR |
9368 echo "$lt_simple_link_test_code" > conftest.$ac_ext | 7121 if test -n "$ac_ct_AR"; then |
9369 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
9370 # The linker can only warn and ignore the option if not recognized | 7123 $as_echo "$ac_ct_AR" >&6; } |
9371 # So say no if there are warnings | 7124 else |
9372 if test -s conftest.err; then | 7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9373 # Append any errors to the config.log. | 7126 $as_echo "no" >&6; } |
9374 cat conftest.err 1>&5 | 7127 fi |
9375 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 7128 |
9376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 7129 |
9377 if diff conftest.exp conftest.er2 >/dev/null; then | 7130 test -n "$ac_ct_AR" && break |
9378 lt_cv_prog_compiler_static_works=yes | 7131 done |
9379 fi | 7132 |
9380 else | 7133 if test "x$ac_ct_AR" = x; then |
9381 lt_cv_prog_compiler_static_works=yes | 7134 AR="false" |
9382 fi | |
9383 fi | |
9384 $RM -r conftest* | |
9385 LDFLAGS=$save_LDFLAGS | |
9386 | |
9387 fi | |
9388 { $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; } | |
9390 | |
9391 if test yes = "$lt_cv_prog_compiler_static_works"; then | |
9392 : | |
9393 else | |
9394 lt_prog_compiler_static= | |
9395 fi | |
9396 | |
9397 | |
9398 | |
9399 | |
9400 | |
9401 | |
9402 | |
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
9404 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
9405 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
9406 $as_echo_n "(cached) " >&6 | |
9407 else | |
9408 lt_cv_prog_compiler_c_o=no | |
9409 $RM -r conftest 2>/dev/null | |
9410 mkdir conftest | |
9411 cd conftest | |
9412 mkdir out | |
9413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
9414 | |
9415 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
9416 # Insert the option either (1) after the last *FLAGS variable, or | |
9417 # (2) before a word containing "conftest.", or (3) at the end. | |
9418 # Note that $ac_compile itself does not contain backslashes and begins | |
9419 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
9420 lt_compile=`echo "$ac_compile" | $SED \ | |
9421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
9422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
9423 -e 's:$: $lt_compiler_flag:'` | |
9424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
9425 (eval "$lt_compile" 2>out/conftest.err) | |
9426 ac_status=$? | |
9427 cat out/conftest.err >&5 | |
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9429 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
9430 then | |
9431 # The compiler can only warn and ignore the option if not recognized | |
9432 # So say no if there are warnings | |
9433 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
9434 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
9435 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
9436 lt_cv_prog_compiler_c_o=yes | |
9437 fi | |
9438 fi | |
9439 chmod u+w . 2>&5 | |
9440 $RM conftest* | |
9441 # SGI C++ compiler will create directory out/ii_files/ for | |
9442 # template instantiation | |
9443 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
9444 $RM out/* && rmdir out | |
9445 cd .. | |
9446 $RM -r conftest | |
9447 $RM conftest* | |
9448 | |
9449 fi | |
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | |
9451 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | |
9452 | |
9453 | |
9454 | |
9455 | |
9456 | |
9457 | |
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 | |
9459 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | |
9460 if ${lt_cv_prog_compiler_c_o+:} false; then : | |
9461 $as_echo_n "(cached) " >&6 | |
9462 else | |
9463 lt_cv_prog_compiler_c_o=no | |
9464 $RM -r conftest 2>/dev/null | |
9465 mkdir conftest | |
9466 cd conftest | |
9467 mkdir out | |
9468 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | |
9469 | |
9470 lt_compiler_flag="-o out/conftest2.$ac_objext" | |
9471 # Insert the option either (1) after the last *FLAGS variable, or | |
9472 # (2) before a word containing "conftest.", or (3) at the end. | |
9473 # Note that $ac_compile itself does not contain backslashes and begins | |
9474 # with a dollar sign (not a hyphen), so the echo should work correctly. | |
9475 lt_compile=`echo "$ac_compile" | $SED \ | |
9476 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | |
9477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | |
9478 -e 's:$: $lt_compiler_flag:'` | |
9479 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | |
9480 (eval "$lt_compile" 2>out/conftest.err) | |
9481 ac_status=$? | |
9482 cat out/conftest.err >&5 | |
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
9484 if (exit $ac_status) && test -s out/conftest2.$ac_objext | |
9485 then | |
9486 # The compiler can only warn and ignore the option if not recognized | |
9487 # So say no if there are warnings | |
9488 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | |
9489 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | |
9490 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then | |
9491 lt_cv_prog_compiler_c_o=yes | |
9492 fi | |
9493 fi | |
9494 chmod u+w . 2>&5 | |
9495 $RM conftest* | |
9496 # SGI C++ compiler will create directory out/ii_files/ for | |
9497 # template instantiation | |
9498 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | |
9499 $RM out/* && rmdir out | |
9500 cd .. | |
9501 $RM -r conftest | |
9502 $RM conftest* | |
9503 | |
9504 fi | |
9505 { $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; } | |
9507 | |
9508 | |
9509 | |
9510 | |
9511 hard_links=nottested | |
9512 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then | |
9513 # 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 | |
9515 $as_echo_n "checking if we can lock with hard links... " >&6; } | |
9516 hard_links=yes | |
9517 $RM conftest* | |
9518 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
9519 touch conftest.a | |
9520 ln conftest.a conftest.b 2>&5 || hard_links=no | |
9521 ln conftest.a conftest.b 2>/dev/null && hard_links=no | |
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | |
9523 $as_echo "$hard_links" >&6; } | |
9524 if test no = "$hard_links"; then | |
9525 { $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;} | |
9527 need_locks=warn | |
9528 fi | |
9529 else | |
9530 need_locks=no | |
9531 fi | |
9532 | |
9533 | |
9534 | |
9535 | |
9536 | |
9537 | |
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker
($LD) supports shared libraries" >&5 | |
9539 $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
s... " >&6; } | |
9540 | |
9541 runpath_var= | |
9542 allow_undefined_flag= | |
9543 always_export_symbols=no | |
9544 archive_cmds= | |
9545 archive_expsym_cmds= | |
9546 compiler_needs_object=no | |
9547 enable_shared_with_static_runtimes=no | |
9548 export_dynamic_flag_spec= | |
9549 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\
''s/.* //'\'' | sort | uniq > $export_symbols' | |
9550 hardcode_automatic=no | |
9551 hardcode_direct=no | |
9552 hardcode_direct_absolute=no | |
9553 hardcode_libdir_flag_spec= | |
9554 hardcode_libdir_separator= | |
9555 hardcode_minus_L=no | |
9556 hardcode_shlibpath_var=unsupported | |
9557 inherit_rpath=no | |
9558 link_all_deplibs=unknown | |
9559 module_cmds= | |
9560 module_expsym_cmds= | |
9561 old_archive_from_new_cmds= | |
9562 old_archive_from_expsyms_cmds= | |
9563 thread_safe_flag_spec= | |
9564 whole_archive_flag_spec= | |
9565 # include_expsyms should be a list of space-separated symbols to be *always* | |
9566 # included in the symbol list | |
9567 include_expsyms= | |
9568 # 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 | |
9570 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', | |
9571 # as well as any symbol that contains 'd'. | |
9572 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | |
9573 # 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 | |
9575 # the symbol is explicitly referenced. Since portable code cannot | |
9576 # rely on this symbol name, it's probably fine to never include it in | |
9577 # preloaded symbol tables. | |
9578 # Exclude shared library initialization/finalization symbols. | |
9579 extract_expsyms_cmds= | |
9580 | |
9581 case $host_os in | |
9582 cygwin* | mingw* | pw32* | cegcc*) | |
9583 # FIXME: the MSVC++ port hasn't been tested in a loooong time | |
9584 # When not using gcc, we currently assume that we are using | |
9585 # Microsoft Visual C++. | |
9586 if test yes != "$GCC"; then | |
9587 with_gnu_ld=no | |
9588 fi | |
9589 ;; | |
9590 interix*) | |
9591 # we just hope/assume this is gcc and not c89 (= MSVC++) | |
9592 with_gnu_ld=yes | |
9593 ;; | |
9594 openbsd* | bitrig*) | |
9595 with_gnu_ld=no | |
9596 ;; | |
9597 esac | |
9598 | |
9599 ld_shlibs=yes | |
9600 | |
9601 # On some targets, GNU ld is compatible enough with the native linker | |
9602 # that we're better off using the native interface for both. | |
9603 lt_use_gnu_ld_interface=no | |
9604 if test yes = "$with_gnu_ld"; then | |
9605 case $host_os in | |
9606 aix*) | |
9607 # The AIX port of GNU ld has always aspired to compatibility | |
9608 # 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 | |
9610 # shared libraries, regardless of the interface used. | |
9611 case `$LD -v 2>&1` in | |
9612 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | |
9613 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | |
9614 *\ \(GNU\ Binutils\)\ [3-9]*) ;; | |
9615 *) | |
9616 lt_use_gnu_ld_interface=yes | |
9617 ;; | |
9618 esac | |
9619 ;; | |
9620 *) | |
9621 lt_use_gnu_ld_interface=yes | |
9622 ;; | |
9623 esac | |
9624 fi | |
9625 | |
9626 if test yes = "$lt_use_gnu_ld_interface"; then | |
9627 # If archive_cmds runs LD, not CC, wlarc should be empty | |
9628 wlarc='$wl' | |
9629 | |
9630 # Set some defaults for GNU ld with shared library support. These | |
9631 # are reset later if shared libraries are not supported. Putting them | |
9632 # here allows them to be overridden if necessary. | |
9633 runpath_var=LD_RUN_PATH | |
9634 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
9635 export_dynamic_flag_spec='$wl--export-dynamic' | |
9636 # ancient GNU ld didn't support --whole-archive et. al. | |
9637 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' | |
9639 else | |
9640 whole_archive_flag_spec= | |
9641 fi | |
9642 supports_anon_versioning=no | |
9643 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in | |
9644 *GNU\ gold*) supports_anon_versioning=yes ;; | |
9645 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | |
9646 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | |
9647 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | |
9648 *\ 2.11.*) ;; # other 2.11 versions | |
9649 *) supports_anon_versioning=yes ;; | |
9650 esac | |
9651 | |
9652 # See if GNU ld supports shared libraries. | |
9653 case $host_os in | |
9654 aix[3-9]*) | |
9655 # On AIX/PPC, the GNU linker is very broken | |
9656 if test ia64 != "$host_cpu"; then | |
9657 ld_shlibs=no | |
9658 cat <<_LT_EOF 1>&2 | |
9659 | |
9660 *** Warning: the GNU linker, at least up to release 2.19, is reported | |
9661 *** to be unable to reliably create shared libraries on AIX. | |
9662 *** Therefore, libtool is disabling shared libraries support. If you | |
9663 *** 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. | |
9665 *** You will then need to restart the configuration process. | |
9666 | |
9667 _LT_EOF | |
9668 fi | |
9669 ;; | |
9670 | |
9671 amigaos*) | |
9672 case $host_cpu in | |
9673 powerpc) | |
9674 # see comment about AmigaOS4 .so support | |
9675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $wl$soname -o $lib' | |
9676 archive_expsym_cmds='' | |
9677 ;; | |
9678 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)' | |
9680 hardcode_libdir_flag_spec='-L$libdir' | |
9681 hardcode_minus_L=yes | |
9682 ;; | |
9683 esac | |
9684 ;; | |
9685 | |
9686 beos*) | |
9687 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | |
9688 allow_undefined_flag=unsupported | |
9689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | |
9690 # support --undefined. This deserves some investigation. FIXME | |
9691 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname
$wl$soname -o $lib' | |
9692 else | |
9693 ld_shlibs=no | |
9694 fi | |
9695 ;; | |
9696 | |
9697 cygwin* | mingw* | pw32* | cegcc*) | |
9698 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | |
9699 # as there is no search path for DLLs. | |
9700 hardcode_libdir_flag_spec='-L$libdir' | |
9701 export_dynamic_flag_spec='$wl--export-all-symbols' | |
9702 allow_undefined_flag=unsupported | |
9703 always_export_symbols=no | |
9704 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' | |
9706 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A
-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | |
9707 | |
9708 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' | |
9710 # If the export-symbols file already is a .def file, use it as | |
9711 # is; otherwise, prepend EXPORTS... | |
9712 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'
' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$
/DEF/p'\'' -e q $export_symbols`" ; then | |
9713 cp $export_symbols $output_objdir/$soname.def; | |
9714 else | |
9715 echo EXPORTS > $output_objdir/$soname.def; | |
9716 cat $export_symbols >> $output_objdir/$soname.def; | |
9717 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' | |
9719 else | |
9720 ld_shlibs=no | |
9721 fi | |
9722 ;; | |
9723 | |
9724 haiku*) | |
9725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl
$soname -o $lib' | |
9726 link_all_deplibs=yes | |
9727 ;; | |
9728 | |
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]*) | |
9758 hardcode_direct=no | |
9759 hardcode_shlibpath_var=no | |
9760 hardcode_libdir_flag_spec='$wl-rpath,$libdir' | |
9761 export_dynamic_flag_spec='$wl-E' | |
9762 # 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 | |
9764 # default) and relocated if they conflict, which is a slow very memory | |
9765 # consuming and fragmenting process. To avoid this, we pick a random, | |
9766 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | |
9767 # 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' | |
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' | |
9770 ;; | |
9771 | |
9772 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | |
9773 tmp_diet=no | |
9774 if test linux-dietlibc = "$host_os"; then | |
9775 case $cc_basename in | |
9776 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) | |
9777 esac | |
9778 fi | |
9779 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | |
9780 && test no = "$tmp_diet" | |
9781 then | |
9782 tmp_addflag=' $pic_flag' | |
9783 tmp_sharedflag='-shared' | |
9784 case $cc_basename,$host_cpu in | |
9785 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' | |
9787 tmp_addflag=' $pic_flag' | |
9788 ;; | |
9789 pgf77* | pgf90* | pgf95* | pgfortran*) | |
9790 # 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' | |
9792 tmp_addflag=' $pic_flag -Mnomain' ;; | |
9793 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | |
9794 tmp_addflag=' -i_dynamic' ;; | |
9795 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | |
9796 tmp_addflag=' -i_dynamic -nofor_main' ;; | |
9797 ifc* | ifort*) # Intel Fortran compiler | |
9798 tmp_addflag=' -nofor_main' ;; | |
9799 lf95*) # Lahey Fortran 8.1 | |
9800 whole_archive_flag_spec= | |
9801 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) | |
9805 tmp_sharedflag='-qmkshrobj' | |
9806 tmp_addflag= ;; | |
9807 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' | |
9809 compiler_needs_object=yes | |
9810 ;; | |
9811 esac | |
9812 case `$CC -V 2>&1 | sed 5q` in | |
9813 *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' | |
9815 compiler_needs_object=yes | |
9816 tmp_sharedflag='-G' ;; | |
9817 *Sun\ F*) # Sun Fortran 8.3 | |
9818 tmp_sharedflag='-G' ;; | |
9819 esac | |
9820 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags $wl-soname $wl$soname -o $lib' | |
9821 | |
9822 if test yes = "$supports_anon_versioning"; then | |
9823 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
9824 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ | |
9825 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' | |
9827 fi | |
9828 | |
9829 case $cc_basename in | |
9830 tcc*) | |
9831 export_dynamic_flag_spec='-rdynamic' | |
9832 ;; | |
9833 xlf* | bgf* | bgxlf* | mpixlf*) | |
9834 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | |
9835 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' | |
9836 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
9837 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' | |
9838 if test yes = "$supports_anon_versioning"; then | |
9839 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | |
9840 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ | |
9841 echo "local: *; };" >> $output_objdir/$libname.ver~ | |
9842 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' | |
9843 fi | |
9844 ;; | |
9845 esac | |
9846 else | |
9847 ld_shlibs=no | |
9848 fi | |
9849 ;; | |
9850 | |
9851 netbsd*) | |
9852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | |
9853 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | |
9854 wlarc= | |
9855 else | |
9856 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $w
l-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' | |
9858 fi | |
9859 ;; | |
9860 | |
9861 solaris*) | |
9862 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | |
9863 ld_shlibs=no | |
9864 cat <<_LT_EOF 1>&2 | |
9865 | |
9866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | |
9867 *** create shared libraries on Solaris systems. Therefore, libtool | |
9868 *** 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 | |
9870 *** your PATH or compiler configuration so that the native linker is | |
9871 *** used, and then restart. | |
9872 | |
9873 _LT_EOF | |
9874 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' | |
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' | |
9877 else | |
9878 ld_shlibs=no | |
9879 fi | |
9880 ;; | |
9881 | |
9882 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | |
9883 case `$LD -v 2>&1` in | |
9884 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | |
9885 ld_shlibs=no | |
9886 cat <<_LT_EOF 1>&2 | |
9887 | |
9888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot | |
9889 *** reliably create shared libraries on SCO systems. Therefore, libtool | |
9890 *** 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 | |
9892 *** your PATH or compiler configuration so that the native linker is | |
9893 *** used, and then restart. | |
9894 | |
9895 _LT_EOF | |
9896 ;; | |
9897 *) | |
9898 # For security reasons, it is highly recommended that you always | |
9899 # use absolute paths for naming shared libraries, and exclude the | |
9900 # DT_RUNPATH tag from executables and libraries. But doing so | |
9901 # requires that you compile everything twice, which is a pain. | |
9902 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen | |
9903 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
9904 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $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' | |
9906 else | |
9907 ld_shlibs=no | |
9908 fi | |
9909 ;; | |
9910 esac | |
9911 ;; | |
9912 | |
9913 sunos4*) | |
9914 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' | |
9915 wlarc= | |
9916 hardcode_direct=yes | |
9917 hardcode_shlibpath_var=no | |
9918 ;; | |
9919 | |
9920 *) | |
9921 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' | |
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' | |
9924 else | |
9925 ld_shlibs=no | |
9926 fi | |
9927 ;; | |
9928 esac | |
9929 | |
9930 if test no = "$ld_shlibs"; then | |
9931 runpath_var= | |
9932 hardcode_libdir_flag_spec= | |
9933 export_dynamic_flag_spec= | |
9934 whole_archive_flag_spec= | |
9935 fi | |
9936 else | 7135 else |
9937 # PORTME fill in a description of your system's linker (not GNU ld) | 7136 case $cross_compiling:$ac_tool_warned in |
9938 case $host_os in | 7137 yes:) |
9939 aix3*) | 7138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
9940 allow_undefined_flag=unsupported | 7139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
9941 always_export_symbols=yes | 7140 ac_tool_warned=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' | 7141 esac |
9943 # Note: this linker hardcodes the directories in LIBPATH if there | 7142 AR=$ac_ct_AR |
9944 # are no directories specified by -L. | 7143 fi |
9945 hardcode_minus_L=yes | 7144 fi |
9946 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then | 7145 |
9947 » # Neither direct hardcoding nor static linking is supported with a | 7146 : ${AR=ar} |
9948 » # broken collect2. | 7147 : ${AR_FLAGS=cru} |
9949 » hardcode_direct=unsupported | 7148 |
9950 fi | 7149 |
9951 ;; | 7150 |
9952 | 7151 |
9953 aix[4-9]*) | 7152 |
9954 if test ia64 = "$host_cpu"; then | 7153 |
9955 » # On IA64, the linker does run time linking by default, so we don't | 7154 |
9956 » # have to do anything special. | 7155 |
9957 » aix_use_runtimelinking=no | 7156 |
9958 » exp_sym_flag='-Bexport' | 7157 |
9959 » no_entry_flag= | 7158 |
9960 else | 7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&
5 |
9961 » # If we're using GNU nm, then we don't want the "-C" option. | 7160 $as_echo_n "checking for archiver @FILE support... " >&6; } |
9962 » # -C means demangle to GNU nm, but means don't demangle to AIX nm. | 7161 if ${lt_cv_ar_at_file+:} false; then : |
9963 » # Without the "-l" option, or with the "-B" option, AIX nm treats | 7162 $as_echo_n "(cached) " >&6 |
9964 » # weak defined symbols like other global defined symbols, whereas | 7163 else |
9965 » # GNU nm marks them as "W". | 7164 lt_cv_ar_at_file=no |
9966 » # While the 'weak' keyword is ignored in the Export File, we need | 7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
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' | |
9971 » 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' | |
9973 » fi | |
9974 » aix_use_runtimelinking=no | |
9975 | |
9976 » # Test if we are trying to use run time linking or normal | |
9977 » # AIX style linking. If -brtl is somewhere in LDFLAGS, we | |
9978 » # have runtime linking enabled, and use it for executables. | |
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]*) | |
9992 » for ld_flag in $LDFLAGS; do | |
9993 » if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then | |
9994 » aix_use_runtimelinking=yes | |
9995 » break | |
9996 » fi | |
9997 » 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 » ;; | |
10006 » esac | |
10007 | |
10008 » exp_sym_flag='-bexport' | |
10009 » no_entry_flag='-bnoentry' | |
10010 fi | |
10011 | |
10012 # When large executables or shared objects are built, AIX ld can | |
10013 # have problems creating the table of contents. If linking a library | |
10014 # or program results in "error TOC overflow" add -mminimal-toc to | |
10015 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | |
10016 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | |
10017 | |
10018 archive_cmds='' | |
10019 hardcode_direct=yes | |
10020 hardcode_direct_absolute=yes | |
10021 hardcode_libdir_separator=':' | |
10022 link_all_deplibs=yes | |
10023 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 | |
10033 if test yes = "$GCC"; then | |
10034 » case $host_os in aix4.[012]|aix4.[012].*) | |
10035 » # 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+ | |
10037 » collect2name=`$CC -print-prog-name=collect2` | |
10038 » if test -f "$collect2name" && | |
10039 » strings "$collect2name" | $GREP resolve_lib_name >/dev/null | |
10040 » then | |
10041 » # We have reworked collect2 | |
10042 » : | |
10043 » else | |
10044 » # We have old collect2 | |
10045 » hardcode_direct=unsupported | |
10046 » # It fails to find uninstalled libraries when the uninstalled | |
10047 » # path is not listed in the libpath. Setting hardcode_minus_L | |
10048 » # to unsupported forces relinking | |
10049 » hardcode_minus_L=yes | |
10050 » hardcode_libdir_flag_spec='-L$libdir' | |
10051 » hardcode_libdir_separator= | |
10052 » fi | |
10053 » ;; | |
10054 » esac | |
10055 » shared_flag='-shared' | |
10056 » if test yes = "$aix_use_runtimelinking"; then | |
10057 » shared_flag="$shared_flag "'$wl-G' | |
10058 » fi | |
10059 » # Need to ensure runtime linking is disabled for the traditional | |
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 | |
10065 » # not using gcc | |
10066 » if test ia64 = "$host_cpu"; then | |
10067 » # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | |
10068 » # chokes on -Wl,-G. The following line is correct: | |
10069 » shared_flag='-G' | |
10070 » else | |
10071 » if test yes = "$aix_use_runtimelinking"; then | |
10072 » shared_flag='$wl-G' | |
10073 » else | |
10074 » shared_flag='$wl-bM:SRE' | |
10075 » fi | |
10076 » shared_flag_aix='$wl-bM:SRE' | |
10077 » shared_flag_svr4='$wl-G' | |
10078 » fi | |
10079 fi | |
10080 | |
10081 export_dynamic_flag_spec='$wl-bexpall' | |
10082 # It seems that -bexpall does not export symbols beginning with | |
10083 # underscore (_), so it is better to generate a list of symbols to export. | |
10084 always_export_symbols=yes | |
10085 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then | |
10086 » # Warning - without using the other runtime loading flags (-brtl), | |
10087 » # -berok will link without error, but may produce a broken library. | |
10088 » allow_undefined_flag='-berok' | |
10089 # Determine the default libpath from the value encoded in an | |
10090 # empty executable. | |
10091 if test set = "${lt_cv_aix_libpath+set}"; then | |
10092 aix_libpath=$lt_cv_aix_libpath | |
10093 else | |
10094 if ${lt_cv_aix_libpath_+:} false; then : | |
10095 $as_echo_n "(cached) " >&6 | |
10096 else | |
10097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
10098 /* end confdefs.h. */ | 7166 /* end confdefs.h. */ |
10099 | 7167 |
10100 int | 7168 int |
10101 main () | |
10102 { | |
10103 | |
10104 ; | |
10105 return 0; | |
10106 } | |
10107 _ACEOF | |
10108 if ac_fn_c_try_link "$LINENO"; then : | |
10109 | |
10110 lt_aix_libpath_sed=' | |
10111 /Import File Strings/,/^$/ { | |
10112 /^0/ { | |
10113 s/^0 *\([^ ]*\) *$/\1/ | |
10114 p | |
10115 } | |
10116 }' | |
10117 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. | |
10119 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"` | |
10121 fi | |
10122 fi | |
10123 rm -f core conftest.err conftest.$ac_objext \ | |
10124 conftest$ac_exeext conftest.$ac_ext | |
10125 if test -z "$lt_cv_aix_libpath_"; then | |
10126 lt_cv_aix_libpath_=/usr/lib:/lib | |
10127 fi | |
10128 | |
10129 fi | |
10130 | |
10131 aix_libpath=$lt_cv_aix_libpath_ | |
10132 fi | |
10133 | |
10134 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 | |
10136 else | |
10137 if test ia64 = "$host_cpu"; then | |
10138 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' | |
10139 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" | |
10141 else | |
10142 # Determine the default libpath from the value encoded in an | |
10143 # empty executable. | |
10144 if test set = "${lt_cv_aix_libpath+set}"; then | |
10145 aix_libpath=$lt_cv_aix_libpath | |
10146 else | |
10147 if ${lt_cv_aix_libpath_+:} false; then : | |
10148 $as_echo_n "(cached) " >&6 | |
10149 else | |
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
10151 /* end confdefs.h. */ | |
10152 | |
10153 int | |
10154 main () | 7169 main () |
10155 { | 7170 { |
10156 | 7171 |
10157 ; | 7172 ; |
10158 return 0; | 7173 return 0; |
10159 } | 7174 } |
10160 _ACEOF | 7175 _ACEOF |
10161 if ac_fn_c_try_link "$LINENO"; then : | 7176 if ac_fn_c_try_compile "$LINENO"; then : |
10162 | 7177 echo conftest.$ac_objext > conftest.lst |
10163 lt_aix_libpath_sed=' | 7178 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
10164 /Import File Strings/,/^$/ { | 7179 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
10165 » /^0/ { | 7180 (eval $lt_ar_try) 2>&5 |
10166 » s/^0 *\([^ ]*\) *$/\1/ | 7181 ac_status=$? |
10167 » p | 7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10168 » } | 7183 test $ac_status = 0; } |
10169 }' | 7184 if test "$ac_status" -eq 0; then |
10170 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` | 7185 » # Ensure the archiver fails upon bogus file names. |
10171 # Check for a 64-bit object if we didn't find anything. | 7186 » rm -f conftest.$ac_objext libconftest.a |
10172 if test -z "$lt_cv_aix_libpath_"; then | 7187 » { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
10173 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` | 7188 (eval $lt_ar_try) 2>&5 |
10174 fi | 7189 ac_status=$? |
10175 fi | 7190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10176 rm -f core conftest.err conftest.$ac_objext \ | 7191 test $ac_status = 0; } |
10177 conftest$ac_exeext conftest.$ac_ext | 7192 » if test "$ac_status" -ne 0; then |
10178 if test -z "$lt_cv_aix_libpath_"; then | 7193 lt_cv_ar_at_file=@ |
10179 lt_cv_aix_libpath_=/usr/lib:/lib | 7194 fi |
10180 fi | |
10181 | |
10182 fi | |
10183 | |
10184 aix_libpath=$lt_cv_aix_libpath_ | |
10185 fi | |
10186 | |
10187 » hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" | |
10188 » # Warning - without using the other run time loading flags, | |
10189 » # -berok will link without error, but may produce a broken library. | |
10190 » no_undefined_flag=' $wl-bernotok' | |
10191 » allow_undefined_flag=' $wl-berok' | |
10192 » if test yes = "$with_gnu_ld"; then | |
10193 » # 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' | |
10195 » else | |
10196 » # Exported symbols can be pulled into shared objects from archives | |
10197 » whole_archive_flag_spec='$convenience' | |
10198 » fi | |
10199 » archive_cmds_need_lc=yes | |
10200 » archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_
objdir/$realname.d' | |
10201 » # -brtl affects multiple linker settings, -berok does not and is overr
idden later | |
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 | |
10215 fi | 7195 fi |
10216 ;; | 7196 rm -f conftest.* libconftest.a |
10217 | 7197 |
10218 amigaos*) | 7198 fi |
10219 case $host_cpu in | 7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10220 powerpc) | 7200 |
10221 # see comment about AmigaOS4 .so support | 7201 fi |
10222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-sona
me $wl$soname -o $lib' | 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
10223 archive_expsym_cmds='' | 7203 $as_echo "$lt_cv_ar_at_file" >&6; } |
10224 ;; | 7204 |
10225 m68k) | 7205 if test "x$lt_cv_ar_at_file" = xno; then |
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)' | 7206 archiver_list_spec= |
10227 hardcode_libdir_flag_spec='-L$libdir' | 7207 else |
10228 hardcode_minus_L=yes | 7208 archiver_list_spec=$lt_cv_ar_at_file |
10229 ;; | 7209 fi |
10230 esac | 7210 |
10231 ;; | 7211 |
10232 | 7212 |
10233 bsdi[45]*) | 7213 |
10234 export_dynamic_flag_spec=-rdynamic | 7214 |
10235 ;; | 7215 |
10236 | 7216 |
10237 cygwin* | mingw* | pw32* | cegcc*) | 7217 if test -n "$ac_tool_prefix"; then |
10238 # When not using gcc, we currently assume that we are using | 7218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. |
10239 # Microsoft Visual C++. | 7219 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
10240 # hardcode_libdir_flag_spec is actually meaningless, as there is | 7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10241 # no search path for DLLs. | 7221 $as_echo_n "checking for $ac_word... " >&6; } |
10242 case $cc_basename in | 7222 if ${ac_cv_prog_STRIP+:} false; then : |
10243 cl*) | 7223 $as_echo_n "(cached) " >&6 |
10244 » # Native MSVC | 7224 else |
10245 » hardcode_libdir_flag_spec=' ' | 7225 if test -n "$STRIP"; then |
10246 » allow_undefined_flag=unsupported | 7226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
10247 » always_export_symbols=yes | 7227 else |
10248 » file_list_spec='@' | 7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10249 » # Tell ltmain to make .lib files, not .a files. | 7229 for as_dir in $PATH |
10250 » libext=lib | 7230 do |
10251 » # Tell ltmain to make .dll files, not .so files. | 7231 IFS=$as_save_IFS |
10252 » shrext_cmds=.dll | 7232 test -z "$as_dir" && as_dir=. |
10253 » # FIXME: Setting linknames here is a bad hack. | 7233 for ac_exec_ext in '' $ac_executable_extensions; do |
10254 » archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de
plibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' | 7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10255 » archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[» ]*//'\'
' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([» ].*\)*$
/DEF/p'\'' -e q $export_symbols`" ; then | 7235 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
10256 cp "$export_symbols" "$output_objdir/$soname.def"; | 7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
10257 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"
; | 7237 break 2 |
10258 else | 7238 fi |
10259 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objd
ir/$soname.exp; | 7239 done |
10260 fi~ | 7240 done |
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"~ | 7241 IFS=$as_save_IFS |
10262 linknames=' | 7242 |
10263 » # The linker will not automatically build a static lib if we build a DLL
. | 7243 fi |
10264 » # _LT_TAGVAR(old_archive_from_new_cmds, )='true' | 7244 fi |
10265 » enable_shared_with_static_runtimes=yes | 7245 STRIP=$ac_cv_prog_STRIP |
10266 » exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | 7246 if test -n "$STRIP"; then |
10267 » export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $
SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]
/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
10268 » # Don't use ranlib | 7248 $as_echo "$STRIP" >&6; } |
10269 » old_postinstall_cmds='chmod 644 $oldlib' | 7249 else |
10270 » postlink_cmds='lt_outputfile="@OUTPUT@"~ | 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10271 lt_tool_outputfile="@TOOL_OUTPUT@"~ | 7251 $as_echo "no" >&6; } |
10272 case $lt_outputfile in | 7252 fi |
10273 *.exe|*.EXE) ;; | 7253 |
10274 *) | 7254 |
10275 lt_outputfile=$lt_outputfile.exe | 7255 fi |
10276 lt_tool_outputfile=$lt_tool_outputfile.exe | 7256 if test -z "$ac_cv_prog_STRIP"; then |
10277 ;; | 7257 ac_ct_STRIP=$STRIP |
10278 esac~ | 7258 # Extract the first word of "strip", so it can be a program name with args. |
10279 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; th
en | 7259 set dummy strip; ac_word=$2 |
10280 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; | 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
10281 $RM "$lt_outputfile.manifest"; | 7261 $as_echo_n "checking for $ac_word... " >&6; } |
10282 fi' | 7262 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
10283 » ;; | 7263 $as_echo_n "(cached) " >&6 |
10284 *) | 7264 else |
10285 » # Assume MSVC wrapper | 7265 if test -n "$ac_ct_STRIP"; then |
10286 » hardcode_libdir_flag_spec=' ' | 7266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
10287 » allow_undefined_flag=unsupported | 7267 else |
10288 » # Tell ltmain to make .lib files, not .a files. | 7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
10289 » libext=lib | 7269 for as_dir in $PATH |
10290 » # Tell ltmain to make .dll files, not .so files. | 7270 do |
10291 » shrext_cmds=.dll | 7271 IFS=$as_save_IFS |
10292 » # FIXME: Setting linknames here is a bad hack. | 7272 test -z "$as_dir" && as_dir=. |
10293 » archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl
ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | 7273 for ac_exec_ext in '' $ac_executable_extensions; do |
10294 » # The linker will automatically build a .lib file if we build a DLL. | 7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
10295 » old_archive_from_new_cmds='true' | 7275 ac_cv_prog_ac_ct_STRIP="strip" |
10296 » # FIXME: Should let the user specify the lib program. | 7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
10297 » old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | 7277 break 2 |
10298 » enable_shared_with_static_runtimes=yes | 7278 fi |
10299 » ;; | 7279 done |
10300 esac | 7280 done |
10301 ;; | 7281 IFS=$as_save_IFS |
10302 | 7282 |
10303 darwin* | rhapsody*) | 7283 fi |
10304 | 7284 fi |
10305 | 7285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
10306 archive_cmds_need_lc=no | 7286 if test -n "$ac_ct_STRIP"; then |
10307 hardcode_direct=no | 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
10308 hardcode_automatic=yes | 7288 $as_echo "$ac_ct_STRIP" >&6; } |
10309 hardcode_shlibpath_var=unsupported | 7289 else |
10310 if test yes = "$lt_cv_ld_force_load"; then | 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
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\"`' | 7291 $as_echo "no" >&6; } |
10312 | 7292 fi |
| 7293 |
| 7294 if test "x$ac_ct_STRIP" = x; then |
| 7295 STRIP=":" |
10313 else | 7296 else |
10314 whole_archive_flag_spec='' | 7297 case $cross_compiling:$ac_tool_warned in |
10315 fi | 7298 yes:) |
10316 link_all_deplibs=yes | 7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
10317 allow_undefined_flag=$_lt_dar_allow_undefined | 7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
10318 case $cc_basename in | 7301 ac_tool_warned=yes ;; |
10319 ifort*|nagfor*) _lt_dar_can_shared=yes ;; | 7302 esac |
10320 *) _lt_dar_can_shared=$GCC ;; | 7303 STRIP=$ac_ct_STRIP |
| 7304 fi |
| 7305 else |
| 7306 STRIP="$ac_cv_prog_STRIP" |
| 7307 fi |
| 7308 |
| 7309 test -z "$STRIP" && STRIP=: |
| 7310 |
| 7311 |
| 7312 |
| 7313 |
| 7314 |
| 7315 |
| 7316 if test -n "$ac_tool_prefix"; then |
| 7317 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. |
| 7318 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7320 $as_echo_n "checking for $ac_word... " >&6; } |
| 7321 if ${ac_cv_prog_RANLIB+:} false; then : |
| 7322 $as_echo_n "(cached) " >&6 |
| 7323 else |
| 7324 if test -n "$RANLIB"; then |
| 7325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 7326 else |
| 7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7328 for as_dir in $PATH |
| 7329 do |
| 7330 IFS=$as_save_IFS |
| 7331 test -z "$as_dir" && as_dir=. |
| 7332 for ac_exec_ext in '' $ac_executable_extensions; do |
| 7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7334 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 7336 break 2 |
| 7337 fi |
| 7338 done |
| 7339 done |
| 7340 IFS=$as_save_IFS |
| 7341 |
| 7342 fi |
| 7343 fi |
| 7344 RANLIB=$ac_cv_prog_RANLIB |
| 7345 if test -n "$RANLIB"; then |
| 7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 7347 $as_echo "$RANLIB" >&6; } |
| 7348 else |
| 7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7350 $as_echo "no" >&6; } |
| 7351 fi |
| 7352 |
| 7353 |
| 7354 fi |
| 7355 if test -z "$ac_cv_prog_RANLIB"; then |
| 7356 ac_ct_RANLIB=$RANLIB |
| 7357 # Extract the first word of "ranlib", so it can be a program name with args. |
| 7358 set dummy ranlib; ac_word=$2 |
| 7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 7360 $as_echo_n "checking for $ac_word... " >&6; } |
| 7361 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 7362 $as_echo_n "(cached) " >&6 |
| 7363 else |
| 7364 if test -n "$ac_ct_RANLIB"; then |
| 7365 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 7366 else |
| 7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 7368 for as_dir in $PATH |
| 7369 do |
| 7370 IFS=$as_save_IFS |
| 7371 test -z "$as_dir" && as_dir=. |
| 7372 for ac_exec_ext in '' $ac_executable_extensions; do |
| 7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 7374 ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 7376 break 2 |
| 7377 fi |
| 7378 done |
| 7379 done |
| 7380 IFS=$as_save_IFS |
| 7381 |
| 7382 fi |
| 7383 fi |
| 7384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 7385 if test -n "$ac_ct_RANLIB"; then |
| 7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 7387 $as_echo "$ac_ct_RANLIB" >&6; } |
| 7388 else |
| 7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 7390 $as_echo "no" >&6; } |
| 7391 fi |
| 7392 |
| 7393 if test "x$ac_ct_RANLIB" = x; then |
| 7394 RANLIB=":" |
| 7395 else |
| 7396 case $cross_compiling:$ac_tool_warned in |
| 7397 yes:) |
| 7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 7400 ac_tool_warned=yes ;; |
| 7401 esac |
| 7402 RANLIB=$ac_ct_RANLIB |
| 7403 fi |
| 7404 else |
| 7405 RANLIB="$ac_cv_prog_RANLIB" |
| 7406 fi |
| 7407 |
| 7408 test -z "$RANLIB" && RANLIB=: |
| 7409 |
| 7410 |
| 7411 |
| 7412 |
| 7413 |
| 7414 |
| 7415 # Determine commands to create old-style static archives. |
| 7416 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 7417 old_postinstall_cmds='chmod 644 $oldlib' |
| 7418 old_postuninstall_cmds= |
| 7419 |
| 7420 if test -n "$RANLIB"; then |
| 7421 case $host_os in |
| 7422 openbsd*) |
| 7423 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 7424 ;; |
| 7425 *) |
| 7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 7427 ;; |
10321 esac | 7428 esac |
10322 if test yes = "$_lt_dar_can_shared"; then | 7429 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
10323 output_verbose_link_cmd=func_echo_all | 7430 fi |
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" | 7431 |
10325 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags$_lt_dsymutil" | 7432 case $host_os in |
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" | 7433 darwin*) |
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" | 7434 lock_old_archive_extraction=yes ;; |
10328 | 7435 *) |
10329 else | 7436 lock_old_archive_extraction=no ;; |
10330 ld_shlibs=no | 7437 esac |
10331 fi | 7438 |
10332 | 7439 |
10333 ;; | 7440 |
10334 | 7441 |
10335 dgux*) | 7442 |
10336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 7443 |
10337 hardcode_libdir_flag_spec='-L$libdir' | 7444 |
10338 hardcode_shlibpath_var=no | 7445 |
10339 ;; | 7446 |
10340 | 7447 |
10341 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 7448 |
10342 # support. Future versions do this automatically, but an explicit c++rt0.o | 7449 |
10343 # does not break anything, and helps significantly (at the cost of a little | 7450 |
10344 # extra space). | 7451 |
10345 freebsd2.2*) | 7452 |
10346 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr
/lib/c++rt0.o' | 7453 |
10347 hardcode_libdir_flag_spec='-R$libdir' | 7454 |
10348 hardcode_direct=yes | 7455 |
10349 hardcode_shlibpath_var=no | 7456 |
10350 ;; | 7457 |
10351 | 7458 |
10352 # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 7459 |
10353 freebsd2.*) | 7460 |
10354 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 7461 |
10355 hardcode_direct=yes | 7462 |
10356 hardcode_minus_L=yes | 7463 |
10357 hardcode_shlibpath_var=no | 7464 |
10358 ;; | 7465 |
10359 | 7466 |
10360 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 7467 |
10361 freebsd* | dragonfly*) | |
10362 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl
ags' | |
10363 hardcode_libdir_flag_spec='-R$libdir' | |
10364 hardcode_direct=yes | |
10365 hardcode_shlibpath_var=no | |
10366 ;; | |
10367 | |
10368 hpux9*) | |
10369 if test yes = "$GCC"; 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' | |
10371 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' | |
10373 fi | |
10374 hardcode_libdir_flag_spec='$wl+b $wl$libdir' | |
10375 hardcode_libdir_separator=: | |
10376 hardcode_direct=yes | |
10377 | |
10378 # hardcode_minus_L: Not really in the search PATH, | |
10379 # but as the default location of the library. | |
10380 hardcode_minus_L=yes | |
10381 export_dynamic_flag_spec='$wl-E' | |
10382 ;; | |
10383 | |
10384 hpux10*) | |
10385 if test yes,no = "$GCC,$with_gnu_ld"; then | |
10386 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_l
ibdir -o $lib $libobjs $deplibs $compiler_flags' | |
10387 else | |
10388 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' | |
10389 fi | |
10390 if test no = "$with_gnu_ld"; then | |
10391 hardcode_libdir_flag_spec='$wl+b $wl$libdir' | |
10392 hardcode_libdir_separator=: | |
10393 hardcode_direct=yes | |
10394 hardcode_direct_absolute=yes | |
10395 export_dynamic_flag_spec='$wl-E' | |
10396 # hardcode_minus_L: Not really in the search PATH, | |
10397 # but as the default location of the library. | |
10398 hardcode_minus_L=yes | |
10399 fi | |
10400 ;; | |
10401 | |
10402 hpux11*) | |
10403 if test yes,no = "$GCC,$with_gnu_ld"; then | |
10404 case $host_cpu in | |
10405 hppa*64*) | |
10406 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $
compiler_flags' | |
10407 ;; | |
10408 ia64*) | |
10409 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpat
h -o $lib $libobjs $deplibs $compiler_flags' | |
10410 ;; | |
10411 *) | |
10412 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install
_libdir -o $lib $libobjs $deplibs $compiler_flags' | |
10413 ;; | |
10414 esac | |
10415 else | |
10416 case $host_cpu in | |
10417 hppa*64*) | |
10418 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compi
ler_flags' | |
10419 ;; | |
10420 ia64*) | |
10421 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libo
bjs $deplibs $compiler_flags' | |
10422 ;; | |
10423 *) | |
10424 | |
10425 # 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) | |
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 | |
10428 $as_echo_n "checking if $CC understands -b... " >&6; } | |
10429 if ${lt_cv_prog_compiler__b+:} false; then : | |
10430 $as_echo_n "(cached) " >&6 | |
10431 else | |
10432 lt_cv_prog_compiler__b=no | |
10433 save_LDFLAGS=$LDFLAGS | |
10434 LDFLAGS="$LDFLAGS -b" | |
10435 echo "$lt_simple_link_test_code" > conftest.$ac_ext | |
10436 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 | |
10438 # So say no if there are warnings | |
10439 if test -s conftest.err; then | |
10440 # Append any errors to the config.log. | |
10441 cat conftest.err 1>&5 | |
10442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | |
10443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | |
10444 if diff conftest.exp conftest.er2 >/dev/null; then | |
10445 lt_cv_prog_compiler__b=yes | |
10446 fi | |
10447 else | |
10448 lt_cv_prog_compiler__b=yes | |
10449 fi | |
10450 fi | |
10451 $RM -r conftest* | |
10452 LDFLAGS=$save_LDFLAGS | |
10453 | |
10454 fi | |
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | |
10456 $as_echo "$lt_cv_prog_compiler__b" >&6; } | |
10457 | |
10458 if test yes = "$lt_cv_prog_compiler__b"; then | |
10459 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libo
bjs $deplibs $compiler_flags' | |
10460 else | |
10461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' | |
10462 fi | |
10463 | |
10464 ;; | |
10465 esac | |
10466 fi | |
10467 if test no = "$with_gnu_ld"; then | |
10468 hardcode_libdir_flag_spec='$wl+b $wl$libdir' | |
10469 hardcode_libdir_separator=: | |
10470 | |
10471 case $host_cpu in | |
10472 hppa*64*|ia64*) | |
10473 hardcode_direct=no | |
10474 hardcode_shlibpath_var=no | |
10475 ;; | |
10476 *) | |
10477 hardcode_direct=yes | |
10478 hardcode_direct_absolute=yes | |
10479 export_dynamic_flag_spec='$wl-E' | |
10480 | |
10481 # hardcode_minus_L: Not really in the search PATH, | |
10482 # but as the default location of the library. | |
10483 hardcode_minus_L=yes | |
10484 ;; | |
10485 esac | |
10486 fi | |
10487 ;; | |
10488 | |
10489 irix5* | irix6* | nonstopux*) | |
10490 if test yes = "$GCC"; 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' | |
10492 # Try to use the -exported_symbol ld option, if it does not | |
10493 # work, assume that -exports_file does not work either and | |
10494 # implicitly export all symbols. | |
10495 # 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 | |
10497 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
&6; } | |
10498 if ${lt_cv_irix_exported_symbol+:} false; then : | |
10499 $as_echo_n "(cached) " >&6 | |
10500 else | |
10501 save_LDFLAGS=$LDFLAGS | |
10502 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_reg
istry $wl/dev/null" | |
10503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
10504 /* end confdefs.h. */ | |
10505 int foo (void) { return 0; } | |
10506 _ACEOF | |
10507 if ac_fn_c_try_link "$LINENO"; then : | |
10508 lt_cv_irix_exported_symbol=yes | |
10509 else | |
10510 lt_cv_irix_exported_symbol=no | |
10511 fi | |
10512 rm -f core conftest.err conftest.$ac_objext \ | |
10513 conftest$ac_exeext conftest.$ac_ext | |
10514 LDFLAGS=$save_LDFLAGS | |
10515 fi | |
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&
5 | |
10517 $as_echo "$lt_cv_irix_exported_symbol" >&6; } | |
10518 if test yes = "$lt_cv_irix_exported_symbol"; 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' | |
10520 fi | |
10521 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' | |
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' | |
10524 fi | |
10525 archive_cmds_need_lc='no' | |
10526 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
10527 hardcode_libdir_separator=: | |
10528 inherit_rpath=yes | |
10529 link_all_deplibs=yes | |
10530 ;; | |
10531 | |
10532 linux*) | |
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 | |
10544 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out | |
10545 else | |
10546 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF | |
10547 fi | |
10548 hardcode_libdir_flag_spec='-R$libdir' | |
10549 hardcode_direct=yes | |
10550 hardcode_shlibpath_var=no | |
10551 ;; | |
10552 | |
10553 newsos6) | |
10554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
10555 hardcode_direct=yes | |
10556 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
10557 hardcode_libdir_separator=: | |
10558 hardcode_shlibpath_var=no | |
10559 ;; | |
10560 | |
10561 *nto* | *qnx*) | |
10562 ;; | |
10563 | |
10564 openbsd* | bitrig*) | |
10565 if test -f /usr/libexec/ld.so; then | |
10566 hardcode_direct=yes | |
10567 hardcode_shlibpath_var=no | |
10568 hardcode_direct_absolute=yes | |
10569 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | |
10570 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' | |
10572 hardcode_libdir_flag_spec='$wl-rpath,$libdir' | |
10573 export_dynamic_flag_spec='$wl-E' | |
10574 else | |
10575 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' | |
10576 hardcode_libdir_flag_spec='$wl-rpath,$libdir' | |
10577 fi | |
10578 else | |
10579 ld_shlibs=no | |
10580 fi | |
10581 ;; | |
10582 | |
10583 os2*) | |
10584 hardcode_libdir_flag_spec='-L$libdir' | |
10585 hardcode_minus_L=yes | |
10586 allow_undefined_flag=unsupported | |
10587 shrext_cmds=.dll | |
10588 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTAN
CE" > $output_objdir/$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 ;; | |
10610 | |
10611 osf3*) | |
10612 if test yes = "$GCC"; then | |
10613 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' | |
10615 else | |
10616 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' | |
10618 fi | |
10619 archive_cmds_need_lc='no' | |
10620 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
10621 hardcode_libdir_separator=: | |
10622 ;; | |
10623 | |
10624 osf4* | osf5*) # as osf3* with the addition of -msym flag | |
10625 if test yes = "$GCC"; then | |
10626 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' | |
10628 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' | |
10629 else | |
10630 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' | |
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~ | |
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' | |
10634 | |
10635 # Both c and cxx compiler support -rpath directly | |
10636 hardcode_libdir_flag_spec='-rpath $libdir' | |
10637 fi | |
10638 archive_cmds_need_lc='no' | |
10639 hardcode_libdir_separator=: | |
10640 ;; | |
10641 | |
10642 solaris*) | |
10643 no_undefined_flag=' -z defs' | |
10644 if test yes = "$GCC"; then | |
10645 wlarc='$wl' | |
10646 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -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~ | |
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' | |
10649 else | |
10650 case `$CC -V 2>&1` in | |
10651 *"Compilers 5.0"*) | |
10652 wlarc='' | |
10653 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs
$deplibs $linker_flags' | |
10654 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' | |
10656 ;; | |
10657 *) | |
10658 wlarc='$wl' | |
10659 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs
$deplibs $compiler_flags' | |
10660 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' | |
10662 ;; | |
10663 esac | |
10664 fi | |
10665 hardcode_libdir_flag_spec='-R$libdir' | |
10666 hardcode_shlibpath_var=no | |
10667 case $host_os in | |
10668 solaris2.[0-5] | solaris2.[0-5].*) ;; | |
10669 *) | |
10670 # The compiler driver will combine and reorder linker options, | |
10671 # but understands '-z linker_flag'. GCC discards it without '$wl', | |
10672 # but is careful enough not to reorder. | |
10673 # Supported since Solaris 2.6 (maybe 2.5.1?) | |
10674 if test yes = "$GCC"; then | |
10675 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}
defaultextract' | |
10676 else | |
10677 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | |
10678 fi | |
10679 ;; | |
10680 esac | |
10681 link_all_deplibs=yes | |
10682 ;; | |
10683 | |
10684 sunos4*) | |
10685 if test sequent = "$host_vendor"; then | |
10686 # Use $CC to link under sequent, because it throws in some extra .o | |
10687 # files that make .init and .fini sections work. | |
10688 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_f
lags' | |
10689 else | |
10690 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' | |
10691 fi | |
10692 hardcode_libdir_flag_spec='-L$libdir' | |
10693 hardcode_direct=yes | |
10694 hardcode_minus_L=yes | |
10695 hardcode_shlibpath_var=no | |
10696 ;; | |
10697 | |
10698 sysv4) | |
10699 case $host_vendor in | |
10700 sni) | |
10701 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
10702 hardcode_direct=yes # is this really true??? | |
10703 ;; | |
10704 siemens) | |
10705 ## LD is ld it makes a PLAMLIB | |
10706 ## CC just makes a GrossModule. | |
10707 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | |
10708 reload_cmds='$CC -r -o $output$reload_objs' | |
10709 hardcode_direct=no | |
10710 ;; | |
10711 motorola) | |
10712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' | |
10713 hardcode_direct=no #Motorola manual says yes, but my tests say they li
e | |
10714 ;; | |
10715 esac | |
10716 runpath_var='LD_RUN_PATH' | |
10717 hardcode_shlibpath_var=no | |
10718 ;; | |
10719 | |
10720 sysv4.3*) | |
10721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
10722 hardcode_shlibpath_var=no | |
10723 export_dynamic_flag_spec='-Bexport' | |
10724 ;; | |
10725 | |
10726 sysv4*MP*) | |
10727 if test -d /usr/nec; then | |
10728 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
10729 hardcode_shlibpath_var=no | |
10730 runpath_var=LD_RUN_PATH | |
10731 hardcode_runpath_var=yes | |
10732 ld_shlibs=yes | |
10733 fi | |
10734 ;; | |
10735 | |
10736 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) | |
10737 no_undefined_flag='$wl-z,text' | |
10738 archive_cmds_need_lc=no | |
10739 hardcode_shlibpath_var=no | |
10740 runpath_var='LD_RUN_PATH' | |
10741 | |
10742 if test yes = "$GCC"; then | |
10743 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi
ler_flags' | |
10744 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona
me -o $lib $libobjs $deplibs $compiler_flags' | |
10745 else | |
10746 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f
lags' | |
10747 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o
$lib $libobjs $deplibs $compiler_flags' | |
10748 fi | |
10749 ;; | |
10750 | |
10751 sysv5* | sco3.2v5* | sco5v6*) | |
10752 # Note: We CANNOT 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 | |
10754 # 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 | |
10756 # though, which does catch some bad symbols but isn't as heavy-handed | |
10757 # as -z defs. | |
10758 no_undefined_flag='$wl-z,text' | |
10759 allow_undefined_flag='$wl-z,nodefs' | |
10760 archive_cmds_need_lc=no | |
10761 hardcode_shlibpath_var=no | |
10762 hardcode_libdir_flag_spec='$wl-R,$libdir' | |
10763 hardcode_libdir_separator=':' | |
10764 link_all_deplibs=yes | |
10765 export_dynamic_flag_spec='$wl-Bexport' | |
10766 runpath_var='LD_RUN_PATH' | |
10767 | |
10768 if test yes = "$GCC"; then | |
10769 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compi
ler_flags' | |
10770 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$sona
me -o $lib $libobjs $deplibs $compiler_flags' | |
10771 else | |
10772 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_f
lags' | |
10773 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o
$lib $libobjs $deplibs $compiler_flags' | |
10774 fi | |
10775 ;; | |
10776 | |
10777 uts4*) | |
10778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | |
10779 hardcode_libdir_flag_spec='-L$libdir' | |
10780 hardcode_shlibpath_var=no | |
10781 ;; | |
10782 | |
10783 *) | |
10784 ld_shlibs=no | |
10785 ;; | |
10786 esac | |
10787 | |
10788 if test sni = "$host_vendor"; then | |
10789 case $host in | |
10790 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | |
10791 export_dynamic_flag_spec='$wl-Blargedynsym' | |
10792 ;; | |
10793 esac | |
10794 fi | |
10795 fi | |
10796 | |
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | |
10798 $as_echo "$ld_shlibs" >&6; } | |
10799 test no = "$ld_shlibs" && can_build_shared=no | |
10800 | |
10801 with_gnu_ld=$with_gnu_ld | |
10802 | |
10803 | |
10804 | |
10805 | 7468 |
10806 | 7469 |
10807 | 7470 |
10808 | 7471 |
10809 | 7472 |
10810 | 7473 |
10811 | 7474 |
10812 | 7475 |
10813 | 7476 |
10814 | 7477 # If no C compiler was specified, use CC. |
10815 | 7478 LTCC=${LTCC-"$CC"} |
10816 | 7479 |
10817 # | 7480 # If no C compiler flags were specified, use CFLAGS. |
10818 # Do we need to explicitly link libc? | 7481 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
10819 # | 7482 |
10820 case "x$archive_cmds_need_lc" in | 7483 # Allow CC to be a program name with arguments. |
10821 x|xyes) | 7484 compiler=$CC |
10822 # Assume -lc should be added | 7485 |
10823 archive_cmds_need_lc=yes | 7486 |
10824 | 7487 # Check for command to grab the raw symbol name followed by C symbol from nm. |
10825 if test yes,yes = "$GCC,$enable_shared"; then | 7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output fr
om $compiler object" >&5 |
10826 case $archive_cmds in | 7489 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6;
} |
10827 *'~'*) | 7490 if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
10828 # FIXME: we may have to deal with multi-command sequences. | |
10829 ;; | |
10830 '$CC '*) | |
10831 # Test whether the compiler implicitly links with -lc since on some | |
10832 # systems, -lgcc has to come before -lc. If gcc already passes -lc | |
10833 # 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 | |
10835 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | |
10836 if ${lt_cv_archive_cmds_need_lc+:} false; then : | |
10837 $as_echo_n "(cached) " >&6 | 7491 $as_echo_n "(cached) " >&6 |
10838 else | 7492 else |
10839 $RM conftest* | 7493 |
10840 » echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 7494 # These are sane defaults that work on at least a few old systems. |
10841 | 7495 # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
10842 » if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; }
>&5 | 7496 |
| 7497 # Character class describing NM global symbol codes. |
| 7498 symcode='[BCDEGRST]' |
| 7499 |
| 7500 # Regexp to match symbols that can be accessed directly from C. |
| 7501 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
| 7502 |
| 7503 # Define system-specific variables. |
| 7504 case $host_os in |
| 7505 aix*) |
| 7506 symcode='[BCDT]' |
| 7507 ;; |
| 7508 cygwin* | mingw* | pw32* | cegcc*) |
| 7509 symcode='[ABCDGISTW]' |
| 7510 ;; |
| 7511 hpux*) |
| 7512 if test "$host_cpu" = ia64; then |
| 7513 symcode='[ABCDEGRST]' |
| 7514 fi |
| 7515 ;; |
| 7516 irix* | nonstopux*) |
| 7517 symcode='[BCDEGRST]' |
| 7518 ;; |
| 7519 osf*) |
| 7520 symcode='[BCDEGQRST]' |
| 7521 ;; |
| 7522 solaris*) |
| 7523 symcode='[BDRT]' |
| 7524 ;; |
| 7525 sco3.2v5*) |
| 7526 symcode='[DT]' |
| 7527 ;; |
| 7528 sysv4.2uw2*) |
| 7529 symcode='[DT]' |
| 7530 ;; |
| 7531 sysv5* | sco5v6* | unixware* | OpenUNIX*) |
| 7532 symcode='[ABDT]' |
| 7533 ;; |
| 7534 sysv4) |
| 7535 symcode='[DFNSTU]' |
| 7536 ;; |
| 7537 esac |
| 7538 |
| 7539 # If we're using GNU nm, then use its standard symbol codes. |
| 7540 case `$NM -V 2>&1` in |
| 7541 *GNU* | *'with BFD'*) |
| 7542 symcode='[ABCDGIRSTW]' ;; |
| 7543 esac |
| 7544 |
| 7545 # Transform an extracted symbol line into a proper C declaration. |
| 7546 # Some systems (esp. on ia64) link data and code symbols differently, |
| 7547 # so use this general approach. |
| 7548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p'
-e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
| 7549 |
| 7550 # Transform an extracted symbol line into symbol name and symbol address |
| 7551 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\
"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void
*) \&\2},/p'" |
| 7552 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'" |
| 7553 |
| 7554 # Handle CRLF in mingw tool chain |
| 7555 opt_cr= |
| 7556 case $build_os in |
| 7557 mingw*) |
| 7558 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 7559 ;; |
| 7560 esac |
| 7561 |
| 7562 # Try without a prefix underscore, then with it. |
| 7563 for ac_symprfx in "" "_"; do |
| 7564 |
| 7565 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 7566 symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 7567 |
| 7568 # Write the raw and C identifiers. |
| 7569 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 7570 # Fake it for dumpbin and say T for any non-static function |
| 7571 # and D for any global variable. |
| 7572 # Also find C++ and __fastcall symbols from MSVC++, |
| 7573 # which start with @ or ?. |
| 7574 lt_cv_sys_global_symbol_pipe="$AWK '"\ |
| 7575 " {last_section=section; section=\$ 3};"\ |
| 7576 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 7577 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 7578 " \$ 0!~/External *\|/{next};"\ |
| 7579 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 7580 " {if(hide[section]) next};"\ |
| 7581 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
| 7582 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
| 7583 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
| 7584 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
| 7585 " ' prfx=^$ac_symprfx" |
| 7586 else |
| 7587 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[» ]\($symcode$symcode*\)[
» ][» ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 7588 fi |
| 7589 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" |
| 7590 |
| 7591 # Check to see that the pipe works correctly. |
| 7592 pipe_works=no |
| 7593 |
| 7594 rm -f conftest* |
| 7595 cat > conftest.$ac_ext <<_LT_EOF |
| 7596 #ifdef __cplusplus |
| 7597 extern "C" { |
| 7598 #endif |
| 7599 char nm_test_var; |
| 7600 void nm_test_func(void); |
| 7601 void nm_test_func(void){} |
| 7602 #ifdef __cplusplus |
| 7603 } |
| 7604 #endif |
| 7605 int main(){nm_test_var='a';nm_test_func();return(0);} |
| 7606 _LT_EOF |
| 7607 |
| 7608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10843 (eval $ac_compile) 2>&5 | 7609 (eval $ac_compile) 2>&5 |
10844 ac_status=$? | 7610 ac_status=$? |
10845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10846 test $ac_status = 0; } 2>conftest.err; then | 7612 test $ac_status = 0; }; then |
10847 » soname=conftest | 7613 # Now try to grab the symbols. |
10848 » lib=conftest | 7614 nlist=conftest.nm |
10849 » libobjs=conftest.$ac_objext | 7615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objex
t \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
10850 » deplibs= | 7616 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>
&5 |
10851 » wl=$lt_prog_compiler_wl | |
10852 » pic_flag=$lt_prog_compiler_pic | |
10853 » compiler_flags=-v | |
10854 » linker_flags=-v | |
10855 » verstring= | |
10856 » output_objdir=. | |
10857 » libname=conftest | |
10858 » lt_save_allow_undefined_flag=$allow_undefined_flag | |
10859 » allow_undefined_flag= | |
10860 » if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\
>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | |
10861 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | |
10862 ac_status=$? | 7617 ac_status=$? |
10863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10864 test $ac_status = 0; } | 7619 test $ac_status = 0; } && test -s "$nlist"; then |
10865 » then | 7620 # Try sorting and uniquifying the output. |
10866 » lt_cv_archive_cmds_need_lc=no | 7621 if sort "$nlist" | uniq > "$nlist"T; then |
10867 » else | 7622 » mv -f "$nlist"T "$nlist" |
10868 » lt_cv_archive_cmds_need_lc=yes | 7623 else |
| 7624 » rm -f "$nlist"T |
| 7625 fi |
| 7626 |
| 7627 # Make sure that we snagged all the symbols we need. |
| 7628 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 7629 » if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 7630 » cat <<_LT_EOF > conftest.$ac_ext |
| 7631 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ |
| 7632 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
| 7633 /* DATA imports from DLLs on WIN32 con't be const, because runtime |
| 7634 relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 7635 # define LT_DLSYM_CONST |
| 7636 #elif defined(__osf__) |
| 7637 /* This system does not cope well with relocations in const data. */ |
| 7638 # define LT_DLSYM_CONST |
| 7639 #else |
| 7640 # define LT_DLSYM_CONST const |
| 7641 #endif |
| 7642 |
| 7643 #ifdef __cplusplus |
| 7644 extern "C" { |
| 7645 #endif |
| 7646 |
| 7647 _LT_EOF |
| 7648 » # Now generate the symbol file. |
| 7649 » eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' |
| 7650 |
| 7651 » cat <<_LT_EOF >> conftest.$ac_ext |
| 7652 |
| 7653 /* The mapping between symbol names and symbols. */ |
| 7654 LT_DLSYM_CONST struct { |
| 7655 const char *name; |
| 7656 void *address; |
| 7657 } |
| 7658 lt__PROGRAM__LTX_preloaded_symbols[] = |
| 7659 { |
| 7660 { "@PROGRAM@", (void *) 0 }, |
| 7661 _LT_EOF |
| 7662 » $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/"
< "$nlist" | $GREP -v main >> conftest.$ac_ext |
| 7663 » cat <<\_LT_EOF >> conftest.$ac_ext |
| 7664 {0, (void *) 0} |
| 7665 }; |
| 7666 |
| 7667 /* This works around a problem in FreeBSD linker */ |
| 7668 #ifdef FREEBSD_WORKAROUND |
| 7669 static const void *lt_preloaded_setup() { |
| 7670 return lt__PROGRAM__LTX_preloaded_symbols; |
| 7671 } |
| 7672 #endif |
| 7673 |
| 7674 #ifdef __cplusplus |
| 7675 } |
| 7676 #endif |
| 7677 _LT_EOF |
| 7678 » # Now try linking the two files. |
| 7679 » mv conftest.$ac_objext conftstm.$ac_objext |
| 7680 » lt_globsym_save_LIBS=$LIBS |
| 7681 » lt_globsym_save_CFLAGS=$CFLAGS |
| 7682 » LIBS="conftstm.$ac_objext" |
| 7683 » CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
| 7684 » if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >
&5 |
| 7685 (eval $ac_link) 2>&5 |
| 7686 ac_status=$? |
| 7687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7688 test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
| 7689 » pipe_works=yes |
10869 fi | 7690 fi |
10870 » allow_undefined_flag=$lt_save_allow_undefined_flag | 7691 » LIBS=$lt_globsym_save_LIBS |
| 7692 » CFLAGS=$lt_globsym_save_CFLAGS |
10871 else | 7693 else |
10872 » cat conftest.err 1>&5 | 7694 » echo "cannot find nm_test_func in $nlist" >&5 |
10873 fi | 7695 fi |
10874 » $RM conftest* | 7696 else |
10875 | 7697 » echo "cannot find nm_test_var in $nlist" >&5 |
10876 fi | 7698 fi |
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&
5 | 7699 else |
10878 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | 7700 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
10879 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | 7701 fi |
10880 ;; | 7702 else |
10881 esac | 7703 echo "$progname: failed program was:" >&5 |
10882 fi | 7704 cat conftest.$ac_ext >&5 |
10883 ;; | 7705 fi |
10884 esac | 7706 rm -rf conftest* conftst* |
10885 | 7707 |
10886 | 7708 # Do not use the global_symbol_pipe unless it works. |
10887 | 7709 if test "$pipe_works" = yes; then |
| 7710 break |
| 7711 else |
| 7712 lt_cv_sys_global_symbol_pipe= |
| 7713 fi |
| 7714 done |
| 7715 |
| 7716 fi |
| 7717 |
| 7718 if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 7719 lt_cv_sys_global_symbol_to_cdecl= |
| 7720 fi |
| 7721 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n |
| 7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
| 7723 $as_echo "failed" >&6; } |
| 7724 else |
| 7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 7726 $as_echo "ok" >&6; } |
| 7727 fi |
| 7728 |
| 7729 # Response file support. |
| 7730 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 7731 nm_file_list_spec='@' |
| 7732 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
| 7733 nm_file_list_spec='@' |
| 7734 fi |
| 7735 |
| 7736 |
| 7737 |
10888 | 7738 |
10889 | 7739 |
10890 | 7740 |
10891 | 7741 |
10892 | 7742 |
10893 | 7743 |
10894 | 7744 |
10895 | 7745 |
10896 | 7746 |
10897 | 7747 |
10898 | 7748 |
10899 | 7749 |
10900 | 7750 |
10901 | 7751 |
10902 | 7752 |
10903 | 7753 |
10904 | 7754 |
10905 | 7755 |
10906 | 7756 |
10907 | 7757 |
10908 | 7758 |
10909 | 7759 |
10910 | 7760 |
10911 | 7761 |
10912 | 7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
10913 | 7763 $as_echo_n "checking for sysroot... " >&6; } |
10914 | 7764 |
10915 | 7765 # Check whether --with-sysroot was given. |
10916 | 7766 if test "${with_sysroot+set}" = set; then : |
10917 | 7767 withval=$with_sysroot; |
10918 | 7768 else |
10919 | 7769 with_sysroot=no |
10920 | 7770 fi |
10921 | 7771 |
10922 | 7772 |
10923 | 7773 lt_sysroot= |
10924 | 7774 case ${with_sysroot} in #( |
10925 | 7775 yes) |
10926 | 7776 if test "$GCC" = yes; then |
10927 | 7777 lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
10928 | 7778 fi |
10929 | 7779 ;; #( |
10930 | 7780 /*) |
10931 | 7781 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
10932 | 7782 ;; #( |
10933 | 7783 no|'') |
10934 | 7784 ;; #( |
10935 | 7785 *) |
10936 | 7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
10937 | 7787 $as_echo "${with_sysroot}" >&6; } |
10938 | 7788 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
10939 | 7789 ;; |
10940 | 7790 esac |
10941 | 7791 |
10942 | 7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
10943 | 7793 $as_echo "${lt_sysroot:-no}" >&6; } |
10944 | 7794 |
10945 | 7795 |
10946 | 7796 |
10947 | 7797 |
10948 | 7798 |
10949 | 7799 # Check whether --enable-libtool-lock was given. |
10950 | 7800 if test "${enable_libtool_lock+set}" = set; then : |
10951 | 7801 enableval=$enable_libtool_lock; |
10952 | 7802 fi |
10953 | 7803 |
10954 | 7804 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
10955 | 7805 |
10956 | 7806 # Some flags need to be propagated to the compiler or linker for good |
10957 | 7807 # libtool support. |
10958 | 7808 case $host in |
10959 | 7809 ia64-*-hpux*) |
10960 | 7810 # Find out which ABI we are using. |
10961 | 7811 echo 'int i;' > conftest.$ac_ext |
10962 | 7812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
10963 | 7813 (eval $ac_compile) 2>&5 |
10964 | 7814 ac_status=$? |
10965 | 7815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
10966 | 7816 test $ac_status = 0; }; then |
10967 | 7817 case `/usr/bin/file conftest.$ac_objext` in |
10968 | 7818 *ELF-32*) |
10969 | 7819 HPUX_IA64_MODE="32" |
10970 | 7820 ;; |
10971 | 7821 *ELF-64*) |
10972 | 7822 HPUX_IA64_MODE="64" |
10973 | 7823 ;; |
10974 | 7824 esac |
| 7825 fi |
| 7826 rm -rf conftest* |
| 7827 ;; |
| 7828 *-*-irix6*) |
| 7829 # Find out which ABI we are using. |
| 7830 echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
| 7831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7832 (eval $ac_compile) 2>&5 |
| 7833 ac_status=$? |
| 7834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7835 test $ac_status = 0; }; then |
| 7836 if test "$lt_cv_prog_gnu_ld" = yes; then |
| 7837 case `/usr/bin/file conftest.$ac_objext` in |
| 7838 *32-bit*) |
| 7839 LD="${LD-ld} -melf32bsmip" |
| 7840 ;; |
| 7841 *N32*) |
| 7842 LD="${LD-ld} -melf32bmipn32" |
| 7843 ;; |
| 7844 *64-bit*) |
| 7845 LD="${LD-ld} -melf64bmip" |
| 7846 ;; |
| 7847 esac |
| 7848 else |
| 7849 case `/usr/bin/file conftest.$ac_objext` in |
| 7850 *32-bit*) |
| 7851 LD="${LD-ld} -32" |
| 7852 ;; |
| 7853 *N32*) |
| 7854 LD="${LD-ld} -n32" |
| 7855 ;; |
| 7856 *64-bit*) |
| 7857 LD="${LD-ld} -64" |
| 7858 ;; |
| 7859 esac |
| 7860 fi |
| 7861 fi |
| 7862 rm -rf conftest* |
| 7863 ;; |
| 7864 |
| 7865 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 7866 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 7867 # Find out which ABI we are using. |
| 7868 echo 'int i;' > conftest.$ac_ext |
| 7869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7870 (eval $ac_compile) 2>&5 |
| 7871 ac_status=$? |
| 7872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7873 test $ac_status = 0; }; then |
| 7874 case `/usr/bin/file conftest.o` in |
| 7875 *32-bit*) |
| 7876 case $host in |
| 7877 x86_64-*kfreebsd*-gnu) |
| 7878 LD="${LD-ld} -m elf_i386_fbsd" |
| 7879 ;; |
| 7880 x86_64-*linux*) |
| 7881 case `/usr/bin/file conftest.o` in |
| 7882 *x86-64*) |
| 7883 LD="${LD-ld} -m elf32_x86_64" |
| 7884 ;; |
| 7885 *) |
| 7886 LD="${LD-ld} -m elf_i386" |
| 7887 ;; |
| 7888 esac |
| 7889 ;; |
| 7890 powerpc64le-*) |
| 7891 LD="${LD-ld} -m elf32lppclinux" |
| 7892 ;; |
| 7893 powerpc64-*) |
| 7894 LD="${LD-ld} -m elf32ppclinux" |
| 7895 ;; |
| 7896 s390x-*linux*) |
| 7897 LD="${LD-ld} -m elf_s390" |
| 7898 ;; |
| 7899 sparc64-*linux*) |
| 7900 LD="${LD-ld} -m elf32_sparc" |
| 7901 ;; |
| 7902 esac |
| 7903 ;; |
| 7904 *64-bit*) |
| 7905 case $host in |
| 7906 x86_64-*kfreebsd*-gnu) |
| 7907 LD="${LD-ld} -m elf_x86_64_fbsd" |
| 7908 ;; |
| 7909 x86_64-*linux*) |
| 7910 LD="${LD-ld} -m elf_x86_64" |
| 7911 ;; |
| 7912 powerpcle-*) |
| 7913 LD="${LD-ld} -m elf64lppc" |
| 7914 ;; |
| 7915 powerpc-*) |
| 7916 LD="${LD-ld} -m elf64ppc" |
| 7917 ;; |
| 7918 s390*-*linux*|s390*-*tpf*) |
| 7919 LD="${LD-ld} -m elf64_s390" |
| 7920 ;; |
| 7921 sparc*-*linux*) |
| 7922 LD="${LD-ld} -m elf64_sparc" |
| 7923 ;; |
| 7924 esac |
| 7925 ;; |
| 7926 esac |
| 7927 fi |
| 7928 rm -rf conftest* |
| 7929 ;; |
| 7930 |
| 7931 *-*-sco3.2v5*) |
| 7932 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 7933 SAVE_CFLAGS="$CFLAGS" |
| 7934 CFLAGS="$CFLAGS -belf" |
| 7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5 |
| 7936 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
| 7937 if ${lt_cv_cc_needs_belf+:} false; then : |
| 7938 $as_echo_n "(cached) " >&6 |
| 7939 else |
| 7940 ac_ext=c |
| 7941 ac_cpp='$CPP $CPPFLAGS' |
| 7942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 7944 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7945 |
| 7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7947 /* end confdefs.h. */ |
| 7948 |
| 7949 int |
| 7950 main () |
| 7951 { |
| 7952 |
| 7953 ; |
| 7954 return 0; |
| 7955 } |
| 7956 _ACEOF |
| 7957 if ac_fn_c_try_link "$LINENO"; then : |
| 7958 lt_cv_cc_needs_belf=yes |
| 7959 else |
| 7960 lt_cv_cc_needs_belf=no |
| 7961 fi |
| 7962 rm -f core conftest.err conftest.$ac_objext \ |
| 7963 conftest$ac_exeext conftest.$ac_ext |
| 7964 ac_ext=c |
| 7965 ac_cpp='$CPP $CPPFLAGS' |
| 7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 7969 |
| 7970 fi |
| 7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
| 7972 $as_echo "$lt_cv_cc_needs_belf" >&6; } |
| 7973 if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 7974 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 7975 CFLAGS="$SAVE_CFLAGS" |
| 7976 fi |
| 7977 ;; |
| 7978 *-*solaris*) |
| 7979 # Find out which ABI we are using. |
| 7980 echo 'int i;' > conftest.$ac_ext |
| 7981 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 7982 (eval $ac_compile) 2>&5 |
| 7983 ac_status=$? |
| 7984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 7985 test $ac_status = 0; }; then |
| 7986 case `/usr/bin/file conftest.o` in |
| 7987 *64-bit*) |
| 7988 case $lt_cv_prog_gnu_ld in |
| 7989 yes*) |
| 7990 case $host in |
| 7991 i?86-*-solaris*) |
| 7992 LD="${LD-ld} -m elf_x86_64" |
| 7993 ;; |
| 7994 sparc*-*-solaris*) |
| 7995 LD="${LD-ld} -m elf64_sparc" |
| 7996 ;; |
| 7997 esac |
| 7998 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 7999 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 8000 LD="${LD-ld}_sol2" |
| 8001 fi |
| 8002 ;; |
| 8003 *) |
| 8004 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 8005 LD="${LD-ld} -64" |
| 8006 fi |
| 8007 ;; |
| 8008 esac |
| 8009 ;; |
| 8010 esac |
| 8011 fi |
| 8012 rm -rf conftest* |
| 8013 ;; |
| 8014 esac |
| 8015 |
| 8016 need_locks="$enable_libtool_lock" |
| 8017 |
| 8018 if test -n "$ac_tool_prefix"; then |
| 8019 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name
with args. |
| 8020 set dummy ${ac_tool_prefix}mt; ac_word=$2 |
| 8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8022 $as_echo_n "checking for $ac_word... " >&6; } |
| 8023 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
| 8024 $as_echo_n "(cached) " >&6 |
| 8025 else |
| 8026 if test -n "$MANIFEST_TOOL"; then |
| 8027 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
| 8028 else |
| 8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8030 for as_dir in $PATH |
| 8031 do |
| 8032 IFS=$as_save_IFS |
| 8033 test -z "$as_dir" && as_dir=. |
| 8034 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8036 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
| 8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8038 break 2 |
| 8039 fi |
| 8040 done |
| 8041 done |
| 8042 IFS=$as_save_IFS |
| 8043 |
| 8044 fi |
| 8045 fi |
| 8046 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
| 8047 if test -n "$MANIFEST_TOOL"; then |
| 8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
| 8049 $as_echo "$MANIFEST_TOOL" >&6; } |
| 8050 else |
| 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8052 $as_echo "no" >&6; } |
| 8053 fi |
| 8054 |
| 8055 |
| 8056 fi |
| 8057 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
| 8058 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
| 8059 # Extract the first word of "mt", so it can be a program name with args. |
| 8060 set dummy mt; ac_word=$2 |
| 8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8062 $as_echo_n "checking for $ac_word... " >&6; } |
| 8063 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
| 8064 $as_echo_n "(cached) " >&6 |
| 8065 else |
| 8066 if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 8067 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override
the test. |
| 8068 else |
| 8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8070 for as_dir in $PATH |
| 8071 do |
| 8072 IFS=$as_save_IFS |
| 8073 test -z "$as_dir" && as_dir=. |
| 8074 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8076 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
| 8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8078 break 2 |
| 8079 fi |
| 8080 done |
| 8081 done |
| 8082 IFS=$as_save_IFS |
| 8083 |
| 8084 fi |
| 8085 fi |
| 8086 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
| 8087 if test -n "$ac_ct_MANIFEST_TOOL"; then |
| 8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
| 8089 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
| 8090 else |
| 8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8092 $as_echo "no" >&6; } |
| 8093 fi |
| 8094 |
| 8095 if test "x$ac_ct_MANIFEST_TOOL" = x; then |
| 8096 MANIFEST_TOOL=":" |
| 8097 else |
| 8098 case $cross_compiling:$ac_tool_warned in |
| 8099 yes:) |
| 8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8102 ac_tool_warned=yes ;; |
| 8103 esac |
| 8104 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
| 8105 fi |
| 8106 else |
| 8107 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
| 8108 fi |
| 8109 |
| 8110 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifes
t tool" >&5 |
| 8112 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
| 8113 if ${lt_cv_path_mainfest_tool+:} false; then : |
| 8114 $as_echo_n "(cached) " >&6 |
| 8115 else |
| 8116 lt_cv_path_mainfest_tool=no |
| 8117 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
| 8118 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 8119 cat conftest.err >&5 |
| 8120 if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 8121 lt_cv_path_mainfest_tool=yes |
| 8122 fi |
| 8123 rm -f conftest* |
| 8124 fi |
| 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
| 8126 $as_echo "$lt_cv_path_mainfest_tool" >&6; } |
| 8127 if test "x$lt_cv_path_mainfest_tool" != xyes; then |
| 8128 MANIFEST_TOOL=: |
| 8129 fi |
| 8130 |
| 8131 |
| 8132 |
| 8133 |
| 8134 |
| 8135 |
| 8136 case $host_os in |
| 8137 rhapsody* | darwin*) |
| 8138 if test -n "$ac_tool_prefix"; then |
| 8139 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a progra
m name with args. |
| 8140 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
| 8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8142 $as_echo_n "checking for $ac_word... " >&6; } |
| 8143 if ${ac_cv_prog_DSYMUTIL+:} false; then : |
| 8144 $as_echo_n "(cached) " >&6 |
| 8145 else |
| 8146 if test -n "$DSYMUTIL"; then |
| 8147 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
| 8148 else |
| 8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8150 for as_dir in $PATH |
| 8151 do |
| 8152 IFS=$as_save_IFS |
| 8153 test -z "$as_dir" && as_dir=. |
| 8154 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8156 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
| 8157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8158 break 2 |
| 8159 fi |
| 8160 done |
| 8161 done |
| 8162 IFS=$as_save_IFS |
| 8163 |
| 8164 fi |
| 8165 fi |
| 8166 DSYMUTIL=$ac_cv_prog_DSYMUTIL |
| 8167 if test -n "$DSYMUTIL"; then |
| 8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
| 8169 $as_echo "$DSYMUTIL" >&6; } |
| 8170 else |
| 8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8172 $as_echo "no" >&6; } |
| 8173 fi |
| 8174 |
| 8175 |
| 8176 fi |
| 8177 if test -z "$ac_cv_prog_DSYMUTIL"; then |
| 8178 ac_ct_DSYMUTIL=$DSYMUTIL |
| 8179 # Extract the first word of "dsymutil", so it can be a program name with args. |
| 8180 set dummy dsymutil; ac_word=$2 |
| 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8182 $as_echo_n "checking for $ac_word... " >&6; } |
| 8183 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
| 8184 $as_echo_n "(cached) " >&6 |
| 8185 else |
| 8186 if test -n "$ac_ct_DSYMUTIL"; then |
| 8187 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
| 8188 else |
| 8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8190 for as_dir in $PATH |
| 8191 do |
| 8192 IFS=$as_save_IFS |
| 8193 test -z "$as_dir" && as_dir=. |
| 8194 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8196 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
| 8197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8198 break 2 |
| 8199 fi |
| 8200 done |
| 8201 done |
| 8202 IFS=$as_save_IFS |
| 8203 |
| 8204 fi |
| 8205 fi |
| 8206 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
| 8207 if test -n "$ac_ct_DSYMUTIL"; then |
| 8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
| 8209 $as_echo "$ac_ct_DSYMUTIL" >&6; } |
| 8210 else |
| 8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8212 $as_echo "no" >&6; } |
| 8213 fi |
| 8214 |
| 8215 if test "x$ac_ct_DSYMUTIL" = x; then |
| 8216 DSYMUTIL=":" |
| 8217 else |
| 8218 case $cross_compiling:$ac_tool_warned in |
| 8219 yes:) |
| 8220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8222 ac_tool_warned=yes ;; |
| 8223 esac |
| 8224 DSYMUTIL=$ac_ct_DSYMUTIL |
| 8225 fi |
| 8226 else |
| 8227 DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
| 8228 fi |
| 8229 |
| 8230 if test -n "$ac_tool_prefix"; then |
| 8231 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program
name with args. |
| 8232 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
| 8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8234 $as_echo_n "checking for $ac_word... " >&6; } |
| 8235 if ${ac_cv_prog_NMEDIT+:} false; then : |
| 8236 $as_echo_n "(cached) " >&6 |
| 8237 else |
| 8238 if test -n "$NMEDIT"; then |
| 8239 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
| 8240 else |
| 8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8242 for as_dir in $PATH |
| 8243 do |
| 8244 IFS=$as_save_IFS |
| 8245 test -z "$as_dir" && as_dir=. |
| 8246 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8248 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
| 8249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8250 break 2 |
| 8251 fi |
| 8252 done |
| 8253 done |
| 8254 IFS=$as_save_IFS |
| 8255 |
| 8256 fi |
| 8257 fi |
| 8258 NMEDIT=$ac_cv_prog_NMEDIT |
| 8259 if test -n "$NMEDIT"; then |
| 8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
| 8261 $as_echo "$NMEDIT" >&6; } |
| 8262 else |
| 8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8264 $as_echo "no" >&6; } |
| 8265 fi |
| 8266 |
| 8267 |
| 8268 fi |
| 8269 if test -z "$ac_cv_prog_NMEDIT"; then |
| 8270 ac_ct_NMEDIT=$NMEDIT |
| 8271 # Extract the first word of "nmedit", so it can be a program name with args. |
| 8272 set dummy nmedit; ac_word=$2 |
| 8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8274 $as_echo_n "checking for $ac_word... " >&6; } |
| 8275 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
| 8276 $as_echo_n "(cached) " >&6 |
| 8277 else |
| 8278 if test -n "$ac_ct_NMEDIT"; then |
| 8279 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
| 8280 else |
| 8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8282 for as_dir in $PATH |
| 8283 do |
| 8284 IFS=$as_save_IFS |
| 8285 test -z "$as_dir" && as_dir=. |
| 8286 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8288 ac_cv_prog_ac_ct_NMEDIT="nmedit" |
| 8289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8290 break 2 |
| 8291 fi |
| 8292 done |
| 8293 done |
| 8294 IFS=$as_save_IFS |
| 8295 |
| 8296 fi |
| 8297 fi |
| 8298 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
| 8299 if test -n "$ac_ct_NMEDIT"; then |
| 8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
| 8301 $as_echo "$ac_ct_NMEDIT" >&6; } |
| 8302 else |
| 8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8304 $as_echo "no" >&6; } |
| 8305 fi |
| 8306 |
| 8307 if test "x$ac_ct_NMEDIT" = x; then |
| 8308 NMEDIT=":" |
| 8309 else |
| 8310 case $cross_compiling:$ac_tool_warned in |
| 8311 yes:) |
| 8312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8314 ac_tool_warned=yes ;; |
| 8315 esac |
| 8316 NMEDIT=$ac_ct_NMEDIT |
| 8317 fi |
| 8318 else |
| 8319 NMEDIT="$ac_cv_prog_NMEDIT" |
| 8320 fi |
| 8321 |
| 8322 if test -n "$ac_tool_prefix"; then |
| 8323 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program na
me with args. |
| 8324 set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
| 8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8326 $as_echo_n "checking for $ac_word... " >&6; } |
| 8327 if ${ac_cv_prog_LIPO+:} false; then : |
| 8328 $as_echo_n "(cached) " >&6 |
| 8329 else |
| 8330 if test -n "$LIPO"; then |
| 8331 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
| 8332 else |
| 8333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8334 for as_dir in $PATH |
| 8335 do |
| 8336 IFS=$as_save_IFS |
| 8337 test -z "$as_dir" && as_dir=. |
| 8338 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8340 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
| 8341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8342 break 2 |
| 8343 fi |
| 8344 done |
| 8345 done |
| 8346 IFS=$as_save_IFS |
| 8347 |
| 8348 fi |
| 8349 fi |
| 8350 LIPO=$ac_cv_prog_LIPO |
| 8351 if test -n "$LIPO"; then |
| 8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
| 8353 $as_echo "$LIPO" >&6; } |
| 8354 else |
| 8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8356 $as_echo "no" >&6; } |
| 8357 fi |
| 8358 |
| 8359 |
| 8360 fi |
| 8361 if test -z "$ac_cv_prog_LIPO"; then |
| 8362 ac_ct_LIPO=$LIPO |
| 8363 # Extract the first word of "lipo", so it can be a program name with args. |
| 8364 set dummy lipo; ac_word=$2 |
| 8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8366 $as_echo_n "checking for $ac_word... " >&6; } |
| 8367 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
| 8368 $as_echo_n "(cached) " >&6 |
| 8369 else |
| 8370 if test -n "$ac_ct_LIPO"; then |
| 8371 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
| 8372 else |
| 8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8374 for as_dir in $PATH |
| 8375 do |
| 8376 IFS=$as_save_IFS |
| 8377 test -z "$as_dir" && as_dir=. |
| 8378 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8380 ac_cv_prog_ac_ct_LIPO="lipo" |
| 8381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8382 break 2 |
| 8383 fi |
| 8384 done |
| 8385 done |
| 8386 IFS=$as_save_IFS |
| 8387 |
| 8388 fi |
| 8389 fi |
| 8390 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
| 8391 if test -n "$ac_ct_LIPO"; then |
| 8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
| 8393 $as_echo "$ac_ct_LIPO" >&6; } |
| 8394 else |
| 8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8396 $as_echo "no" >&6; } |
| 8397 fi |
| 8398 |
| 8399 if test "x$ac_ct_LIPO" = x; then |
| 8400 LIPO=":" |
| 8401 else |
| 8402 case $cross_compiling:$ac_tool_warned in |
| 8403 yes:) |
| 8404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8406 ac_tool_warned=yes ;; |
| 8407 esac |
| 8408 LIPO=$ac_ct_LIPO |
| 8409 fi |
| 8410 else |
| 8411 LIPO="$ac_cv_prog_LIPO" |
| 8412 fi |
| 8413 |
| 8414 if test -n "$ac_tool_prefix"; then |
| 8415 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program n
ame with args. |
| 8416 set dummy ${ac_tool_prefix}otool; ac_word=$2 |
| 8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8418 $as_echo_n "checking for $ac_word... " >&6; } |
| 8419 if ${ac_cv_prog_OTOOL+:} false; then : |
| 8420 $as_echo_n "(cached) " >&6 |
| 8421 else |
| 8422 if test -n "$OTOOL"; then |
| 8423 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
| 8424 else |
| 8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8426 for as_dir in $PATH |
| 8427 do |
| 8428 IFS=$as_save_IFS |
| 8429 test -z "$as_dir" && as_dir=. |
| 8430 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8432 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
| 8433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8434 break 2 |
| 8435 fi |
| 8436 done |
| 8437 done |
| 8438 IFS=$as_save_IFS |
| 8439 |
| 8440 fi |
| 8441 fi |
| 8442 OTOOL=$ac_cv_prog_OTOOL |
| 8443 if test -n "$OTOOL"; then |
| 8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
| 8445 $as_echo "$OTOOL" >&6; } |
| 8446 else |
| 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8448 $as_echo "no" >&6; } |
| 8449 fi |
| 8450 |
| 8451 |
| 8452 fi |
| 8453 if test -z "$ac_cv_prog_OTOOL"; then |
| 8454 ac_ct_OTOOL=$OTOOL |
| 8455 # Extract the first word of "otool", so it can be a program name with args. |
| 8456 set dummy otool; ac_word=$2 |
| 8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8458 $as_echo_n "checking for $ac_word... " >&6; } |
| 8459 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
| 8460 $as_echo_n "(cached) " >&6 |
| 8461 else |
| 8462 if test -n "$ac_ct_OTOOL"; then |
| 8463 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
| 8464 else |
| 8465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8466 for as_dir in $PATH |
| 8467 do |
| 8468 IFS=$as_save_IFS |
| 8469 test -z "$as_dir" && as_dir=. |
| 8470 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8472 ac_cv_prog_ac_ct_OTOOL="otool" |
| 8473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8474 break 2 |
| 8475 fi |
| 8476 done |
| 8477 done |
| 8478 IFS=$as_save_IFS |
| 8479 |
| 8480 fi |
| 8481 fi |
| 8482 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
| 8483 if test -n "$ac_ct_OTOOL"; then |
| 8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
| 8485 $as_echo "$ac_ct_OTOOL" >&6; } |
| 8486 else |
| 8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8488 $as_echo "no" >&6; } |
| 8489 fi |
| 8490 |
| 8491 if test "x$ac_ct_OTOOL" = x; then |
| 8492 OTOOL=":" |
| 8493 else |
| 8494 case $cross_compiling:$ac_tool_warned in |
| 8495 yes:) |
| 8496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8498 ac_tool_warned=yes ;; |
| 8499 esac |
| 8500 OTOOL=$ac_ct_OTOOL |
| 8501 fi |
| 8502 else |
| 8503 OTOOL="$ac_cv_prog_OTOOL" |
| 8504 fi |
| 8505 |
| 8506 if test -n "$ac_tool_prefix"; then |
| 8507 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program
name with args. |
| 8508 set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
| 8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8510 $as_echo_n "checking for $ac_word... " >&6; } |
| 8511 if ${ac_cv_prog_OTOOL64+:} false; then : |
| 8512 $as_echo_n "(cached) " >&6 |
| 8513 else |
| 8514 if test -n "$OTOOL64"; then |
| 8515 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
| 8516 else |
| 8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8518 for as_dir in $PATH |
| 8519 do |
| 8520 IFS=$as_save_IFS |
| 8521 test -z "$as_dir" && as_dir=. |
| 8522 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8524 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
| 8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8526 break 2 |
| 8527 fi |
| 8528 done |
| 8529 done |
| 8530 IFS=$as_save_IFS |
| 8531 |
| 8532 fi |
| 8533 fi |
| 8534 OTOOL64=$ac_cv_prog_OTOOL64 |
| 8535 if test -n "$OTOOL64"; then |
| 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
| 8537 $as_echo "$OTOOL64" >&6; } |
| 8538 else |
| 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8540 $as_echo "no" >&6; } |
| 8541 fi |
| 8542 |
| 8543 |
| 8544 fi |
| 8545 if test -z "$ac_cv_prog_OTOOL64"; then |
| 8546 ac_ct_OTOOL64=$OTOOL64 |
| 8547 # Extract the first word of "otool64", so it can be a program name with args. |
| 8548 set dummy otool64; ac_word=$2 |
| 8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8550 $as_echo_n "checking for $ac_word... " >&6; } |
| 8551 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
| 8552 $as_echo_n "(cached) " >&6 |
| 8553 else |
| 8554 if test -n "$ac_ct_OTOOL64"; then |
| 8555 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
| 8556 else |
| 8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8558 for as_dir in $PATH |
| 8559 do |
| 8560 IFS=$as_save_IFS |
| 8561 test -z "$as_dir" && as_dir=. |
| 8562 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8564 ac_cv_prog_ac_ct_OTOOL64="otool64" |
| 8565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8566 break 2 |
| 8567 fi |
| 8568 done |
| 8569 done |
| 8570 IFS=$as_save_IFS |
| 8571 |
| 8572 fi |
| 8573 fi |
| 8574 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
| 8575 if test -n "$ac_ct_OTOOL64"; then |
| 8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
| 8577 $as_echo "$ac_ct_OTOOL64" >&6; } |
| 8578 else |
| 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8580 $as_echo "no" >&6; } |
| 8581 fi |
| 8582 |
| 8583 if test "x$ac_ct_OTOOL64" = x; then |
| 8584 OTOOL64=":" |
| 8585 else |
| 8586 case $cross_compiling:$ac_tool_warned in |
| 8587 yes:) |
| 8588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 8589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 8590 ac_tool_warned=yes ;; |
| 8591 esac |
| 8592 OTOOL64=$ac_ct_OTOOL64 |
| 8593 fi |
| 8594 else |
| 8595 OTOOL64="$ac_cv_prog_OTOOL64" |
| 8596 fi |
| 8597 |
| 8598 |
| 8599 |
10975 | 8600 |
10976 | 8601 |
10977 | 8602 |
10978 | 8603 |
10979 | 8604 |
10980 | 8605 |
10981 | 8606 |
10982 | 8607 |
10983 | 8608 |
10984 | 8609 |
10985 | 8610 |
10986 | 8611 |
10987 | 8612 |
10988 | 8613 |
10989 | 8614 |
10990 | 8615 |
10991 | 8616 |
10992 | 8617 |
10993 | 8618 |
10994 | 8619 |
10995 | 8620 |
10996 | 8621 |
10997 | 8622 |
10998 | 8623 |
10999 | 8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker
flag" >&5 |
11000 | 8625 $as_echo_n "checking for -single_module linker flag... " >&6; } |
11001 | 8626 if ${lt_cv_apple_cc_single_mod+:} false; then : |
11002 | 8627 $as_echo_n "(cached) " >&6 |
11003 | 8628 else |
11004 | 8629 lt_cv_apple_cc_single_mod=no |
11005 | 8630 if test -z "${LT_MULTI_MODULE}"; then |
11006 | 8631 » # By default we will add the -single_module flag. You can override |
11007 | 8632 » # by either setting the environment variable LT_MULTI_MODULE |
11008 | 8633 » # non-empty at configure time, or by adding -multi_module to the |
11009 | 8634 » # link flags. |
11010 | 8635 » rm -rf libconftest.dylib* |
11011 | 8636 » echo "int foo(void){return 1;}" > conftest.c |
11012 | 8637 » echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
11013 | 8638 -dynamiclib -Wl,-single_module conftest.c" >&5 |
11014 | 8639 » $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
11015 | 8640 » -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
11016 | 8641 _lt_result=$? |
11017 | 8642 » # If there is a non-empty error log, and "single_module" |
11018 | 8643 » # appears in it, assume the flag caused a linker warning |
11019 | 8644 if test -s conftest.err && $GREP single_module conftest.err; then |
11020 | 8645 » cat conftest.err >&5 |
11021 | 8646 » # Otherwise, if the output was created with a 0 exit code from |
11022 | 8647 » # the compiler, it worked. |
11023 | 8648 » elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
11024 | 8649 » lt_cv_apple_cc_single_mod=yes |
11025 | 8650 » else |
11026 | 8651 » cat conftest.err >&5 |
11027 | 8652 » fi |
11028 | 8653 » rm -rf libconftest.dylib* |
11029 | 8654 » rm -f conftest.* |
11030 | |
11031 | |
11032 | |
11033 | |
11034 | |
11035 | |
11036 | |
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 | |
11038 $as_echo_n "checking dynamic linker characteristics... " >&6; } | |
11039 | |
11040 if test yes = "$GCC"; then | |
11041 case $host_os in | |
11042 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; | |
11043 *) lt_awk_arg='/^libraries:/' ;; | |
11044 esac | |
11045 case $host_os in | |
11046 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; | |
11047 *) lt_sed_strip_eq='s|=/|/|g' ;; | |
11048 esac | |
11049 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 | |
11051 *\;*) | |
11052 # if the path contains ";" then we assume it to be the separator | |
11053 # otherwise default to the standard path separator (i.e. ":") - it is | |
11054 # assumed that no part of a normal pathname contains ";" but that should | |
11055 # okay in the real world where ";" in dirpaths is itself problematic. | |
11056 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | |
11057 ;; | |
11058 *) | |
11059 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` | |
11060 ;; | |
11061 esac | |
11062 # Ok, now we have the path, separated by spaces, we can step through it | |
11063 # and add multilib dir if necessary... | |
11064 lt_tmp_lt_search_path_spec= | |
11065 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/
dev/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 | |
11074 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" | |
11076 elif test -n "$lt_multi_os_dir"; then | |
11077 test -d "$lt_sys_path" && \ | |
11078 » lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | |
11079 fi | |
11080 done | |
11081 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | |
11082 BEGIN {RS = " "; FS = "/|\n";} { | |
11083 lt_foo = ""; | |
11084 lt_count = 0; | |
11085 for (lt_i = NF; lt_i > 0; lt_i--) { | |
11086 if ($lt_i != "" && $lt_i != ".") { | |
11087 if ($lt_i == "..") { | |
11088 lt_count++; | |
11089 } else { | |
11090 if (lt_count == 0) { | |
11091 lt_foo = "/" $lt_i lt_foo; | |
11092 } else { | |
11093 lt_count--; | |
11094 } | |
11095 } | |
11096 } | |
11097 } | |
11098 if (lt_foo != "") { lt_freq[lt_foo]++; } | |
11099 if (lt_freq[lt_foo] == 1) { print lt_foo; } | |
11100 }'` | |
11101 # AWK program above erroneously prepends '/' to C:/dos/paths | |
11102 # for these hosts. | |
11103 case $host_os in | |
11104 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | |
11105 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; | |
11106 esac | |
11107 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | |
11108 else | |
11109 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | |
11110 fi | |
11111 library_names_spec= | |
11112 libname_spec='lib$name' | |
11113 soname_spec= | |
11114 shrext_cmds=.so | |
11115 postinstall_cmds= | |
11116 postuninstall_cmds= | |
11117 finish_cmds= | |
11118 finish_eval= | |
11119 shlibpath_var= | |
11120 shlibpath_overrides_runpath=unknown | |
11121 version_type=none | |
11122 dynamic_linker="$host_os ld.so" | |
11123 sys_lib_dlsearch_path_spec="/lib /usr/lib" | |
11124 need_lib_prefix=unknown | |
11125 hardcode_into_libs=no | |
11126 | |
11127 # when you set need_version to no, make sure it does not cause -set_version | |
11128 # flags to be left without arguments | |
11129 need_version=unknown | |
11130 | |
11131 | |
11132 | |
11133 case $host_os in | |
11134 aix3*) | |
11135 version_type=linux # correct to gnu/linux during the next big refactor | |
11136 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' | |
11137 shlibpath_var=LIBPATH | |
11138 | |
11139 # AIX 3 has no versioning support, so we append a major version to the name. | |
11140 soname_spec='$libname$release$shared_ext$major' | |
11141 ;; | |
11142 | |
11143 aix[4-9]*) | |
11144 version_type=linux # correct to gnu/linux during the next big refactor | |
11145 need_lib_prefix=no | |
11146 need_version=no | |
11147 hardcode_into_libs=yes | |
11148 if test ia64 = "$host_cpu"; then | |
11149 # AIX 5 supports IA64 | |
11150 library_names_spec='$libname$release$shared_ext$major $libname$release$share
d_ext$versuffix $libname$shared_ext' | |
11151 shlibpath_var=LD_LIBRARY_PATH | |
11152 else | |
11153 # With GCC up to 2.95.x, collect2 would create an import file | |
11154 # for dependence libraries. The import file would start with | |
11155 # the line '#! .'. This would cause the generated library to | |
11156 # depend on '.', always an invalid library. This was fixed in | |
11157 # development snapshots of GCC prior to 3.0. | |
11158 case $host_os in | |
11159 aix4 | aix4.[01] | aix4.[01].*) | |
11160 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | |
11161 » echo ' yes ' | |
11162 » echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then | |
11163 » : | |
11164 else | |
11165 » can_build_shared=no | |
11166 fi | 8655 fi |
11167 ;; | 8656 fi |
11168 esac | 8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
11169 # Using Import Files as archive members, it is possible to support | 8658 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
11170 # filename-based versioning of shared library archives on AIX. While | 8659 |
11171 # this would work for both with and without runtime linking, it will | 8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list
linker flag" >&5 |
11172 # prevent static linking of such archives. So we do filename-based | 8661 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
11173 # shared library versioning with .so extension only, which is used | 8662 if ${lt_cv_ld_exported_symbols_list+:} false; then : |
11174 # when both runtime linking and shared linking is enabled. | 8663 $as_echo_n "(cached) " >&6 |
11175 # Unfortunately, runtime linking may impact performance, so we do | 8664 else |
11176 # not want this to be the default eventually. Also, we use the | 8665 lt_cv_ld_exported_symbols_list=no |
11177 # versioned .so libs for executables only if there is the -brtl | 8666 save_LDFLAGS=$LDFLAGS |
11178 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. | 8667 echo "_main" > conftest.sym |
11179 # To allow for filename-based versioning support, we need to create | 8668 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
11180 # libNAME.so.V as an archive file, containing: | 8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
11194 # collect2, so additional links can be useful in future. | |
11195 aix,yes) # traditional libtool | |
11196 dynamic_linker='AIX unversionable lib.so' | |
11197 # 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 | |
11199 # typical AIX shared libraries. | |
11200 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' | |
11201 ;; | |
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 | |
11205 # and later when we are not doing run time linking. | |
11206 library_names_spec='$libname$release.a $libname.a' | |
11207 soname_spec='$libname$release$shared_ext$major' | |
11208 ;; | |
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 | |
11234 fi | |
11235 ;; | |
11236 | |
11237 amigaos*) | |
11238 case $host_cpu in | |
11239 powerpc) | |
11240 # Since July 2007 AmigaOS4 officially supports .so libraries. | |
11241 # 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' | |
11243 ;; | |
11244 m68k) | |
11245 library_names_spec='$libname.ixlibrary $libname.a' | |
11246 # 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' | |
11248 ;; | |
11249 esac | |
11250 ;; | |
11251 | |
11252 beos*) | |
11253 library_names_spec='$libname$shared_ext' | |
11254 dynamic_linker="$host_os ld.so" | |
11255 shlibpath_var=LIBRARY_PATH | |
11256 ;; | |
11257 | |
11258 bsdi[45]*) | |
11259 version_type=linux # correct to gnu/linux during the next big refactor | |
11260 need_version=no | |
11261 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11262 soname_spec='$libname$release$shared_ext$major' | |
11263 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | |
11264 shlibpath_var=LD_LIBRARY_PATH | |
11265 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" | |
11267 # 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 | |
11269 # libtool to hard-code these into programs | |
11270 ;; | |
11271 | |
11272 cygwin* | mingw* | pw32* | cegcc*) | |
11273 version_type=windows | |
11274 shrext_cmds=.dll | |
11275 need_version=no | |
11276 need_lib_prefix=no | |
11277 | |
11278 case $GCC,$cc_basename in | |
11279 yes,*) | |
11280 # gcc | |
11281 library_names_spec='$libname.dll.a' | |
11282 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
11283 postinstall_cmds='base_file=`basename \$file`~ | |
11284 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ | |
11285 dldir=$destdir/`dirname \$dlpath`~ | |
11286 test -d \$dldir || mkdir -p \$dldir~ | |
11287 $install_prog $dir/$dlname \$dldir/$dlname~ | |
11288 chmod a+x \$dldir/$dlname~ | |
11289 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | |
11290 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | |
11291 fi' | |
11292 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
11293 dlpath=$dir/\$dldll~ | |
11294 $RM \$dlpath' | |
11295 shlibpath_overrides_runpath=yes | |
11296 | |
11297 case $host_os in | |
11298 cygwin*) | |
11299 # 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' | |
11301 | |
11302 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | |
11303 ;; | |
11304 mingw* | cegcc*) | |
11305 # MinGW DLLs use traditional 'lib' prefix | |
11306 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$share
d_ext' | |
11307 ;; | |
11308 pw32*) | |
11309 # 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' | |
11311 ;; | |
11312 esac | |
11313 dynamic_linker='Win32 ld.exe' | |
11314 ;; | |
11315 | |
11316 *,cl*) | |
11317 # Native MSVC | |
11318 libname_spec='$name' | |
11319 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_
ext' | |
11320 library_names_spec='$libname.dll.lib' | |
11321 | |
11322 case $build_os in | |
11323 mingw*) | |
11324 sys_lib_search_path_spec= | |
11325 lt_save_ifs=$IFS | |
11326 IFS=';' | |
11327 for lt_path in $LIB | |
11328 do | |
11329 IFS=$lt_save_ifs | |
11330 # 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"` | |
11332 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | |
11333 done | |
11334 IFS=$lt_save_ifs | |
11335 # 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|^ ||'` | |
11337 ;; | |
11338 cygwin*) | |
11339 # 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 | |
11341 # like /cygdrive/c/PROGRA~1:/cygdr... | |
11342 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` | |
11344 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` | |
11345 ;; | |
11346 *) | |
11347 sys_lib_search_path_spec=$LIB | |
11348 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the
n | |
11349 # It is most probably a Windows format PATH. | |
11350 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` | |
11351 else | |
11352 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` | |
11353 fi | |
11354 # FIXME: find the short name or the path components, as spaces are | |
11355 # common. (e.g. "Program Files" -> "PROGRA~1") | |
11356 ;; | |
11357 esac | |
11358 | |
11359 # DLL is installed to $(libdir)/../bin by postinstall_cmds | |
11360 postinstall_cmds='base_file=`basename \$file`~ | |
11361 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ | |
11362 dldir=$destdir/`dirname \$dlpath`~ | |
11363 test -d \$dldir || mkdir -p \$dldir~ | |
11364 $install_prog $dir/$dlname \$dldir/$dlname' | |
11365 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | |
11366 dlpath=$dir/\$dldll~ | |
11367 $RM \$dlpath' | |
11368 shlibpath_overrides_runpath=yes | |
11369 dynamic_linker='Win32 link.exe' | |
11370 ;; | |
11371 | |
11372 *) | |
11373 # Assume MSVC wrapper | |
11374 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$
shared_ext $libname.lib' | |
11375 dynamic_linker='Win32 ld.exe' | |
11376 ;; | |
11377 esac | |
11378 # FIXME: first we should search . and the directory the executable is in | |
11379 shlibpath_var=PATH | |
11380 ;; | |
11381 | |
11382 darwin* | rhapsody*) | |
11383 dynamic_linker="$host_os dyld" | |
11384 version_type=darwin | |
11385 need_lib_prefix=no | |
11386 need_version=no | |
11387 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' | |
11388 soname_spec='$libname$release$major$shared_ext' | |
11389 shlibpath_overrides_runpath=yes | |
11390 shlibpath_var=DYLD_LIBRARY_PATH | |
11391 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | |
11392 | |
11393 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' | |
11395 ;; | |
11396 | |
11397 dgux*) | |
11398 version_type=linux # correct to gnu/linux during the next big refactor | |
11399 need_lib_prefix=no | |
11400 need_version=no | |
11401 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11402 soname_spec='$libname$release$shared_ext$major' | |
11403 shlibpath_var=LD_LIBRARY_PATH | |
11404 ;; | |
11405 | |
11406 freebsd* | dragonfly*) | |
11407 # DragonFly does not have aout. When/if they implement a new | |
11408 # versioning mechanism, adjust this. | |
11409 if test -x /usr/bin/objformat; then | |
11410 objformat=`/usr/bin/objformat` | |
11411 else | |
11412 case $host_os in | |
11413 freebsd[23].*) objformat=aout ;; | |
11414 *) objformat=elf ;; | |
11415 esac | |
11416 fi | |
11417 version_type=freebsd-$objformat | |
11418 case $version_type in | |
11419 freebsd-elf*) | |
11420 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' | |
11421 soname_spec='$libname$release$shared_ext$major' | |
11422 need_version=no | |
11423 need_lib_prefix=no | |
11424 ;; | |
11425 freebsd-*) | |
11426 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_
ext$versuffix' | |
11427 need_version=yes | |
11428 ;; | |
11429 esac | |
11430 shlibpath_var=LD_LIBRARY_PATH | |
11431 case $host_os in | |
11432 freebsd2.*) | |
11433 shlibpath_overrides_runpath=yes | |
11434 ;; | |
11435 freebsd3.[01]* | freebsdelf3.[01]*) | |
11436 shlibpath_overrides_runpath=yes | |
11437 hardcode_into_libs=yes | |
11438 ;; | |
11439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | |
11440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | |
11441 shlibpath_overrides_runpath=no | |
11442 hardcode_into_libs=yes | |
11443 ;; | |
11444 *) # from 4.6 on, and DragonFly | |
11445 shlibpath_overrides_runpath=yes | |
11446 hardcode_into_libs=yes | |
11447 ;; | |
11448 esac | |
11449 ;; | |
11450 | |
11451 haiku*) | |
11452 version_type=linux # correct to gnu/linux during the next big refactor | |
11453 need_lib_prefix=no | |
11454 need_version=no | |
11455 dynamic_linker="$host_os runtime_loader" | |
11456 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11457 soname_spec='$libname$release$shared_ext$major' | |
11458 shlibpath_var=LIBRARY_PATH | |
11459 shlibpath_overrides_runpath=no | |
11460 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' | |
11461 hardcode_into_libs=yes | |
11462 ;; | |
11463 | |
11464 hpux9* | hpux10* | hpux11*) | |
11465 # Give a soname corresponding to the major version so that dld.sl refuses to | |
11466 # link against other versions. | |
11467 version_type=sunos | |
11468 need_lib_prefix=no | |
11469 need_version=no | |
11470 case $host_cpu in | |
11471 ia64*) | |
11472 shrext_cmds='.so' | |
11473 hardcode_into_libs=yes | |
11474 dynamic_linker="$host_os dld.so" | |
11475 shlibpath_var=LD_LIBRARY_PATH | |
11476 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' | |
11478 soname_spec='$libname$release$shared_ext$major' | |
11479 if test 32 = "$HPUX_IA64_MODE"; then | |
11480 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 | |
11483 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |
11484 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 | |
11485 fi | |
11486 ;; | |
11487 hppa*64*) | |
11488 shrext_cmds='.sl' | |
11489 hardcode_into_libs=yes | |
11490 dynamic_linker="$host_os dld.sl" | |
11491 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |
11492 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' | |
11494 soname_spec='$libname$release$shared_ext$major' | |
11495 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 | |
11497 ;; | |
11498 *) | |
11499 shrext_cmds='.sl' | |
11500 dynamic_linker="$host_os dld.sl" | |
11501 shlibpath_var=SHLIB_PATH | |
11502 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' | |
11504 soname_spec='$libname$release$shared_ext$major' | |
11505 ;; | |
11506 esac | |
11507 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | |
11508 postinstall_cmds='chmod 555 $lib' | |
11509 # or fails outright, so override atomically: | |
11510 install_override_mode=555 | |
11511 ;; | |
11512 | |
11513 interix[3-9]*) | |
11514 version_type=linux # correct to gnu/linux during the next big refactor | |
11515 need_lib_prefix=no | |
11516 need_version=no | |
11517 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11518 soname_spec='$libname$release$shared_ext$major' | |
11519 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | |
11520 shlibpath_var=LD_LIBRARY_PATH | |
11521 shlibpath_overrides_runpath=no | |
11522 hardcode_into_libs=yes | |
11523 ;; | |
11524 | |
11525 irix5* | irix6* | nonstopux*) | |
11526 case $host_os in | |
11527 nonstopux*) version_type=nonstopux ;; | |
11528 *) | |
11529 if test yes = "$lt_cv_prog_gnu_ld"; then | |
11530 version_type=linux # correct to gnu/linux during the next big re
factor | |
11531 else | |
11532 version_type=irix | |
11533 fi ;; | |
11534 esac | |
11535 need_lib_prefix=no | |
11536 need_version=no | |
11537 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' | |
11539 case $host_os in | |
11540 irix5* | nonstopux*) | |
11541 libsuff= shlibsuff= | |
11542 ;; | |
11543 *) | |
11544 case $LD in # libtool.m4 will add one of these switches to LD | |
11545 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | |
11546 libsuff= shlibsuff= libmagic=32-bit;; | |
11547 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | |
11548 libsuff=32 shlibsuff=N32 libmagic=N32;; | |
11549 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | |
11550 libsuff=64 shlibsuff=64 libmagic=64-bit;; | |
11551 *) libsuff= shlibsuff= libmagic=never-match;; | |
11552 esac | |
11553 ;; | |
11554 esac | |
11555 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | |
11556 shlibpath_overrides_runpath=no | |
11557 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff
" | |
11558 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" | |
11559 hardcode_into_libs=yes | |
11560 ;; | |
11561 | |
11562 # No shared lib support for Linux oldld, aout, or coff. | |
11563 linux*oldld* | linux*aout* | linux*coff*) | |
11564 dynamic_linker=no | |
11565 ;; | |
11566 | |
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. | |
11588 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | |
11589 version_type=linux # correct to gnu/linux during the next big refactor | |
11590 need_lib_prefix=no | |
11591 need_version=no | |
11592 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11593 soname_spec='$libname$release$shared_ext$major' | |
11594 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | |
11595 shlibpath_var=LD_LIBRARY_PATH | |
11596 shlibpath_overrides_runpath=no | |
11597 | |
11598 # Some binutils ld are patched to set DT_RUNPATH | |
11599 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | |
11600 $as_echo_n "(cached) " >&6 | |
11601 else | |
11602 lt_cv_shlibpath_overrides_runpath=no | |
11603 save_LDFLAGS=$LDFLAGS | |
11604 save_libdir=$libdir | |
11605 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | |
11606 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | |
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
11608 /* end confdefs.h. */ | 8670 /* end confdefs.h. */ |
11609 | 8671 |
11610 int | 8672 int |
11611 main () | 8673 main () |
11612 { | 8674 { |
11613 | 8675 |
11614 ; | 8676 ; |
11615 return 0; | 8677 return 0; |
11616 } | 8678 } |
11617 _ACEOF | 8679 _ACEOF |
11618 if ac_fn_c_try_link "$LINENO"; then : | 8680 if ac_fn_c_try_link "$LINENO"; then : |
11619 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/d
ev/null; then : | 8681 lt_cv_ld_exported_symbols_list=yes |
11620 lt_cv_shlibpath_overrides_runpath=yes | 8682 else |
11621 fi | 8683 lt_cv_ld_exported_symbols_list=no |
11622 fi | 8684 fi |
11623 rm -f core conftest.err conftest.$ac_objext \ | 8685 rm -f core conftest.err conftest.$ac_objext \ |
11624 conftest$ac_exeext conftest.$ac_ext | 8686 conftest$ac_exeext conftest.$ac_ext |
11625 LDFLAGS=$save_LDFLAGS | 8687 » LDFLAGS="$save_LDFLAGS" |
11626 libdir=$save_libdir | 8688 |
11627 | 8689 fi |
11628 fi | 8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list
" >&5 |
11629 | 8691 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
11630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 8692 |
11631 | 8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker fla
g" >&5 |
11632 # This implies no fast_install, which is unacceptable. | 8694 $as_echo_n "checking for -force_load linker flag... " >&6; } |
11633 # Some rework will be needed to allow for fast_install | 8695 if ${lt_cv_ld_force_load+:} false; then : |
11634 # before this can be enabled. | 8696 $as_echo_n "(cached) " >&6 |
11635 hardcode_into_libs=yes | 8697 else |
11636 | 8698 lt_cv_ld_force_load=no |
11637 # Add ABI-specific directories to the system library path. | 8699 cat > conftest.c << _LT_EOF |
11638 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | 8700 int forced_loaded() { return 2;} |
11639 | 8701 _LT_EOF |
11640 # Ideally, we could use ldconfig to report *all* directores which are | 8702 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
11641 # searched for libraries, however this is still not possible. Aside from not | 8703 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
11642 # being certain /sbin/ldconfig is available, command | 8704 echo "$AR cru libconftest.a conftest.o" >&5 |
11643 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, | 8705 $AR cru libconftest.a conftest.o 2>&5 |
11644 # even though it is searched at run-time. Try to do the best guess by | 8706 echo "$RANLIB libconftest.a" >&5 |
11645 # appending ld.so.conf contents (and includes) to the search path. | 8707 $RANLIB libconftest.a 2>&5 |
11646 if test -f /etc/ld.so.conf; then | 8708 cat > conftest.c << _LT_EOF |
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' ' '` | 8709 int main() { return 0;} |
11648 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | 8710 _LT_EOF |
11649 fi | 8711 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&5 |
11650 | 8712 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err |
11651 # We used to test for /lib/ld.so.1 and disable shared libraries on | 8713 _lt_result=$? |
11652 # powerpc, because MkLinux only supported shared libraries with the | 8714 if test -s conftest.err && $GREP force_load conftest.err; then |
11653 # GNU dynamic linker. Since this was broken with cross compilers, | 8715 » cat conftest.err >&5 |
11654 # most powerpc-linux boxes support dynamic linking these days and | 8716 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conft
est >/dev/null 2>&1 ; then |
11655 # people can always --disable-shared, the test was removed, and we | 8717 » lt_cv_ld_force_load=yes |
11656 # assume the GNU/Linux dynamic linker is in use. | 8718 else |
11657 dynamic_linker='GNU/Linux ld.so' | 8719 » cat conftest.err >&5 |
11658 ;; | 8720 fi |
11659 | 8721 rm -f conftest.err libconftest.a conftest conftest.c |
11660 netbsd*) | 8722 rm -rf conftest.dSYM |
11661 version_type=sunos | 8723 |
11662 need_lib_prefix=no | 8724 fi |
11663 need_version=no | 8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
11664 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 8726 $as_echo "$lt_cv_ld_force_load" >&6; } |
11665 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex
t$versuffix' | 8727 case $host_os in |
11666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 8728 rhapsody* | darwin1.[012]) |
11667 dynamic_linker='NetBSD (a.out) ld.so' | 8729 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 8730 darwin1.*) |
| 8731 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres
s' ;; |
| 8732 darwin*) # darwin 5.x on |
| 8733 # if running on 10.5 or later, the deployment target defaults |
| 8734 # to the OS version, if on x86, and 10.4, the deployment |
| 8735 # target defaults to 10.4. Don't you love it? |
| 8736 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 8737 » 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
| 8738 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 8739 » 10.[012]*) |
| 8740 » _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup
press' ;; |
| 8741 » 10.*) |
| 8742 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 8743 esac |
| 8744 ;; |
| 8745 esac |
| 8746 if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
| 8747 _lt_dar_single_mod='$single_module' |
| 8748 fi |
| 8749 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 8750 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' |
| 8751 else |
| 8752 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym
${lib}' |
| 8753 fi |
| 8754 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 8755 _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 8756 else |
| 8757 _lt_dsymutil= |
| 8758 fi |
| 8759 ;; |
| 8760 esac |
| 8761 |
| 8762 for ac_header in dlfcn.h |
| 8763 do : |
| 8764 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i
ncludes_default |
| 8765 " |
| 8766 if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
| 8767 cat >>confdefs.h <<_ACEOF |
| 8768 #define HAVE_DLFCN_H 1 |
| 8769 _ACEOF |
| 8770 |
| 8771 fi |
| 8772 |
| 8773 done |
| 8774 |
| 8775 |
| 8776 |
| 8777 |
| 8778 |
| 8779 # Set options |
| 8780 enable_win32_dll=yes |
| 8781 |
| 8782 case $host in |
| 8783 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) |
| 8784 if test -n "$ac_tool_prefix"; then |
| 8785 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name
with args. |
| 8786 set dummy ${ac_tool_prefix}as; ac_word=$2 |
| 8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8788 $as_echo_n "checking for $ac_word... " >&6; } |
| 8789 if ${ac_cv_prog_AS+:} false; then : |
| 8790 $as_echo_n "(cached) " >&6 |
| 8791 else |
| 8792 if test -n "$AS"; then |
| 8793 ac_cv_prog_AS="$AS" # Let the user override the test. |
| 8794 else |
| 8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8796 for as_dir in $PATH |
| 8797 do |
| 8798 IFS=$as_save_IFS |
| 8799 test -z "$as_dir" && as_dir=. |
| 8800 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8802 ac_cv_prog_AS="${ac_tool_prefix}as" |
| 8803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8804 break 2 |
| 8805 fi |
| 8806 done |
| 8807 done |
| 8808 IFS=$as_save_IFS |
| 8809 |
| 8810 fi |
| 8811 fi |
| 8812 AS=$ac_cv_prog_AS |
| 8813 if test -n "$AS"; then |
| 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 |
| 8815 $as_echo "$AS" >&6; } |
| 8816 else |
| 8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8818 $as_echo "no" >&6; } |
| 8819 fi |
| 8820 |
| 8821 |
| 8822 fi |
| 8823 if test -z "$ac_cv_prog_AS"; then |
| 8824 ac_ct_AS=$AS |
| 8825 # Extract the first word of "as", so it can be a program name with args. |
| 8826 set dummy as; ac_word=$2 |
| 8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8828 $as_echo_n "checking for $ac_word... " >&6; } |
| 8829 if ${ac_cv_prog_ac_ct_AS+:} false; then : |
| 8830 $as_echo_n "(cached) " >&6 |
| 8831 else |
| 8832 if test -n "$ac_ct_AS"; then |
| 8833 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
| 8834 else |
| 8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8836 for as_dir in $PATH |
| 8837 do |
| 8838 IFS=$as_save_IFS |
| 8839 test -z "$as_dir" && as_dir=. |
| 8840 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8842 ac_cv_prog_ac_ct_AS="as" |
| 8843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8844 break 2 |
| 8845 fi |
| 8846 done |
| 8847 done |
| 8848 IFS=$as_save_IFS |
| 8849 |
| 8850 fi |
| 8851 fi |
| 8852 ac_ct_AS=$ac_cv_prog_ac_ct_AS |
| 8853 if test -n "$ac_ct_AS"; then |
| 8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 |
| 8855 $as_echo "$ac_ct_AS" >&6; } |
| 8856 else |
| 8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8858 $as_echo "no" >&6; } |
| 8859 fi |
| 8860 |
| 8861 if test "x$ac_ct_AS" = x; then |
| 8862 AS="false" |
11668 else | 8863 else |
11669 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' | 8864 case $cross_compiling:$ac_tool_warned in |
11670 soname_spec='$libname$release$shared_ext$major' | 8865 yes:) |
11671 dynamic_linker='NetBSD ld.elf_so' | 8866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
11672 fi | 8867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
11673 shlibpath_var=LD_LIBRARY_PATH | 8868 ac_tool_warned=yes ;; |
11674 shlibpath_overrides_runpath=yes | 8869 esac |
11675 hardcode_into_libs=yes | 8870 AS=$ac_ct_AS |
11676 ;; | 8871 fi |
11677 | 8872 else |
11678 newsos6) | 8873 AS="$ac_cv_prog_AS" |
11679 version_type=linux # correct to gnu/linux during the next big refactor | 8874 fi |
11680 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 8875 |
11681 shlibpath_var=LD_LIBRARY_PATH | 8876 if test -n "$ac_tool_prefix"; then |
11682 shlibpath_overrides_runpath=yes | 8877 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program
name with args. |
11683 ;; | 8878 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
11684 | 8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11685 *nto* | *qnx*) | 8880 $as_echo_n "checking for $ac_word... " >&6; } |
11686 version_type=qnx | 8881 if ${ac_cv_prog_DLLTOOL+:} false; then : |
11687 need_lib_prefix=no | 8882 $as_echo_n "(cached) " >&6 |
11688 need_version=no | 8883 else |
11689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 8884 if test -n "$DLLTOOL"; then |
11690 soname_spec='$libname$release$shared_ext$major' | 8885 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
11691 shlibpath_var=LD_LIBRARY_PATH | 8886 else |
11692 shlibpath_overrides_runpath=no | 8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11693 hardcode_into_libs=yes | 8888 for as_dir in $PATH |
11694 dynamic_linker='ldqnx.so' | 8889 do |
11695 ;; | 8890 IFS=$as_save_IFS |
11696 | 8891 test -z "$as_dir" && as_dir=. |
11697 openbsd* | bitrig*) | 8892 for ac_exec_ext in '' $ac_executable_extensions; do |
11698 version_type=sunos | 8893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
11699 sys_lib_dlsearch_path_spec=/usr/lib | 8894 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
11700 need_lib_prefix=no | 8895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
11701 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then | 8896 break 2 |
11702 need_version=no | 8897 fi |
| 8898 done |
| 8899 done |
| 8900 IFS=$as_save_IFS |
| 8901 |
| 8902 fi |
| 8903 fi |
| 8904 DLLTOOL=$ac_cv_prog_DLLTOOL |
| 8905 if test -n "$DLLTOOL"; then |
| 8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
| 8907 $as_echo "$DLLTOOL" >&6; } |
| 8908 else |
| 8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8910 $as_echo "no" >&6; } |
| 8911 fi |
| 8912 |
| 8913 |
| 8914 fi |
| 8915 if test -z "$ac_cv_prog_DLLTOOL"; then |
| 8916 ac_ct_DLLTOOL=$DLLTOOL |
| 8917 # Extract the first word of "dlltool", so it can be a program name with args. |
| 8918 set dummy dlltool; ac_word=$2 |
| 8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 8920 $as_echo_n "checking for $ac_word... " >&6; } |
| 8921 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
| 8922 $as_echo_n "(cached) " >&6 |
| 8923 else |
| 8924 if test -n "$ac_ct_DLLTOOL"; then |
| 8925 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
| 8926 else |
| 8927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 8928 for as_dir in $PATH |
| 8929 do |
| 8930 IFS=$as_save_IFS |
| 8931 test -z "$as_dir" && as_dir=. |
| 8932 for ac_exec_ext in '' $ac_executable_extensions; do |
| 8933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 8934 ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
| 8935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 8936 break 2 |
| 8937 fi |
| 8938 done |
| 8939 done |
| 8940 IFS=$as_save_IFS |
| 8941 |
| 8942 fi |
| 8943 fi |
| 8944 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
| 8945 if test -n "$ac_ct_DLLTOOL"; then |
| 8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
| 8947 $as_echo "$ac_ct_DLLTOOL" >&6; } |
| 8948 else |
| 8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 8950 $as_echo "no" >&6; } |
| 8951 fi |
| 8952 |
| 8953 if test "x$ac_ct_DLLTOOL" = x; then |
| 8954 DLLTOOL="false" |
11703 else | 8955 else |
11704 need_version=yes | 8956 case $cross_compiling:$ac_tool_warned in |
11705 fi | 8957 yes:) |
11706 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' | 8958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
11707 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 8959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
11708 shlibpath_var=LD_LIBRARY_PATH | 8960 ac_tool_warned=yes ;; |
11709 shlibpath_overrides_runpath=yes | 8961 esac |
11710 ;; | 8962 DLLTOOL=$ac_ct_DLLTOOL |
11711 | 8963 fi |
11712 os2*) | 8964 else |
11713 libname_spec='$name' | 8965 DLLTOOL="$ac_cv_prog_DLLTOOL" |
11714 version_type=windows | 8966 fi |
11715 shrext_cmds=.dll | 8967 |
11716 need_version=no | 8968 if test -n "$ac_tool_prefix"; then |
11717 need_lib_prefix=no | 8969 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program
name with args. |
11718 # OS/2 can only load a DLL with a base name of 8 characters or less. | 8970 set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
11719 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; | 8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11720 v=$($ECHO $release$versuffix | tr -d .-); | 8972 $as_echo_n "checking for $ac_word... " >&6; } |
11721 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); | 8973 if ${ac_cv_prog_OBJDUMP+:} false; then : |
11722 $ECHO $n$v`$shared_ext' | 8974 $as_echo_n "(cached) " >&6 |
11723 library_names_spec='${libname}_dll.$libext' | 8975 else |
11724 dynamic_linker='OS/2 ld.exe' | 8976 if test -n "$OBJDUMP"; then |
11725 shlibpath_var=BEGINLIBPATH | 8977 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
11726 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 8978 else |
11727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11728 postinstall_cmds='base_file=`basename \$file`~ | 8980 for as_dir in $PATH |
11729 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ | 8981 do |
11730 dldir=$destdir/`dirname \$dlpath`~ | 8982 IFS=$as_save_IFS |
11731 test -d \$dldir || mkdir -p \$dldir~ | 8983 test -z "$as_dir" && as_dir=. |
11732 $install_prog $dir/$dlname \$dldir/$dlname~ | 8984 for ac_exec_ext in '' $ac_executable_extensions; do |
11733 chmod a+x \$dldir/$dlname~ | 8985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
11734 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 8986 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
11735 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
11736 fi' | 8988 break 2 |
11737 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ | 8989 fi |
11738 dlpath=$dir/\$dldll~ | 8990 done |
11739 $RM \$dlpath' | 8991 done |
11740 ;; | 8992 IFS=$as_save_IFS |
11741 | 8993 |
11742 osf3* | osf4* | osf5*) | 8994 fi |
11743 version_type=osf | 8995 fi |
11744 need_lib_prefix=no | 8996 OBJDUMP=$ac_cv_prog_OBJDUMP |
11745 need_version=no | 8997 if test -n "$OBJDUMP"; then |
11746 soname_spec='$libname$release$shared_ext$major' | 8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
11747 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 8999 $as_echo "$OBJDUMP" >&6; } |
11748 shlibpath_var=LD_LIBRARY_PATH | 9000 else |
11749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" | 9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 9002 $as_echo "no" >&6; } |
11751 ;; | 9003 fi |
11752 | 9004 |
11753 rdos*) | 9005 |
11754 dynamic_linker=no | 9006 fi |
11755 ;; | 9007 if test -z "$ac_cv_prog_OBJDUMP"; then |
11756 | 9008 ac_ct_OBJDUMP=$OBJDUMP |
11757 solaris*) | 9009 # Extract the first word of "objdump", so it can be a program name with args. |
11758 version_type=linux # correct to gnu/linux during the next big refactor | 9010 set dummy objdump; ac_word=$2 |
11759 need_lib_prefix=no | 9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
11760 need_version=no | 9012 $as_echo_n "checking for $ac_word... " >&6; } |
11761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 9013 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
11762 soname_spec='$libname$release$shared_ext$major' | 9014 $as_echo_n "(cached) " >&6 |
11763 shlibpath_var=LD_LIBRARY_PATH | 9015 else |
11764 shlibpath_overrides_runpath=yes | 9016 if test -n "$ac_ct_OBJDUMP"; then |
11765 hardcode_into_libs=yes | 9017 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
11766 # ldd complains unless libraries are executable | 9018 else |
11767 postinstall_cmds='chmod +x $lib' | 9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11768 ;; | 9020 for as_dir in $PATH |
11769 | 9021 do |
11770 sunos4*) | 9022 IFS=$as_save_IFS |
11771 version_type=sunos | 9023 test -z "$as_dir" && as_dir=. |
11772 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' | 9024 for ac_exec_ext in '' $ac_executable_extensions; do |
11773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 9025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
11774 shlibpath_var=LD_LIBRARY_PATH | 9026 ac_cv_prog_ac_ct_OBJDUMP="objdump" |
11775 shlibpath_overrides_runpath=yes | 9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
11776 if test yes = "$with_gnu_ld"; then | 9028 break 2 |
11777 need_lib_prefix=no | 9029 fi |
11778 fi | 9030 done |
11779 need_version=yes | 9031 done |
11780 ;; | 9032 IFS=$as_save_IFS |
11781 | 9033 |
11782 sysv4 | sysv4.3*) | 9034 fi |
11783 version_type=linux # correct to gnu/linux during the next big refactor | 9035 fi |
11784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | 9036 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
11785 soname_spec='$libname$release$shared_ext$major' | 9037 if test -n "$ac_ct_OBJDUMP"; then |
11786 shlibpath_var=LD_LIBRARY_PATH | 9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
11787 case $host_vendor in | 9039 $as_echo "$ac_ct_OBJDUMP" >&6; } |
11788 sni) | 9040 else |
11789 shlibpath_overrides_runpath=no | 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11790 need_lib_prefix=no | 9042 $as_echo "no" >&6; } |
11791 runpath_var=LD_RUN_PATH | 9043 fi |
11792 ;; | 9044 |
11793 siemens) | 9045 if test "x$ac_ct_OBJDUMP" = x; then |
11794 need_lib_prefix=no | 9046 OBJDUMP="false" |
11795 ;; | |
11796 motorola) | |
11797 need_lib_prefix=no | |
11798 need_version=no | |
11799 shlibpath_overrides_runpath=no | |
11800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | |
11801 ;; | |
11802 esac | |
11803 ;; | |
11804 | |
11805 sysv4*MP*) | |
11806 if test -d /usr/nec; then | |
11807 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' | |
11809 soname_spec='$libname$shared_ext.$major' | |
11810 shlibpath_var=LD_LIBRARY_PATH | |
11811 fi | |
11812 ;; | |
11813 | |
11814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | |
11815 version_type=sco | |
11816 need_lib_prefix=no | |
11817 need_version=no | |
11818 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext $libname$shared_ext' | |
11819 soname_spec='$libname$release$shared_ext$major' | |
11820 shlibpath_var=LD_LIBRARY_PATH | |
11821 shlibpath_overrides_runpath=yes | |
11822 hardcode_into_libs=yes | |
11823 if test yes = "$with_gnu_ld"; then | |
11824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' | |
11825 else | 9047 else |
11826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 9048 case $cross_compiling:$ac_tool_warned in |
11827 case $host_os in | 9049 yes:) |
11828 sco3.2v5*) | 9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
11829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 9051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
11830 » ;; | 9052 ac_tool_warned=yes ;; |
11831 esac | 9053 esac |
11832 fi | 9054 OBJDUMP=$ac_ct_OBJDUMP |
11833 sys_lib_dlsearch_path_spec='/usr/lib' | 9055 fi |
11834 ;; | 9056 else |
11835 | 9057 OBJDUMP="$ac_cv_prog_OBJDUMP" |
11836 tpf*) | 9058 fi |
11837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | 9059 |
11838 version_type=linux # correct to gnu/linux during the next big refactor | |
11839 need_lib_prefix=no | |
11840 need_version=no | |
11841 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' | |
11842 shlibpath_var=LD_LIBRARY_PATH | |
11843 shlibpath_overrides_runpath=no | |
11844 hardcode_into_libs=yes | |
11845 ;; | |
11846 | |
11847 uts4*) | |
11848 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' | |
11850 soname_spec='$libname$release$shared_ext$major' | |
11851 shlibpath_var=LD_LIBRARY_PATH | |
11852 ;; | |
11853 | |
11854 *) | |
11855 dynamic_linker=no | |
11856 ;; | 9060 ;; |
11857 esac | 9061 esac |
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | 9062 |
11859 $as_echo "$dynamic_linker" >&6; } | 9063 test -z "$AS" && AS=as |
11860 test no = "$dynamic_linker" && can_build_shared=no | 9064 |
11861 | 9065 |
11862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 9066 |
11863 if test yes = "$GCC"; then | 9067 |
11864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | 9068 |
11865 fi | 9069 test -z "$DLLTOOL" && DLLTOOL=dlltool |
11866 | 9070 |
11867 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then | 9071 |
11868 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec | 9072 |
11869 fi | 9073 |
11870 | 9074 |
11871 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then | 9075 test -z "$OBJDUMP" && OBJDUMP=objdump |
11872 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec | 9076 |
11873 fi | 9077 |
11874 | 9078 |
11875 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... | 9079 |
11876 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec | 9080 |
11877 | 9081 |
11878 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code | 9082 |
11879 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" | 9083 enable_dlopen=no |
11880 | 9084 |
11881 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool | 9085 |
11882 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH | 9086 |
11883 | 9087 # Check whether --enable-shared was given. |
11884 | 9088 if test "${enable_shared+set}" = set; then : |
11885 | 9089 enableval=$enable_shared; p=${PACKAGE-default} |
| 9090 case $enableval in |
| 9091 yes) enable_shared=yes ;; |
| 9092 no) enable_shared=no ;; |
| 9093 *) |
| 9094 enable_shared=no |
| 9095 # Look at the argument we got. We use all the common list separators. |
| 9096 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9097 for pkg in $enableval; do |
| 9098 » IFS="$lt_save_ifs" |
| 9099 » if test "X$pkg" = "X$p"; then |
| 9100 » enable_shared=yes |
| 9101 » fi |
| 9102 done |
| 9103 IFS="$lt_save_ifs" |
| 9104 ;; |
| 9105 esac |
| 9106 else |
| 9107 enable_shared=yes |
| 9108 fi |
| 9109 |
| 9110 |
| 9111 |
| 9112 |
| 9113 |
| 9114 |
| 9115 |
| 9116 |
| 9117 |
| 9118 # Check whether --enable-static was given. |
| 9119 if test "${enable_static+set}" = set; then : |
| 9120 enableval=$enable_static; p=${PACKAGE-default} |
| 9121 case $enableval in |
| 9122 yes) enable_static=yes ;; |
| 9123 no) enable_static=no ;; |
| 9124 *) |
| 9125 enable_static=no |
| 9126 # Look at the argument we got. We use all the common list separators. |
| 9127 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9128 for pkg in $enableval; do |
| 9129 » IFS="$lt_save_ifs" |
| 9130 » if test "X$pkg" = "X$p"; then |
| 9131 » enable_static=yes |
| 9132 » fi |
| 9133 done |
| 9134 IFS="$lt_save_ifs" |
| 9135 ;; |
| 9136 esac |
| 9137 else |
| 9138 enable_static=yes |
| 9139 fi |
| 9140 |
| 9141 |
| 9142 |
| 9143 |
| 9144 |
| 9145 |
| 9146 |
| 9147 |
| 9148 |
| 9149 |
| 9150 # Check whether --with-pic was given. |
| 9151 if test "${with_pic+set}" = set; then : |
| 9152 withval=$with_pic; lt_p=${PACKAGE-default} |
| 9153 case $withval in |
| 9154 yes|no) pic_mode=$withval ;; |
| 9155 *) |
| 9156 pic_mode=default |
| 9157 # Look at the argument we got. We use all the common list separators. |
| 9158 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9159 for lt_pkg in $withval; do |
| 9160 » IFS="$lt_save_ifs" |
| 9161 » if test "X$lt_pkg" = "X$lt_p"; then |
| 9162 » pic_mode=yes |
| 9163 » fi |
| 9164 done |
| 9165 IFS="$lt_save_ifs" |
| 9166 ;; |
| 9167 esac |
| 9168 else |
| 9169 pic_mode=default |
| 9170 fi |
| 9171 |
| 9172 |
| 9173 test -z "$pic_mode" && pic_mode=default |
| 9174 |
| 9175 |
| 9176 |
| 9177 |
| 9178 |
| 9179 |
| 9180 |
| 9181 # Check whether --enable-fast-install was given. |
| 9182 if test "${enable_fast_install+set}" = set; then : |
| 9183 enableval=$enable_fast_install; p=${PACKAGE-default} |
| 9184 case $enableval in |
| 9185 yes) enable_fast_install=yes ;; |
| 9186 no) enable_fast_install=no ;; |
| 9187 *) |
| 9188 enable_fast_install=no |
| 9189 # Look at the argument we got. We use all the common list separators. |
| 9190 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| 9191 for pkg in $enableval; do |
| 9192 » IFS="$lt_save_ifs" |
| 9193 » if test "X$pkg" = "X$p"; then |
| 9194 » enable_fast_install=yes |
| 9195 » fi |
| 9196 done |
| 9197 IFS="$lt_save_ifs" |
| 9198 ;; |
| 9199 esac |
| 9200 else |
| 9201 enable_fast_install=yes |
| 9202 fi |
| 9203 |
| 9204 |
| 9205 |
| 9206 |
| 9207 |
| 9208 |
| 9209 |
| 9210 |
| 9211 |
| 9212 |
| 9213 |
| 9214 # This can be used to rebuild libtool when needed |
| 9215 LIBTOOL_DEPS="$ltmain" |
| 9216 |
| 9217 # Always use our own libtool. |
| 9218 LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 9219 |
| 9220 |
| 9221 |
| 9222 |
| 9223 |
| 9224 |
| 9225 |
| 9226 |
| 9227 |
| 9228 |
| 9229 |
| 9230 |
| 9231 |
| 9232 |
| 9233 |
| 9234 |
| 9235 |
| 9236 |
| 9237 |
| 9238 |
| 9239 |
| 9240 |
| 9241 |
| 9242 |
| 9243 |
| 9244 |
| 9245 |
| 9246 |
| 9247 |
| 9248 |
| 9249 test -z "$LN_S" && LN_S="ln -s" |
| 9250 |
| 9251 |
| 9252 |
| 9253 |
| 9254 |
| 9255 |
| 9256 |
11886 | 9257 |
11887 | 9258 |
11888 | 9259 |
11889 | 9260 |
11890 | 9261 |
11891 | 9262 |
11892 | 9263 |
11893 | 9264 if test -n "${ZSH_VERSION+set}" ; then |
11894 | 9265 setopt NO_GLOB_SUBST |
11895 | 9266 fi |
11896 | 9267 |
11897 | 9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
11898 | 9269 $as_echo_n "checking for objdir... " >&6; } |
11899 | 9270 if ${lt_cv_objdir+:} false; then : |
11900 | 9271 $as_echo_n "(cached) " >&6 |
11901 | 9272 else |
11902 | 9273 rm -f .libs 2>/dev/null |
11903 | 9274 mkdir .libs 2>/dev/null |
11904 | 9275 if test -d .libs; then |
11905 | 9276 lt_cv_objdir=.libs |
11906 | 9277 else |
11907 | 9278 # MS-DOS does not allow filenames that begin with a dot. |
11908 | 9279 lt_cv_objdir=_libs |
11909 | 9280 fi |
11910 | 9281 rmdir .libs 2>/dev/null |
11911 | 9282 fi |
11912 | 9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
11913 | 9284 $as_echo "$lt_cv_objdir" >&6; } |
11914 | 9285 objdir=$lt_cv_objdir |
11915 | 9286 |
11916 | 9287 |
11917 | 9288 |
11918 | 9289 |
11919 | 9290 |
11920 | 9291 cat >>confdefs.h <<_ACEOF |
11921 | 9292 #define LT_OBJDIR "$lt_cv_objdir/" |
11922 | 9293 _ACEOF |
11923 | 9294 |
11924 | 9295 |
11925 | 9296 |
11926 | 9297 |
11927 | 9298 case $host_os in |
11928 | 9299 aix3*) |
11929 | 9300 # AIX sometimes has problems with the GCC collect2 program. For some |
11930 | 9301 # reason, if we set the COLLECT_NAMES environment variable, the problems |
11931 | 9302 # vanish in a puff of smoke. |
11932 | 9303 if test "X${COLLECT_NAMES+set}" != Xset; then |
11933 | 9304 COLLECT_NAMES= |
11934 | 9305 export COLLECT_NAMES |
| 9306 fi |
| 9307 ;; |
| 9308 esac |
| 9309 |
| 9310 # Global variables: |
| 9311 ofile=libtool |
| 9312 can_build_shared=yes |
| 9313 |
| 9314 # All known linkers require a `.a' archive for static linking (except MSVC, |
| 9315 # which needs '.lib'). |
| 9316 libext=a |
| 9317 |
| 9318 with_gnu_ld="$lt_cv_prog_gnu_ld" |
| 9319 |
| 9320 old_CC="$CC" |
| 9321 old_CFLAGS="$CFLAGS" |
| 9322 |
| 9323 # Set sane defaults for various variables |
| 9324 test -z "$CC" && CC=cc |
| 9325 test -z "$LTCC" && LTCC=$CC |
| 9326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 9327 test -z "$LD" && LD=ld |
| 9328 test -z "$ac_objext" && ac_objext=o |
| 9329 |
| 9330 for cc_temp in $compiler""; do |
| 9331 case $cc_temp in |
| 9332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
| 9333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
| 9334 \-*) ;; |
| 9335 *) break;; |
| 9336 esac |
| 9337 done |
| 9338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 9339 |
| 9340 |
| 9341 # Only perform the check for file, if the check method requires it |
| 9342 test -z "$MAGIC_CMD" && MAGIC_CMD=file |
| 9343 case $deplibs_check_method in |
| 9344 file_magic*) |
| 9345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
| 9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file"
>&5 |
| 9347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
| 9348 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9349 $as_echo_n "(cached) " >&6 |
| 9350 else |
| 9351 case $MAGIC_CMD in |
| 9352 [\\/*] | ?:[\\/]*) |
| 9353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. |
| 9354 ;; |
| 9355 *) |
| 9356 lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9359 for ac_dir in $ac_dummy; do |
| 9360 IFS="$lt_save_ifs" |
| 9361 test -z "$ac_dir" && ac_dir=. |
| 9362 if test -f $ac_dir/${ac_tool_prefix}file; then |
| 9363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
| 9364 if test -n "$file_magic_test_file"; then |
| 9365 » case $deplibs_check_method in |
| 9366 » "file_magic "*) |
| 9367 » file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9368 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9369 » if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9370 » $EGREP "$file_magic_regex" > /dev/null; then |
| 9371 » : |
| 9372 » else |
| 9373 » cat <<_LT_EOF 1>&2 |
| 9374 |
| 9375 *** Warning: the command libtool uses to detect shared libraries, |
| 9376 *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 9377 *** The result is that libtool may fail to recognize shared libraries |
| 9378 *** as such. This will affect the creation of libtool libraries that |
| 9379 *** depend on shared libraries, but programs linked with such libtool |
| 9380 *** libraries will work regardless of this problem. Nevertheless, you |
| 9381 *** may want to report the problem to your system manager and/or to |
| 9382 *** bug-libtool@gnu.org |
| 9383 |
| 9384 _LT_EOF |
| 9385 » fi ;; |
| 9386 » esac |
| 9387 fi |
| 9388 break |
| 9389 fi |
| 9390 done |
| 9391 IFS="$lt_save_ifs" |
| 9392 MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9393 ;; |
| 9394 esac |
| 9395 fi |
| 9396 |
| 9397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9398 if test -n "$MAGIC_CMD"; then |
| 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9400 $as_echo "$MAGIC_CMD" >&6; } |
| 9401 else |
| 9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9403 $as_echo "no" >&6; } |
| 9404 fi |
| 9405 |
| 9406 |
| 9407 |
| 9408 |
| 9409 |
| 9410 if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 9411 if test -n "$ac_tool_prefix"; then |
| 9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
| 9413 $as_echo_n "checking for file... " >&6; } |
| 9414 if ${lt_cv_path_MAGIC_CMD+:} false; then : |
| 9415 $as_echo_n "(cached) " >&6 |
| 9416 else |
| 9417 case $MAGIC_CMD in |
| 9418 [\\/*] | ?:[\\/]*) |
| 9419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. |
| 9420 ;; |
| 9421 *) |
| 9422 lt_save_MAGIC_CMD="$MAGIC_CMD" |
| 9423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 9424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
| 9425 for ac_dir in $ac_dummy; do |
| 9426 IFS="$lt_save_ifs" |
| 9427 test -z "$ac_dir" && ac_dir=. |
| 9428 if test -f $ac_dir/file; then |
| 9429 lt_cv_path_MAGIC_CMD="$ac_dir/file" |
| 9430 if test -n "$file_magic_test_file"; then |
| 9431 » case $deplibs_check_method in |
| 9432 » "file_magic "*) |
| 9433 » file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 9434 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9435 » if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 9436 » $EGREP "$file_magic_regex" > /dev/null; then |
| 9437 » : |
| 9438 » else |
| 9439 » cat <<_LT_EOF 1>&2 |
| 9440 |
| 9441 *** Warning: the command libtool uses to detect shared libraries, |
| 9442 *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 9443 *** The result is that libtool may fail to recognize shared libraries |
| 9444 *** as such. This will affect the creation of libtool libraries that |
| 9445 *** depend on shared libraries, but programs linked with such libtool |
| 9446 *** libraries will work regardless of this problem. Nevertheless, you |
| 9447 *** may want to report the problem to your system manager and/or to |
| 9448 *** bug-libtool@gnu.org |
| 9449 |
| 9450 _LT_EOF |
| 9451 » fi ;; |
| 9452 » esac |
| 9453 fi |
| 9454 break |
| 9455 fi |
| 9456 done |
| 9457 IFS="$lt_save_ifs" |
| 9458 MAGIC_CMD="$lt_save_MAGIC_CMD" |
| 9459 ;; |
| 9460 esac |
| 9461 fi |
| 9462 |
| 9463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
| 9464 if test -n "$MAGIC_CMD"; then |
| 9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
| 9466 $as_echo "$MAGIC_CMD" >&6; } |
| 9467 else |
| 9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 9469 $as_echo "no" >&6; } |
| 9470 fi |
| 9471 |
| 9472 |
| 9473 else |
| 9474 MAGIC_CMD=: |
| 9475 fi |
| 9476 fi |
| 9477 |
| 9478 fi |
| 9479 ;; |
| 9480 esac |
| 9481 |
| 9482 # Use C for the default configuration in the libtool script |
| 9483 |
| 9484 lt_save_CC="$CC" |
| 9485 ac_ext=c |
| 9486 ac_cpp='$CPP $CPPFLAGS' |
| 9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 9490 |
| 9491 |
| 9492 # Source file extension for C test sources. |
| 9493 ac_ext=c |
| 9494 |
| 9495 # Object file extension for compiled C test sources. |
| 9496 objext=o |
| 9497 objext=$objext |
| 9498 |
| 9499 # Code to be used in simple compile tests |
| 9500 lt_simple_compile_test_code="int some_variable = 0;" |
| 9501 |
| 9502 # Code to be used in simple link tests |
| 9503 lt_simple_link_test_code='int main(){return(0);}' |
| 9504 |
| 9505 |
| 9506 |
11935 | 9507 |
11936 | 9508 |
11937 | 9509 |
11938 | 9510 |
11939 | 9511 # If no C compiler was specified, use CC. |
11940 | 9512 LTCC=${LTCC-"$CC"} |
11941 | 9513 |
11942 | 9514 # If no C compiler flags were specified, use CFLAGS. |
11943 | 9515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
11944 | 9516 |
11945 | 9517 # Allow CC to be a program name with arguments. |
11946 | 9518 compiler=$CC |
11947 | 9519 |
11948 | 9520 # Save the default compiler, since it gets overwritten when the other |
11949 | 9521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
11950 | 9522 compiler_DEFAULT=$CC |
11951 | 9523 |
11952 | 9524 # save warnings/boilerplate of simple test code |
11953 | 9525 ac_outfile=conftest.$ac_objext |
11954 | 9526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
11955 | 9527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
11956 | 9528 _lt_compiler_boilerplate=`cat conftest.err` |
11957 | 9529 $RM conftest* |
11958 | 9530 |
11959 | 9531 ac_outfile=conftest.$ac_objext |
11960 | 9532 echo "$lt_simple_link_test_code" >conftest.$ac_ext |
11961 | 9533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
11962 | 9534 _lt_linker_boilerplate=`cat conftest.err` |
11963 | 9535 $RM -r conftest* |
11964 | 9536 |
11965 | 9537 |
11966 | 9538 if test -n "$compiler"; then |
11967 | 9539 |
11968 | 9540 lt_prog_compiler_no_builtin_flag= |
11969 | 9541 |
11970 | 9542 if test "$GCC" = yes; then |
11971 | 9543 case $cc_basename in |
11972 | 9544 nvcc*) |
11973 | 9545 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
11974 | 9546 *) |
11975 | 9547 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
11976 | 9548 esac |
11977 | 9549 |
11978 | 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-r
tti -fno-exceptions" >&5 |
11979 | 9551 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 | 9552 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
11981 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | 9553 $as_echo_n "(cached) " >&6 |
11982 hardcode_action= | 9554 else |
11983 if test -n "$hardcode_libdir_flag_spec" || | 9555 lt_cv_prog_compiler_rtti_exceptions=no |
11984 test -n "$runpath_var" || | 9556 ac_outfile=conftest.$ac_objext |
11985 test yes = "$hardcode_automatic"; then | 9557 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
11986 | 9558 lt_compiler_flag="-fno-rtti -fno-exceptions" |
11987 # We can hardcode non-existent directories. | 9559 # Insert the option either (1) after the last *FLAGS variable, or |
11988 if test no != "$hardcode_direct" && | 9560 # (2) before a word containing "conftest.", or (3) at the end. |
11989 # If the only mechanism to avoid hardcoding is shlibpath_var, we | 9561 # Note that $ac_compile itself does not contain backslashes and begins |
11990 # have to relink, otherwise we might link with an installed library | 9562 # with a dollar sign (not a hyphen), so the echo should work correctly. |
11991 # when we should be linking with a yet-to-be-installed one | 9563 # The option is referenced via a variable to avoid confusing sed. |
11992 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && | 9564 lt_compile=`echo "$ac_compile" | $SED \ |
11993 test no != "$hardcode_minus_L"; then | 9565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
11994 # Linking always hardcodes the temporary library directory. | 9566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11995 hardcode_action=relink | 9567 -e 's:$: $lt_compiler_flag:'` |
| 9568 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 9569 (eval "$lt_compile" 2>conftest.err) |
| 9570 ac_status=$? |
| 9571 cat conftest.err >&5 |
| 9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9573 if (exit $ac_status) && test -s "$ac_outfile"; then |
| 9574 # The compiler can only warn and ignore the option if not recognized |
| 9575 # So say no if there are warnings other than the usual output. |
| 9576 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 9577 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9578 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n |
| 9579 lt_cv_prog_compiler_rtti_exceptions=yes |
| 9580 fi |
| 9581 fi |
| 9582 $RM conftest* |
| 9583 |
| 9584 fi |
| 9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_excep
tions" >&5 |
| 9586 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
| 9587 |
| 9588 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
| 9589 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtt
i -fno-exceptions" |
| 9590 else |
| 9591 : |
| 9592 fi |
| 9593 |
| 9594 fi |
| 9595 |
| 9596 |
| 9597 |
| 9598 |
| 9599 |
| 9600 |
| 9601 lt_prog_compiler_wl= |
| 9602 lt_prog_compiler_pic= |
| 9603 lt_prog_compiler_static= |
| 9604 |
| 9605 |
| 9606 if test "$GCC" = yes; then |
| 9607 lt_prog_compiler_wl='-Wl,' |
| 9608 lt_prog_compiler_static='-static' |
| 9609 |
| 9610 case $host_os in |
| 9611 aix*) |
| 9612 # All AIX code is PIC. |
| 9613 if test "$host_cpu" = ia64; then |
| 9614 » # AIX 5 now supports IA64 processor |
| 9615 » lt_prog_compiler_static='-Bstatic' |
| 9616 fi |
| 9617 ;; |
| 9618 |
| 9619 amigaos*) |
| 9620 case $host_cpu in |
| 9621 powerpc) |
| 9622 # see comment about AmigaOS4 .so support |
| 9623 lt_prog_compiler_pic='-fPIC' |
| 9624 ;; |
| 9625 m68k) |
| 9626 # FIXME: we need at least 68020 code to build shared libraries, but |
| 9627 # adding the `-m68020' flag to GCC prevents building anything better
, |
| 9628 # like `-m68040'. |
| 9629 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
| 9630 ;; |
| 9631 esac |
| 9632 ;; |
| 9633 |
| 9634 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 9635 # PIC is the default for these OSes. |
| 9636 ;; |
| 9637 |
| 9638 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9639 # This hack is so that the source file can tell whether it is being |
| 9640 # built for inclusion in a dll (and should export symbols for example). |
| 9641 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 9642 # (--disable-auto-import) libraries |
| 9643 lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9644 ;; |
| 9645 |
| 9646 darwin* | rhapsody*) |
| 9647 # PIC is the default on this platform |
| 9648 # Common symbols not allowed in MH_DYLIB files |
| 9649 lt_prog_compiler_pic='-fno-common' |
| 9650 ;; |
| 9651 |
| 9652 haiku*) |
| 9653 # PIC is the default for Haiku. |
| 9654 # The "-static" flag exists, but is broken. |
| 9655 lt_prog_compiler_static= |
| 9656 ;; |
| 9657 |
| 9658 hpux*) |
| 9659 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 9660 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 9661 # sets the default TLS model and affects inlining. |
| 9662 case $host_cpu in |
| 9663 hppa*64*) |
| 9664 » # +Z the default |
| 9665 » ;; |
| 9666 *) |
| 9667 » lt_prog_compiler_pic='-fPIC' |
| 9668 » ;; |
| 9669 esac |
| 9670 ;; |
| 9671 |
| 9672 interix[3-9]*) |
| 9673 # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 9674 # Instead, we relocate shared libraries at runtime. |
| 9675 ;; |
| 9676 |
| 9677 msdosdjgpp*) |
| 9678 # Just because we use GCC doesn't mean we suddenly get shared libraries |
| 9679 # on systems that don't support them. |
| 9680 lt_prog_compiler_can_build_shared=no |
| 9681 enable_shared=no |
| 9682 ;; |
| 9683 |
| 9684 *nto* | *qnx*) |
| 9685 # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 9686 # it will coredump. |
| 9687 lt_prog_compiler_pic='-fPIC -shared' |
| 9688 ;; |
| 9689 |
| 9690 sysv4*MP*) |
| 9691 if test -d /usr/nec; then |
| 9692 » lt_prog_compiler_pic=-Kconform_pic |
| 9693 fi |
| 9694 ;; |
| 9695 |
| 9696 *) |
| 9697 lt_prog_compiler_pic='-fPIC' |
| 9698 ;; |
| 9699 esac |
| 9700 |
| 9701 case $cc_basename in |
| 9702 nvcc*) # Cuda Compiler Driver 2.2 |
| 9703 lt_prog_compiler_wl='-Xlinker ' |
| 9704 if test -n "$lt_prog_compiler_pic"; then |
| 9705 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| 9706 fi |
| 9707 ;; |
| 9708 esac |
11996 else | 9709 else |
11997 # We can link without hardcoding, and we can hardcode nonexisting dirs. | 9710 # PORTME Check for flag to pass linker flags through the system compiler. |
11998 hardcode_action=immediate | 9711 case $host_os in |
| 9712 aix*) |
| 9713 lt_prog_compiler_wl='-Wl,' |
| 9714 if test "$host_cpu" = ia64; then |
| 9715 # AIX 5 now supports IA64 processor |
| 9716 lt_prog_compiler_static='-Bstatic' |
| 9717 else |
| 9718 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
| 9719 fi |
| 9720 ;; |
| 9721 |
| 9722 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 9723 # This hack is so that the source file can tell whether it is being |
| 9724 # built for inclusion in a dll (and should export symbols for example). |
| 9725 lt_prog_compiler_pic='-DDLL_EXPORT' |
| 9726 ;; |
| 9727 |
| 9728 hpux9* | hpux10* | hpux11*) |
| 9729 lt_prog_compiler_wl='-Wl,' |
| 9730 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 9731 # not for PA HP-UX. |
| 9732 case $host_cpu in |
| 9733 hppa*64*|ia64*) |
| 9734 # +Z the default |
| 9735 ;; |
| 9736 *) |
| 9737 lt_prog_compiler_pic='+Z' |
| 9738 ;; |
| 9739 esac |
| 9740 # Is there a better lt_prog_compiler_static that works with the bundled CC
? |
| 9741 lt_prog_compiler_static='${wl}-a ${wl}archive' |
| 9742 ;; |
| 9743 |
| 9744 irix5* | irix6* | nonstopux*) |
| 9745 lt_prog_compiler_wl='-Wl,' |
| 9746 # PIC (with -KPIC) is the default. |
| 9747 lt_prog_compiler_static='-non_shared' |
| 9748 ;; |
| 9749 |
| 9750 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 9751 case $cc_basename in |
| 9752 # old Intel for x86_64 which still supported -KPIC. |
| 9753 ecc*) |
| 9754 lt_prog_compiler_wl='-Wl,' |
| 9755 lt_prog_compiler_pic='-KPIC' |
| 9756 lt_prog_compiler_static='-static' |
| 9757 ;; |
| 9758 # icc used to be incompatible with GCC. |
| 9759 # ICC 10 doesn't accept -KPIC any more. |
| 9760 icc* | ifort*) |
| 9761 lt_prog_compiler_wl='-Wl,' |
| 9762 lt_prog_compiler_pic='-fPIC' |
| 9763 lt_prog_compiler_static='-static' |
| 9764 ;; |
| 9765 # Lahey Fortran 8.1. |
| 9766 lf95*) |
| 9767 lt_prog_compiler_wl='-Wl,' |
| 9768 lt_prog_compiler_pic='--shared' |
| 9769 lt_prog_compiler_static='--static' |
| 9770 ;; |
| 9771 nagfor*) |
| 9772 # NAG Fortran compiler |
| 9773 lt_prog_compiler_wl='-Wl,-Wl,,' |
| 9774 lt_prog_compiler_pic='-PIC' |
| 9775 lt_prog_compiler_static='-Bstatic' |
| 9776 ;; |
| 9777 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 9778 # Portland Group compilers (*not* the Pentium gcc compiler, |
| 9779 # which looks to be a dead project) |
| 9780 lt_prog_compiler_wl='-Wl,' |
| 9781 lt_prog_compiler_pic='-fpic' |
| 9782 lt_prog_compiler_static='-Bstatic' |
| 9783 ;; |
| 9784 ccc*) |
| 9785 lt_prog_compiler_wl='-Wl,' |
| 9786 # All Alpha code is PIC. |
| 9787 lt_prog_compiler_static='-non_shared' |
| 9788 ;; |
| 9789 xl* | bgxl* | bgf* | mpixl*) |
| 9790 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 9791 lt_prog_compiler_wl='-Wl,' |
| 9792 lt_prog_compiler_pic='-qpic' |
| 9793 lt_prog_compiler_static='-qstaticlink' |
| 9794 ;; |
| 9795 *) |
| 9796 case `$CC -V 2>&1 | sed 5q` in |
| 9797 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*
) |
| 9798 # Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 9799 lt_prog_compiler_pic='-KPIC' |
| 9800 lt_prog_compiler_static='-Bstatic' |
| 9801 lt_prog_compiler_wl='' |
| 9802 ;; |
| 9803 *Sun\ F* | *Sun*Fortran*) |
| 9804 lt_prog_compiler_pic='-KPIC' |
| 9805 lt_prog_compiler_static='-Bstatic' |
| 9806 lt_prog_compiler_wl='-Qoption ld ' |
| 9807 ;; |
| 9808 *Sun\ C*) |
| 9809 # Sun C 5.9 |
| 9810 lt_prog_compiler_pic='-KPIC' |
| 9811 lt_prog_compiler_static='-Bstatic' |
| 9812 lt_prog_compiler_wl='-Wl,' |
| 9813 ;; |
| 9814 *Intel*\ [CF]*Compiler*) |
| 9815 lt_prog_compiler_wl='-Wl,' |
| 9816 lt_prog_compiler_pic='-fPIC' |
| 9817 lt_prog_compiler_static='-static' |
| 9818 ;; |
| 9819 *Portland\ Group*) |
| 9820 lt_prog_compiler_wl='-Wl,' |
| 9821 lt_prog_compiler_pic='-fpic' |
| 9822 lt_prog_compiler_static='-Bstatic' |
| 9823 ;; |
| 9824 esac |
| 9825 ;; |
| 9826 esac |
| 9827 ;; |
| 9828 |
| 9829 newsos6) |
| 9830 lt_prog_compiler_pic='-KPIC' |
| 9831 lt_prog_compiler_static='-Bstatic' |
| 9832 ;; |
| 9833 |
| 9834 *nto* | *qnx*) |
| 9835 # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 9836 # it will coredump. |
| 9837 lt_prog_compiler_pic='-fPIC -shared' |
| 9838 ;; |
| 9839 |
| 9840 osf3* | osf4* | osf5*) |
| 9841 lt_prog_compiler_wl='-Wl,' |
| 9842 # All OSF/1 code is PIC. |
| 9843 lt_prog_compiler_static='-non_shared' |
| 9844 ;; |
| 9845 |
| 9846 rdos*) |
| 9847 lt_prog_compiler_static='-non_shared' |
| 9848 ;; |
| 9849 |
| 9850 solaris*) |
| 9851 lt_prog_compiler_pic='-KPIC' |
| 9852 lt_prog_compiler_static='-Bstatic' |
| 9853 case $cc_basename in |
| 9854 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 9855 lt_prog_compiler_wl='-Qoption ld ';; |
| 9856 *) |
| 9857 lt_prog_compiler_wl='-Wl,';; |
| 9858 esac |
| 9859 ;; |
| 9860 |
| 9861 sunos4*) |
| 9862 lt_prog_compiler_wl='-Qoption ld ' |
| 9863 lt_prog_compiler_pic='-PIC' |
| 9864 lt_prog_compiler_static='-Bstatic' |
| 9865 ;; |
| 9866 |
| 9867 sysv4 | sysv4.2uw2* | sysv4.3*) |
| 9868 lt_prog_compiler_wl='-Wl,' |
| 9869 lt_prog_compiler_pic='-KPIC' |
| 9870 lt_prog_compiler_static='-Bstatic' |
| 9871 ;; |
| 9872 |
| 9873 sysv4*MP*) |
| 9874 if test -d /usr/nec ;then |
| 9875 lt_prog_compiler_pic='-Kconform_pic' |
| 9876 lt_prog_compiler_static='-Bstatic' |
| 9877 fi |
| 9878 ;; |
| 9879 |
| 9880 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 9881 lt_prog_compiler_wl='-Wl,' |
| 9882 lt_prog_compiler_pic='-KPIC' |
| 9883 lt_prog_compiler_static='-Bstatic' |
| 9884 ;; |
| 9885 |
| 9886 unicos*) |
| 9887 lt_prog_compiler_wl='-Wl,' |
| 9888 lt_prog_compiler_can_build_shared=no |
| 9889 ;; |
| 9890 |
| 9891 uts4*) |
| 9892 lt_prog_compiler_pic='-pic' |
| 9893 lt_prog_compiler_static='-Bstatic' |
| 9894 ;; |
| 9895 |
| 9896 *) |
| 9897 lt_prog_compiler_can_build_shared=no |
| 9898 ;; |
| 9899 esac |
| 9900 fi |
| 9901 |
| 9902 case $host_os in |
| 9903 # For platforms which do not support PIC, -DPIC is meaningless: |
| 9904 *djgpp*) |
| 9905 lt_prog_compiler_pic= |
| 9906 ;; |
| 9907 *) |
| 9908 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
| 9909 ;; |
| 9910 esac |
| 9911 |
| 9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produc
e PIC" >&5 |
| 9913 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
| 9914 if ${lt_cv_prog_compiler_pic+:} false; then : |
| 9915 $as_echo_n "(cached) " >&6 |
| 9916 else |
| 9917 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
| 9918 fi |
| 9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
| 9920 $as_echo "$lt_cv_prog_compiler_pic" >&6; } |
| 9921 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
| 9922 |
| 9923 # |
| 9924 # Check to make sure the PIC flag actually works. |
| 9925 # |
| 9926 if test -n "$lt_prog_compiler_pic"; then |
| 9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_pr
og_compiler_pic works" >&5 |
| 9928 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6;
} |
| 9929 if ${lt_cv_prog_compiler_pic_works+:} false; then : |
| 9930 $as_echo_n "(cached) " >&6 |
| 9931 else |
| 9932 lt_cv_prog_compiler_pic_works=no |
| 9933 ac_outfile=conftest.$ac_objext |
| 9934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 9935 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
| 9936 # Insert the option either (1) after the last *FLAGS variable, or |
| 9937 # (2) before a word containing "conftest.", or (3) at the end. |
| 9938 # Note that $ac_compile itself does not contain backslashes and begins |
| 9939 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 9940 # The option is referenced via a variable to avoid confusing sed. |
| 9941 lt_compile=`echo "$ac_compile" | $SED \ |
| 9942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 9943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 9944 -e 's:$: $lt_compiler_flag:'` |
| 9945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 9946 (eval "$lt_compile" 2>conftest.err) |
| 9947 ac_status=$? |
| 9948 cat conftest.err >&5 |
| 9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9950 if (exit $ac_status) && test -s "$ac_outfile"; then |
| 9951 # The compiler can only warn and ignore the option if not recognized |
| 9952 # So say no if there are warnings other than the usual output. |
| 9953 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 9954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 9955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n |
| 9956 lt_cv_prog_compiler_pic_works=yes |
| 9957 fi |
| 9958 fi |
| 9959 $RM conftest* |
| 9960 |
| 9961 fi |
| 9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works"
>&5 |
| 9963 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
| 9964 |
| 9965 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
| 9966 case $lt_prog_compiler_pic in |
| 9967 "" | " "*) ;; |
| 9968 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
| 9969 esac |
| 9970 else |
| 9971 lt_prog_compiler_pic= |
| 9972 lt_prog_compiler_can_build_shared=no |
| 9973 fi |
| 9974 |
| 9975 fi |
| 9976 |
| 9977 |
| 9978 |
| 9979 |
| 9980 |
| 9981 |
| 9982 |
| 9983 |
| 9984 |
| 9985 |
| 9986 |
| 9987 # |
| 9988 # Check to make sure the static flag actually works. |
| 9989 # |
| 9990 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
| 9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_t
mp_static_flag works" >&5 |
| 9992 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6
; } |
| 9993 if ${lt_cv_prog_compiler_static_works+:} false; then : |
| 9994 $as_echo_n "(cached) " >&6 |
| 9995 else |
| 9996 lt_cv_prog_compiler_static_works=no |
| 9997 save_LDFLAGS="$LDFLAGS" |
| 9998 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
| 9999 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 10000 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 10001 # The linker can only warn and ignore the option if not recognized |
| 10002 # So say no if there are warnings |
| 10003 if test -s conftest.err; then |
| 10004 # Append any errors to the config.log. |
| 10005 cat conftest.err 1>&5 |
| 10006 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 10007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 10008 if diff conftest.exp conftest.er2 >/dev/null; then |
| 10009 lt_cv_prog_compiler_static_works=yes |
| 10010 fi |
| 10011 else |
| 10012 lt_cv_prog_compiler_static_works=yes |
| 10013 fi |
| 10014 fi |
| 10015 $RM -r conftest* |
| 10016 LDFLAGS="$save_LDFLAGS" |
| 10017 |
| 10018 fi |
| 10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_wor
ks" >&5 |
| 10020 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
| 10021 |
| 10022 if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
| 10023 : |
| 10024 else |
| 10025 lt_prog_compiler_static= |
| 10026 fi |
| 10027 |
| 10028 |
| 10029 |
| 10030 |
| 10031 |
| 10032 |
| 10033 |
| 10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 |
| 10035 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 10036 if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 10037 $as_echo_n "(cached) " >&6 |
| 10038 else |
| 10039 lt_cv_prog_compiler_c_o=no |
| 10040 $RM -r conftest 2>/dev/null |
| 10041 mkdir conftest |
| 10042 cd conftest |
| 10043 mkdir out |
| 10044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10045 |
| 10046 lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 10047 # Insert the option either (1) after the last *FLAGS variable, or |
| 10048 # (2) before a word containing "conftest.", or (3) at the end. |
| 10049 # Note that $ac_compile itself does not contain backslashes and begins |
| 10050 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 10051 lt_compile=`echo "$ac_compile" | $SED \ |
| 10052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 10053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 10054 -e 's:$: $lt_compiler_flag:'` |
| 10055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 10056 (eval "$lt_compile" 2>out/conftest.err) |
| 10057 ac_status=$? |
| 10058 cat out/conftest.err >&5 |
| 10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10060 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 10061 then |
| 10062 # The compiler can only warn and ignore the option if not recognized |
| 10063 # So say no if there are warnings |
| 10064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 10065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 10066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then |
| 10067 lt_cv_prog_compiler_c_o=yes |
| 10068 fi |
| 10069 fi |
| 10070 chmod u+w . 2>&5 |
| 10071 $RM conftest* |
| 10072 # SGI C++ compiler will create directory out/ii_files/ for |
| 10073 # template instantiation |
| 10074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 10075 $RM out/* && rmdir out |
| 10076 cd .. |
| 10077 $RM -r conftest |
| 10078 $RM conftest* |
| 10079 |
| 10080 fi |
| 10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 10082 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 10083 |
| 10084 |
| 10085 |
| 10086 |
| 10087 |
| 10088 |
| 10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o
file.$ac_objext" >&5 |
| 10090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
| 10091 if ${lt_cv_prog_compiler_c_o+:} false; then : |
| 10092 $as_echo_n "(cached) " >&6 |
| 10093 else |
| 10094 lt_cv_prog_compiler_c_o=no |
| 10095 $RM -r conftest 2>/dev/null |
| 10096 mkdir conftest |
| 10097 cd conftest |
| 10098 mkdir out |
| 10099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 10100 |
| 10101 lt_compiler_flag="-o out/conftest2.$ac_objext" |
| 10102 # Insert the option either (1) after the last *FLAGS variable, or |
| 10103 # (2) before a word containing "conftest.", or (3) at the end. |
| 10104 # Note that $ac_compile itself does not contain backslashes and begins |
| 10105 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 10106 lt_compile=`echo "$ac_compile" | $SED \ |
| 10107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 10108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 10109 -e 's:$: $lt_compiler_flag:'` |
| 10110 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
| 10111 (eval "$lt_compile" 2>out/conftest.err) |
| 10112 ac_status=$? |
| 10113 cat out/conftest.err >&5 |
| 10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10115 if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 10116 then |
| 10117 # The compiler can only warn and ignore the option if not recognized |
| 10118 # So say no if there are warnings |
| 10119 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 10120 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 10121 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/d
ev/null; then |
| 10122 lt_cv_prog_compiler_c_o=yes |
| 10123 fi |
| 10124 fi |
| 10125 chmod u+w . 2>&5 |
| 10126 $RM conftest* |
| 10127 # SGI C++ compiler will create directory out/ii_files/ for |
| 10128 # template instantiation |
| 10129 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
| 10130 $RM out/* && rmdir out |
| 10131 cd .. |
| 10132 $RM -r conftest |
| 10133 $RM conftest* |
| 10134 |
| 10135 fi |
| 10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
| 10137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
| 10138 |
| 10139 |
| 10140 |
| 10141 |
| 10142 hard_links="nottested" |
| 10143 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
| 10144 # do not overwrite the value of need_locks provided by the user |
| 10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard lin
ks" >&5 |
| 10146 $as_echo_n "checking if we can lock with hard links... " >&6; } |
| 10147 hard_links=yes |
| 10148 $RM conftest* |
| 10149 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 10150 touch conftest.a |
| 10151 ln conftest.a conftest.b 2>&5 || hard_links=no |
| 10152 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
| 10154 $as_echo "$hard_links" >&6; } |
| 10155 if test "$hard_links" = no; then |
| 10156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`
-c -o', so \`make -j' may be unsafe" >&5 |
| 10157 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may b
e unsafe" >&2;} |
| 10158 need_locks=warn |
11999 fi | 10159 fi |
12000 else | 10160 else |
12001 # We cannot hardcode anything, or else we can only hardcode existing | 10161 need_locks=no |
12002 # directories. | |
12003 hardcode_action=unsupported | |
12004 fi | 10162 fi |
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | 10163 |
12006 $as_echo "$hardcode_action" >&6; } | 10164 |
12007 | 10165 |
12008 if test relink = "$hardcode_action" || | 10166 |
12009 test yes = "$inherit_rpath"; then | 10167 |
12010 # Fast installation is not supported | 10168 |
12011 enable_fast_install=no | 10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker
($LD) supports shared libraries" >&5 |
12012 elif test yes = "$shlibpath_overrides_runpath" || | 10170 $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
s... " >&6; } |
12013 test no = "$enable_shared"; then | 10171 |
12014 # Fast installation is not necessary | 10172 runpath_var= |
12015 enable_fast_install=needless | 10173 allow_undefined_flag= |
12016 fi | 10174 always_export_symbols=no |
12017 | 10175 archive_cmds= |
12018 | 10176 archive_expsym_cmds= |
12019 | 10177 compiler_needs_object=no |
12020 | 10178 enable_shared_with_static_runtimes=no |
12021 | 10179 export_dynamic_flag_spec= |
12022 | 10180 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\
''s/.* //'\'' | sort | uniq > $export_symbols' |
12023 if test yes != "$enable_dlopen"; then | 10181 hardcode_automatic=no |
12024 enable_dlopen=unknown | 10182 hardcode_direct=no |
12025 enable_dlopen_self=unknown | 10183 hardcode_direct_absolute=no |
12026 enable_dlopen_self_static=unknown | 10184 hardcode_libdir_flag_spec= |
| 10185 hardcode_libdir_separator= |
| 10186 hardcode_minus_L=no |
| 10187 hardcode_shlibpath_var=unsupported |
| 10188 inherit_rpath=no |
| 10189 link_all_deplibs=unknown |
| 10190 module_cmds= |
| 10191 module_expsym_cmds= |
| 10192 old_archive_from_new_cmds= |
| 10193 old_archive_from_expsyms_cmds= |
| 10194 thread_safe_flag_spec= |
| 10195 whole_archive_flag_spec= |
| 10196 # include_expsyms should be a list of space-separated symbols to be *always* |
| 10197 # included in the symbol list |
| 10198 include_expsyms= |
| 10199 # exclude_expsyms can be an extended regexp of symbols to exclude |
| 10200 # it will be wrapped by ` (' and `)$', so one must not match beginning or |
| 10201 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
| 10202 # as well as any symbol that contains `d'. |
| 10203 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
| 10204 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 10205 # platforms (ab)use it in PIC code, but their linkers get confused if |
| 10206 # the symbol is explicitly referenced. Since portable code cannot |
| 10207 # rely on this symbol name, it's probably fine to never include it in |
| 10208 # preloaded symbol tables. |
| 10209 # Exclude shared library initialization/finalization symbols. |
| 10210 extract_expsyms_cmds= |
| 10211 |
| 10212 case $host_os in |
| 10213 cygwin* | mingw* | pw32* | cegcc*) |
| 10214 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 10215 # When not using gcc, we currently assume that we are using |
| 10216 # Microsoft Visual C++. |
| 10217 if test "$GCC" != yes; then |
| 10218 with_gnu_ld=no |
| 10219 fi |
| 10220 ;; |
| 10221 interix*) |
| 10222 # we just hope/assume this is gcc and not c89 (= MSVC++) |
| 10223 with_gnu_ld=yes |
| 10224 ;; |
| 10225 openbsd*) |
| 10226 with_gnu_ld=no |
| 10227 ;; |
| 10228 linux* | k*bsd*-gnu | gnu*) |
| 10229 link_all_deplibs=no |
| 10230 ;; |
| 10231 esac |
| 10232 |
| 10233 ld_shlibs=yes |
| 10234 |
| 10235 # On some targets, GNU ld is compatible enough with the native linker |
| 10236 # that we're better off using the native interface for both. |
| 10237 lt_use_gnu_ld_interface=no |
| 10238 if test "$with_gnu_ld" = yes; then |
| 10239 case $host_os in |
| 10240 aix*) |
| 10241 # The AIX port of GNU ld has always aspired to compatibility |
| 10242 # with the native linker. However, as the warning in the GNU ld |
| 10243 # block says, versions before 2.19.5* couldn't really create working |
| 10244 # shared libraries, regardless of the interface used. |
| 10245 case `$LD -v 2>&1` in |
| 10246 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 10247 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
| 10248 *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
| 10249 *) |
| 10250 lt_use_gnu_ld_interface=yes |
| 10251 ;; |
| 10252 esac |
| 10253 ;; |
| 10254 *) |
| 10255 lt_use_gnu_ld_interface=yes |
| 10256 ;; |
| 10257 esac |
| 10258 fi |
| 10259 |
| 10260 if test "$lt_use_gnu_ld_interface" = yes; then |
| 10261 # If archive_cmds runs LD, not CC, wlarc should be empty |
| 10262 wlarc='${wl}' |
| 10263 |
| 10264 # Set some defaults for GNU ld with shared library support. These |
| 10265 # are reset later if shared libraries are not supported. Putting them |
| 10266 # here allows them to be overridden if necessary. |
| 10267 runpath_var=LD_RUN_PATH |
| 10268 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10269 export_dynamic_flag_spec='${wl}--export-dynamic' |
| 10270 # ancient GNU ld didn't support --whole-archive et. al. |
| 10271 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 10272 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--n
o-whole-archive' |
| 10273 else |
| 10274 whole_archive_flag_spec= |
| 10275 fi |
| 10276 supports_anon_versioning=no |
| 10277 case `$LD -v 2>&1` in |
| 10278 *GNU\ gold*) supports_anon_versioning=yes ;; |
| 10279 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 10280 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 10281 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 10282 *\ 2.11.*) ;; # other 2.11 versions |
| 10283 *) supports_anon_versioning=yes ;; |
| 10284 esac |
| 10285 |
| 10286 # See if GNU ld supports shared libraries. |
| 10287 case $host_os in |
| 10288 aix[3-9]*) |
| 10289 # On AIX/PPC, the GNU linker is very broken |
| 10290 if test "$host_cpu" != ia64; then |
| 10291 ld_shlibs=no |
| 10292 cat <<_LT_EOF 1>&2 |
| 10293 |
| 10294 *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 10295 *** to be unable to reliably create shared libraries on AIX. |
| 10296 *** Therefore, libtool is disabling shared libraries support. If you |
| 10297 *** really care for shared libraries, you may want to install binutils |
| 10298 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 10299 *** You will then need to restart the configuration process. |
| 10300 |
| 10301 _LT_EOF |
| 10302 fi |
| 10303 ;; |
| 10304 |
| 10305 amigaos*) |
| 10306 case $host_cpu in |
| 10307 powerpc) |
| 10308 # see comment about AmigaOS4 .so support |
| 10309 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 10310 archive_expsym_cmds='' |
| 10311 ;; |
| 10312 m68k) |
| 10313 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)' |
| 10314 hardcode_libdir_flag_spec='-L$libdir' |
| 10315 hardcode_minus_L=yes |
| 10316 ;; |
| 10317 esac |
| 10318 ;; |
| 10319 |
| 10320 beos*) |
| 10321 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10322 allow_undefined_flag=unsupported |
| 10323 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 10324 # support --undefined. This deserves some investigation. FIXME |
| 10325 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-sonam
e $wl$soname -o $lib' |
| 10326 else |
| 10327 ld_shlibs=no |
| 10328 fi |
| 10329 ;; |
| 10330 |
| 10331 cygwin* | mingw* | pw32* | cegcc*) |
| 10332 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
| 10333 # as there is no search path for DLLs. |
| 10334 hardcode_libdir_flag_spec='-L$libdir' |
| 10335 export_dynamic_flag_spec='${wl}--export-all-symbols' |
| 10336 allow_undefined_flag=unsupported |
| 10337 always_export_symbols=no |
| 10338 enable_shared_with_static_runtimes=yes |
| 10339 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' |
| 10340 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A
-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
| 10341 |
| 10342 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 10343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_o
bjdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 10344 # If the export-symbols file already is a .def file (1st line |
| 10345 # is EXPORTS), use it as is; otherwise, prepend... |
| 10346 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en |
| 10347 cp $export_symbols $output_objdir/$soname.def; |
| 10348 else |
| 10349 echo EXPORTS > $output_objdir/$soname.def; |
| 10350 cat $export_symbols >> $output_objdir/$soname.def; |
| 10351 fi~ |
| 10352 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -
Xlinker $lib' |
| 10353 else |
| 10354 ld_shlibs=no |
| 10355 fi |
| 10356 ;; |
| 10357 |
| 10358 haiku*) |
| 10359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $
wl$soname -o $lib' |
| 10360 link_all_deplibs=yes |
| 10361 ;; |
| 10362 |
| 10363 interix[3-9]*) |
| 10364 hardcode_direct=no |
| 10365 hardcode_shlibpath_var=no |
| 10366 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 10367 export_dynamic_flag_spec='${wl}-E' |
| 10368 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 10369 # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 10370 # default) and relocated if they conflict, which is a slow very memory |
| 10371 # consuming and fragmenting process. To avoid this, we pick a random, |
| 10372 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 10373 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 10374 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' |
| 10375 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' |
| 10376 ;; |
| 10377 |
| 10378 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 10379 tmp_diet=no |
| 10380 if test "$host_os" = linux-dietlibc; then |
| 10381 case $cc_basename in |
| 10382 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) |
| 10383 esac |
| 10384 fi |
| 10385 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 10386 && test "$tmp_diet" = no |
| 10387 then |
| 10388 tmp_addflag=' $pic_flag' |
| 10389 tmp_sharedflag='-shared' |
| 10390 case $cc_basename,$host_cpu in |
| 10391 pgcc*) # Portland Group C compiler |
| 10392 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' |
| 10393 tmp_addflag=' $pic_flag' |
| 10394 ;; |
| 10395 pgf77* | pgf90* | pgf95* | pgfortran*) |
| 10396 # Portland Group f77 and f90 compilers |
| 10397 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' |
| 10398 tmp_addflag=' $pic_flag -Mnomain' ;; |
| 10399 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 10400 tmp_addflag=' -i_dynamic' ;; |
| 10401 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 10402 tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 10403 ifc* | ifort*) # Intel Fortran compiler |
| 10404 tmp_addflag=' -nofor_main' ;; |
| 10405 lf95*) # Lahey Fortran 8.1 |
| 10406 whole_archive_flag_spec= |
| 10407 tmp_sharedflag='--shared' ;; |
| 10408 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf b
elow) |
| 10409 tmp_sharedflag='-qmkshrobj' |
| 10410 tmp_addflag= ;; |
| 10411 nvcc*) # Cuda Compiler Driver 2.2 |
| 10412 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' |
| 10413 compiler_needs_object=yes |
| 10414 ;; |
| 10415 esac |
| 10416 case `$CC -V 2>&1 | sed 5q` in |
| 10417 *Sun\ C*) # Sun C 5.9 |
| 10418 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' |
| 10419 compiler_needs_object=yes |
| 10420 tmp_sharedflag='-G' ;; |
| 10421 *Sun\ F*) # Sun Fortran 8.3 |
| 10422 tmp_sharedflag='-G' ;; |
| 10423 esac |
| 10424 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' |
| 10425 |
| 10426 if test "x$supports_anon_versioning" = xyes; then |
| 10427 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10428 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ |
| 10429 echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10430 $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' |
| 10431 fi |
| 10432 |
| 10433 case $cc_basename in |
| 10434 xlf* | bgf* | bgxlf* | mpixlf*) |
| 10435 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 10436 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archiv
e' |
| 10437 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10438 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $son
ame -o $lib' |
| 10439 if test "x$supports_anon_versioning" = xyes; then |
| 10440 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
| 10441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ |
| 10442 echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 10443 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' |
| 10444 fi |
| 10445 ;; |
| 10446 esac |
| 10447 else |
| 10448 ld_shlibs=no |
| 10449 fi |
| 10450 ;; |
| 10451 |
| 10452 netbsd* | netbsdelf*-gnu) |
| 10453 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 10454 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
| 10455 wlarc= |
| 10456 else |
| 10457 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 10458 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' |
| 10459 fi |
| 10460 ;; |
| 10461 |
| 10462 solaris*) |
| 10463 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 10464 ld_shlibs=no |
| 10465 cat <<_LT_EOF 1>&2 |
| 10466 |
| 10467 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 10468 *** create shared libraries on Solaris systems. Therefore, libtool |
| 10469 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 10470 *** binutils to release 2.9.1 or newer. Another option is to modify |
| 10471 *** your PATH or compiler configuration so that the native linker is |
| 10472 *** used, and then restart. |
| 10473 |
| 10474 _LT_EOF |
| 10475 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n |
| 10476 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 10477 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' |
| 10478 else |
| 10479 ld_shlibs=no |
| 10480 fi |
| 10481 ;; |
| 10482 |
| 10483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 10484 case `$LD -v 2>&1` in |
| 10485 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
| 10486 ld_shlibs=no |
| 10487 cat <<_LT_EOF 1>&2 |
| 10488 |
| 10489 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
| 10490 *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 10491 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 10492 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 10493 *** your PATH or compiler configuration so that the native linker is |
| 10494 *** used, and then restart. |
| 10495 |
| 10496 _LT_EOF |
| 10497 ;; |
| 10498 *) |
| 10499 # For security reasons, it is highly recommended that you always |
| 10500 # use absolute paths for naming shared libraries, and exclude the |
| 10501 # DT_RUNPATH tag from executables and libraries. But doing so |
| 10502 # requires that you compile everything twice, which is a pain. |
| 10503 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen |
| 10504 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 10505 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 10506 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $
{wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
| 10507 else |
| 10508 ld_shlibs=no |
| 10509 fi |
| 10510 ;; |
| 10511 esac |
| 10512 ;; |
| 10513 |
| 10514 sunos4*) |
| 10515 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs
$linker_flags' |
| 10516 wlarc= |
| 10517 hardcode_direct=yes |
| 10518 hardcode_shlibpath_var=no |
| 10519 ;; |
| 10520 |
| 10521 *) |
| 10522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 10523 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${
wl}-soname $wl$soname -o $lib' |
| 10524 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' |
| 10525 else |
| 10526 ld_shlibs=no |
| 10527 fi |
| 10528 ;; |
| 10529 esac |
| 10530 |
| 10531 if test "$ld_shlibs" = no; then |
| 10532 runpath_var= |
| 10533 hardcode_libdir_flag_spec= |
| 10534 export_dynamic_flag_spec= |
| 10535 whole_archive_flag_spec= |
| 10536 fi |
| 10537 else |
| 10538 # PORTME fill in a description of your system's linker (not GNU ld) |
| 10539 case $host_os in |
| 10540 aix3*) |
| 10541 allow_undefined_flag=unsupported |
| 10542 always_export_symbols=yes |
| 10543 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' |
| 10544 # Note: this linker hardcodes the directories in LIBPATH if there |
| 10545 # are no directories specified by -L. |
| 10546 hardcode_minus_L=yes |
| 10547 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
| 10548 # Neither direct hardcoding nor static linking is supported with a |
| 10549 # broken collect2. |
| 10550 hardcode_direct=unsupported |
| 10551 fi |
| 10552 ;; |
| 10553 |
| 10554 aix[4-9]*) |
| 10555 if test "$host_cpu" = ia64; then |
| 10556 # On IA64, the linker does run time linking by default, so we don't |
| 10557 # have to do anything special. |
| 10558 aix_use_runtimelinking=no |
| 10559 exp_sym_flag='-Bexport' |
| 10560 no_entry_flag="" |
| 10561 else |
| 10562 # If we're using GNU nm, then we don't want the "-C" option. |
| 10563 # -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 10564 # Also, AIX nm treats weak defined symbols like other global |
| 10565 # defined symbols, whereas GNU nm marks them as "W". |
| 10566 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 10567 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' |
| 10568 else |
| 10569 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' |
| 10570 fi |
| 10571 aix_use_runtimelinking=no |
| 10572 |
| 10573 # Test if we are trying to use run time linking or normal |
| 10574 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 10575 # need to do runtime linking. |
| 10576 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
| 10577 for ld_flag in $LDFLAGS; do |
| 10578 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
| 10579 aix_use_runtimelinking=yes |
| 10580 break |
| 10581 fi |
| 10582 done |
| 10583 ;; |
| 10584 esac |
| 10585 |
| 10586 exp_sym_flag='-bexport' |
| 10587 no_entry_flag='-bnoentry' |
| 10588 fi |
| 10589 |
| 10590 # When large executables or shared objects are built, AIX ld can |
| 10591 # have problems creating the table of contents. If linking a library |
| 10592 # or program results in "error TOC overflow" add -mminimal-toc to |
| 10593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 10594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 10595 |
| 10596 archive_cmds='' |
| 10597 hardcode_direct=yes |
| 10598 hardcode_direct_absolute=yes |
| 10599 hardcode_libdir_separator=':' |
| 10600 link_all_deplibs=yes |
| 10601 file_list_spec='${wl}-f,' |
| 10602 |
| 10603 if test "$GCC" = yes; then |
| 10604 case $host_os in aix4.[012]|aix4.[012].*) |
| 10605 # We only want to do this on AIX 4.2 and lower, the check |
| 10606 # below for broken collect2 doesn't work under 4.3+ |
| 10607 collect2name=`${CC} -print-prog-name=collect2` |
| 10608 if test -f "$collect2name" && |
| 10609 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 10610 then |
| 10611 # We have reworked collect2 |
| 10612 : |
| 10613 else |
| 10614 # We have old collect2 |
| 10615 hardcode_direct=unsupported |
| 10616 # It fails to find uninstalled libraries when the uninstalled |
| 10617 # path is not listed in the libpath. Setting hardcode_minus_L |
| 10618 # to unsupported forces relinking |
| 10619 hardcode_minus_L=yes |
| 10620 hardcode_libdir_flag_spec='-L$libdir' |
| 10621 hardcode_libdir_separator= |
| 10622 fi |
| 10623 ;; |
| 10624 esac |
| 10625 shared_flag='-shared' |
| 10626 if test "$aix_use_runtimelinking" = yes; then |
| 10627 shared_flag="$shared_flag "'${wl}-G' |
| 10628 fi |
| 10629 link_all_deplibs=no |
| 10630 else |
| 10631 # not using gcc |
| 10632 if test "$host_cpu" = ia64; then |
| 10633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 10634 # chokes on -Wl,-G. The following line is correct: |
| 10635 shared_flag='-G' |
| 10636 else |
| 10637 if test "$aix_use_runtimelinking" = yes; then |
| 10638 shared_flag='${wl}-G' |
| 10639 else |
| 10640 shared_flag='${wl}-bM:SRE' |
| 10641 fi |
| 10642 fi |
| 10643 fi |
| 10644 |
| 10645 export_dynamic_flag_spec='${wl}-bexpall' |
| 10646 # It seems that -bexpall does not export symbols beginning with |
| 10647 # underscore (_), so it is better to generate a list of symbols to export. |
| 10648 always_export_symbols=yes |
| 10649 if test "$aix_use_runtimelinking" = yes; then |
| 10650 # Warning - without using the other runtime loading flags (-brtl), |
| 10651 # -berok will link without error, but may produce a broken library. |
| 10652 allow_undefined_flag='-berok' |
| 10653 # Determine the default libpath from the value encoded in an |
| 10654 # empty executable. |
| 10655 if test "${lt_cv_aix_libpath+set}" = set; then |
| 10656 aix_libpath=$lt_cv_aix_libpath |
12027 else | 10657 else |
12028 lt_cv_dlopen=no | 10658 if ${lt_cv_aix_libpath_+:} false; then : |
12029 lt_cv_dlopen_libs= | |
12030 | |
12031 case $host_os in | |
12032 beos*) | |
12033 lt_cv_dlopen=load_add_on | |
12034 lt_cv_dlopen_libs= | |
12035 lt_cv_dlopen_self=yes | |
12036 ;; | |
12037 | |
12038 mingw* | pw32* | cegcc*) | |
12039 lt_cv_dlopen=LoadLibrary | |
12040 lt_cv_dlopen_libs= | |
12041 ;; | |
12042 | |
12043 cygwin*) | |
12044 lt_cv_dlopen=dlopen | |
12045 lt_cv_dlopen_libs= | |
12046 ;; | |
12047 | |
12048 darwin*) | |
12049 # if libdl is installed we need to link against it | |
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
12051 $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
12052 if ${ac_cv_lib_dl_dlopen+:} false; then : | |
12053 $as_echo_n "(cached) " >&6 | 10659 $as_echo_n "(cached) " >&6 |
12054 else | 10660 else |
12055 ac_check_lib_save_LIBS=$LIBS | 10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12056 LIBS="-ldl $LIBS" | |
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
12058 /* end confdefs.h. */ | 10662 /* end confdefs.h. */ |
12059 | 10663 |
12060 /* Override any GCC internal prototype to avoid an error. | |
12061 Use char because int might match the return type of a GCC | |
12062 builtin and then its argument prototype would still apply. */ | |
12063 #ifdef __cplusplus | |
12064 extern "C" | |
12065 #endif | |
12066 char dlopen (); | |
12067 int | 10664 int |
12068 main () | 10665 main () |
12069 { | 10666 { |
12070 return dlopen (); | 10667 |
12071 ; | 10668 ; |
12072 return 0; | 10669 return 0; |
12073 } | 10670 } |
12074 _ACEOF | 10671 _ACEOF |
12075 if ac_fn_c_try_link "$LINENO"; then : | 10672 if ac_fn_c_try_link "$LINENO"; then : |
12076 ac_cv_lib_dl_dlopen=yes | 10673 |
12077 else | 10674 lt_aix_libpath_sed=' |
12078 ac_cv_lib_dl_dlopen=no | 10675 /Import File Strings/,/^$/ { |
| 10676 » /^0/ { |
| 10677 » s/^0 *\([^ ]*\) *$/\1/ |
| 10678 » p |
| 10679 » } |
| 10680 }' |
| 10681 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` |
| 10682 # Check for a 64-bit object if we didn't find anything. |
| 10683 if test -z "$lt_cv_aix_libpath_"; then |
| 10684 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` |
| 10685 fi |
12079 fi | 10686 fi |
12080 rm -f core conftest.err conftest.$ac_objext \ | 10687 rm -f core conftest.err conftest.$ac_objext \ |
12081 conftest$ac_exeext conftest.$ac_ext | 10688 conftest$ac_exeext conftest.$ac_ext |
12082 LIBS=$ac_check_lib_save_LIBS | 10689 if test -z "$lt_cv_aix_libpath_"; then |
| 10690 lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10691 fi |
| 10692 |
12083 fi | 10693 fi |
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 10694 |
12085 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 10695 aix_libpath=$lt_cv_aix_libpath_ |
12086 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 10696 fi |
12087 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl | 10697 |
| 10698 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 10699 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" |
| 10700 else |
| 10701 » if test "$host_cpu" = ia64; then |
| 10702 » hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
| 10703 » allow_undefined_flag="-z nodefs" |
| 10704 » 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" |
| 10705 » else |
| 10706 » # Determine the default libpath from the value encoded in an |
| 10707 » # empty executable. |
| 10708 » if test "${lt_cv_aix_libpath+set}" = set; then |
| 10709 aix_libpath=$lt_cv_aix_libpath |
12088 else | 10710 else |
12089 | 10711 if ${lt_cv_aix_libpath_+:} false; then : |
12090 lt_cv_dlopen=dyld | |
12091 lt_cv_dlopen_libs= | |
12092 lt_cv_dlopen_self=yes | |
12093 | |
12094 fi | |
12095 | |
12096 ;; | |
12097 | |
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 *) | |
12107 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | |
12108 if test "x$ac_cv_func_shl_load" = xyes; then : | |
12109 lt_cv_dlopen=shl_load | |
12110 else | |
12111 { $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; } | |
12113 if ${ac_cv_lib_dld_shl_load+:} false; then : | |
12114 $as_echo_n "(cached) " >&6 | 10712 $as_echo_n "(cached) " >&6 |
12115 else | 10713 else |
12116 ac_check_lib_save_LIBS=$LIBS | 10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12117 LIBS="-ldld $LIBS" | |
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
12119 /* end confdefs.h. */ | 10715 /* end confdefs.h. */ |
12120 | 10716 |
12121 /* Override any GCC internal prototype to avoid an error. | |
12122 Use char because int might match the return type of a GCC | |
12123 builtin and then its argument prototype would still apply. */ | |
12124 #ifdef __cplusplus | |
12125 extern "C" | |
12126 #endif | |
12127 char shl_load (); | |
12128 int | 10717 int |
12129 main () | 10718 main () |
12130 { | 10719 { |
12131 return shl_load (); | 10720 |
12132 ; | 10721 ; |
12133 return 0; | 10722 return 0; |
12134 } | 10723 } |
12135 _ACEOF | 10724 _ACEOF |
12136 if ac_fn_c_try_link "$LINENO"; then : | 10725 if ac_fn_c_try_link "$LINENO"; then : |
12137 ac_cv_lib_dld_shl_load=yes | 10726 |
12138 else | 10727 lt_aix_libpath_sed=' |
12139 ac_cv_lib_dld_shl_load=no | 10728 /Import File Strings/,/^$/ { |
| 10729 » /^0/ { |
| 10730 » s/^0 *\([^ ]*\) *$/\1/ |
| 10731 » p |
| 10732 » } |
| 10733 }' |
| 10734 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_a
ix_libpath_sed"` |
| 10735 # Check for a 64-bit object if we didn't find anything. |
| 10736 if test -z "$lt_cv_aix_libpath_"; then |
| 10737 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "
$lt_aix_libpath_sed"` |
| 10738 fi |
12140 fi | 10739 fi |
12141 rm -f core conftest.err conftest.$ac_objext \ | 10740 rm -f core conftest.err conftest.$ac_objext \ |
12142 conftest$ac_exeext conftest.$ac_ext | 10741 conftest$ac_exeext conftest.$ac_ext |
12143 LIBS=$ac_check_lib_save_LIBS | 10742 if test -z "$lt_cv_aix_libpath_"; then |
| 10743 lt_cv_aix_libpath_="/usr/lib:/lib" |
| 10744 fi |
| 10745 |
12144 fi | 10746 fi |
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | 10747 |
12146 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | 10748 aix_libpath=$lt_cv_aix_libpath_ |
12147 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 10749 fi |
12148 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld | 10750 |
12149 else | 10751 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
12150 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | 10752 # Warning - without using the other run time loading flags, |
12151 if test "x$ac_cv_func_dlopen" = xyes; then : | 10753 # -berok will link without error, but may produce a broken library. |
12152 lt_cv_dlopen=dlopen | 10754 no_undefined_flag=' ${wl}-bernotok' |
12153 else | 10755 allow_undefined_flag=' ${wl}-berok' |
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 10756 if test "$with_gnu_ld" = yes; then |
12155 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 10757 # We only use this code for GNU lds that support --whole-archive. |
12156 if ${ac_cv_lib_dl_dlopen+:} false; then : | 10758 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-
whole-archive' |
| 10759 else |
| 10760 # Exported symbols can be pulled into shared objects from archives |
| 10761 whole_archive_flag_spec='$convenience' |
| 10762 fi |
| 10763 archive_cmds_need_lc=yes |
| 10764 # This is similar to how AIX traditionally builds its shared libraries
. |
| 10765 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' |
| 10766 fi |
| 10767 fi |
| 10768 ;; |
| 10769 |
| 10770 amigaos*) |
| 10771 case $host_cpu in |
| 10772 powerpc) |
| 10773 # see comment about AmigaOS4 .so support |
| 10774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-so
name $wl$soname -o $lib' |
| 10775 archive_expsym_cmds='' |
| 10776 ;; |
| 10777 m68k) |
| 10778 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)' |
| 10779 hardcode_libdir_flag_spec='-L$libdir' |
| 10780 hardcode_minus_L=yes |
| 10781 ;; |
| 10782 esac |
| 10783 ;; |
| 10784 |
| 10785 bsdi[45]*) |
| 10786 export_dynamic_flag_spec=-rdynamic |
| 10787 ;; |
| 10788 |
| 10789 cygwin* | mingw* | pw32* | cegcc*) |
| 10790 # When not using gcc, we currently assume that we are using |
| 10791 # Microsoft Visual C++. |
| 10792 # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 10793 # no search path for DLLs. |
| 10794 case $cc_basename in |
| 10795 cl*) |
| 10796 # Native MSVC |
| 10797 hardcode_libdir_flag_spec=' ' |
| 10798 allow_undefined_flag=unsupported |
| 10799 always_export_symbols=yes |
| 10800 file_list_spec='@' |
| 10801 # Tell ltmain to make .lib files, not .a files. |
| 10802 libext=lib |
| 10803 # Tell ltmain to make .dll files, not .so files. |
| 10804 shrext_cmds=".dll" |
| 10805 # FIXME: Setting linknames here is a bad hack. |
| 10806 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $de
plibs -Wl,-dll~linknames=' |
| 10807 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; th
en |
| 10808 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\
!p' < $export_symbols > $output_objdir/$soname.exp; |
| 10809 else |
| 10810 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_s
ymbols > $output_objdir/$soname.exp; |
| 10811 fi~ |
| 10812 $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"~ |
| 10813 linknames=' |
| 10814 # The linker will not automatically build a static lib if we build a DLL
. |
| 10815 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
| 10816 enable_shared_with_static_runtimes=yes |
| 10817 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| 10818 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $
SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]
/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
| 10819 # Don't use ranlib |
| 10820 old_postinstall_cmds='chmod 644 $oldlib' |
| 10821 postlink_cmds='lt_outputfile="@OUTPUT@"~ |
| 10822 lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 10823 case $lt_outputfile in |
| 10824 *.exe|*.EXE) ;; |
| 10825 *) |
| 10826 lt_outputfile="$lt_outputfile.exe" |
| 10827 lt_tool_outputfile="$lt_tool_outputfile.exe" |
| 10828 ;; |
| 10829 esac~ |
| 10830 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest";
then |
| 10831 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; |
| 10832 $RM "$lt_outputfile.manifest"; |
| 10833 fi' |
| 10834 ;; |
| 10835 *) |
| 10836 # Assume MSVC wrapper |
| 10837 hardcode_libdir_flag_spec=' ' |
| 10838 allow_undefined_flag=unsupported |
| 10839 # Tell ltmain to make .lib files, not .a files. |
| 10840 libext=lib |
| 10841 # Tell ltmain to make .dll files, not .so files. |
| 10842 shrext_cmds=".dll" |
| 10843 # FIXME: Setting linknames here is a bad hack. |
| 10844 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$depl
ibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 10845 # The linker will automatically build a .lib file if we build a DLL. |
| 10846 old_archive_from_new_cmds='true' |
| 10847 # FIXME: Should let the user specify the lib program. |
| 10848 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 10849 enable_shared_with_static_runtimes=yes |
| 10850 ;; |
| 10851 esac |
| 10852 ;; |
| 10853 |
| 10854 darwin* | rhapsody*) |
| 10855 |
| 10856 |
| 10857 archive_cmds_need_lc=no |
| 10858 hardcode_direct=no |
| 10859 hardcode_automatic=yes |
| 10860 hardcode_shlibpath_var=unsupported |
| 10861 if test "$lt_cv_ld_force_load" = "yes"; then |
| 10862 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\"`' |
| 10863 |
| 10864 else |
| 10865 whole_archive_flag_spec='' |
| 10866 fi |
| 10867 link_all_deplibs=yes |
| 10868 allow_undefined_flag="$_lt_dar_allow_undefined" |
| 10869 case $cc_basename in |
| 10870 ifort*) _lt_dar_can_shared=yes ;; |
| 10871 *) _lt_dar_can_shared=$GCC ;; |
| 10872 esac |
| 10873 if test "$_lt_dar_can_shared" = "yes"; then |
| 10874 output_verbose_link_cmd=func_echo_all |
| 10875 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}" |
| 10876 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplib
s \$compiler_flags${_lt_dsymutil}" |
| 10877 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}" |
| 10878 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}" |
| 10879 |
| 10880 else |
| 10881 ld_shlibs=no |
| 10882 fi |
| 10883 |
| 10884 ;; |
| 10885 |
| 10886 dgux*) |
| 10887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 10888 hardcode_libdir_flag_spec='-L$libdir' |
| 10889 hardcode_shlibpath_var=no |
| 10890 ;; |
| 10891 |
| 10892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
| 10893 # support. Future versions do this automatically, but an explicit c++rt0.o |
| 10894 # does not break anything, and helps significantly (at the cost of a little |
| 10895 # extra space). |
| 10896 freebsd2.2*) |
| 10897 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr
/lib/c++rt0.o' |
| 10898 hardcode_libdir_flag_spec='-R$libdir' |
| 10899 hardcode_direct=yes |
| 10900 hardcode_shlibpath_var=no |
| 10901 ;; |
| 10902 |
| 10903 # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
| 10904 freebsd2.*) |
| 10905 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
| 10906 hardcode_direct=yes |
| 10907 hardcode_minus_L=yes |
| 10908 hardcode_shlibpath_var=no |
| 10909 ;; |
| 10910 |
| 10911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 10912 freebsd* | dragonfly*) |
| 10913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_fl
ags' |
| 10914 hardcode_libdir_flag_spec='-R$libdir' |
| 10915 hardcode_direct=yes |
| 10916 hardcode_shlibpath_var=no |
| 10917 ;; |
| 10918 |
| 10919 hpux9*) |
| 10920 if test "$GCC" = yes; then |
| 10921 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' |
| 10922 else |
| 10923 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' |
| 10924 fi |
| 10925 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10926 hardcode_libdir_separator=: |
| 10927 hardcode_direct=yes |
| 10928 |
| 10929 # hardcode_minus_L: Not really in the search PATH, |
| 10930 # but as the default location of the library. |
| 10931 hardcode_minus_L=yes |
| 10932 export_dynamic_flag_spec='${wl}-E' |
| 10933 ;; |
| 10934 |
| 10935 hpux10*) |
| 10936 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10937 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$i
nstall_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10938 else |
| 10939 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $dep
libs $linker_flags' |
| 10940 fi |
| 10941 if test "$with_gnu_ld" = no; then |
| 10942 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 10943 hardcode_libdir_separator=: |
| 10944 hardcode_direct=yes |
| 10945 hardcode_direct_absolute=yes |
| 10946 export_dynamic_flag_spec='${wl}-E' |
| 10947 # hardcode_minus_L: Not really in the search PATH, |
| 10948 # but as the default location of the library. |
| 10949 hardcode_minus_L=yes |
| 10950 fi |
| 10951 ;; |
| 10952 |
| 10953 hpux11*) |
| 10954 if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 10955 case $host_cpu in |
| 10956 hppa*64*) |
| 10957 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $depli
bs $compiler_flags' |
| 10958 ;; |
| 10959 ia64*) |
| 10960 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefau
ltrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 10961 ;; |
| 10962 *) |
| 10963 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}
$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 10964 ;; |
| 10965 esac |
| 10966 else |
| 10967 case $host_cpu in |
| 10968 hppa*64*) |
| 10969 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $c
ompiler_flags' |
| 10970 ;; |
| 10971 ia64*) |
| 10972 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib
$libobjs $deplibs $compiler_flags' |
| 10973 ;; |
| 10974 *) |
| 10975 |
| 10976 # Older versions of the 11.00 compiler do not understand -b yet |
| 10977 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) |
| 10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -
b" >&5 |
| 10979 $as_echo_n "checking if $CC understands -b... " >&6; } |
| 10980 if ${lt_cv_prog_compiler__b+:} false; then : |
12157 $as_echo_n "(cached) " >&6 | 10981 $as_echo_n "(cached) " >&6 |
12158 else | 10982 else |
12159 ac_check_lib_save_LIBS=$LIBS | 10983 lt_cv_prog_compiler__b=no |
12160 LIBS="-ldl $LIBS" | 10984 save_LDFLAGS="$LDFLAGS" |
12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10985 LDFLAGS="$LDFLAGS -b" |
| 10986 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 10987 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 10988 # The linker can only warn and ignore the option if not recognized |
| 10989 # So say no if there are warnings |
| 10990 if test -s conftest.err; then |
| 10991 # Append any errors to the config.log. |
| 10992 cat conftest.err 1>&5 |
| 10993 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 10994 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 10995 if diff conftest.exp conftest.er2 >/dev/null; then |
| 10996 lt_cv_prog_compiler__b=yes |
| 10997 fi |
| 10998 else |
| 10999 lt_cv_prog_compiler__b=yes |
| 11000 fi |
| 11001 fi |
| 11002 $RM -r conftest* |
| 11003 LDFLAGS="$save_LDFLAGS" |
| 11004 |
| 11005 fi |
| 11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
| 11007 $as_echo "$lt_cv_prog_compiler__b" >&6; } |
| 11008 |
| 11009 if test x"$lt_cv_prog_compiler__b" = xyes; then |
| 11010 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $l
ib $libobjs $deplibs $compiler_flags' |
| 11011 else |
| 11012 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs
$linker_flags' |
| 11013 fi |
| 11014 |
| 11015 » ;; |
| 11016 » esac |
| 11017 fi |
| 11018 if test "$with_gnu_ld" = no; then |
| 11019 » hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
| 11020 » hardcode_libdir_separator=: |
| 11021 |
| 11022 » case $host_cpu in |
| 11023 » hppa*64*|ia64*) |
| 11024 » hardcode_direct=no |
| 11025 » hardcode_shlibpath_var=no |
| 11026 » ;; |
| 11027 » *) |
| 11028 » hardcode_direct=yes |
| 11029 » hardcode_direct_absolute=yes |
| 11030 » export_dynamic_flag_spec='${wl}-E' |
| 11031 |
| 11032 » # hardcode_minus_L: Not really in the search PATH, |
| 11033 » # but as the default location of the library. |
| 11034 » hardcode_minus_L=yes |
| 11035 » ;; |
| 11036 » esac |
| 11037 fi |
| 11038 ;; |
| 11039 |
| 11040 irix5* | irix6* | nonstopux*) |
| 11041 if test "$GCC" = yes; then |
| 11042 » 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' |
| 11043 » # Try to use the -exported_symbol ld option, if it does not |
| 11044 » # work, assume that -exports_file does not work either and |
| 11045 » # implicitly export all symbols. |
| 11046 » # This should be the same for all languages, so no per-tag cache variabl
e. |
| 11047 » { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os l
inker accepts -exported_symbol" >&5 |
| 11048 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >
&6; } |
| 11049 if ${lt_cv_irix_exported_symbol+:} false; then : |
| 11050 $as_echo_n "(cached) " >&6 |
| 11051 else |
| 11052 save_LDFLAGS="$LDFLAGS" |
| 11053 » LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update
_registry ${wl}/dev/null" |
| 11054 » cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12162 /* end confdefs.h. */ | 11055 /* end confdefs.h. */ |
12163 | 11056 int foo (void) { return 0; } |
12164 /* Override any GCC internal prototype to avoid an error. | |
12165 Use char because int might match the return type of a GCC | |
12166 builtin and then its argument prototype would still apply. */ | |
12167 #ifdef __cplusplus | |
12168 extern "C" | |
12169 #endif | |
12170 char dlopen (); | |
12171 int | |
12172 main () | |
12173 { | |
12174 return dlopen (); | |
12175 ; | |
12176 return 0; | |
12177 } | |
12178 _ACEOF | 11057 _ACEOF |
12179 if ac_fn_c_try_link "$LINENO"; then : | 11058 if ac_fn_c_try_link "$LINENO"; then : |
12180 ac_cv_lib_dl_dlopen=yes | 11059 lt_cv_irix_exported_symbol=yes |
12181 else | 11060 else |
12182 ac_cv_lib_dl_dlopen=no | 11061 lt_cv_irix_exported_symbol=no |
12183 fi | 11062 fi |
12184 rm -f core conftest.err conftest.$ac_objext \ | 11063 rm -f core conftest.err conftest.$ac_objext \ |
12185 conftest$ac_exeext conftest.$ac_ext | 11064 conftest$ac_exeext conftest.$ac_ext |
12186 LIBS=$ac_check_lib_save_LIBS | 11065 LDFLAGS="$save_LDFLAGS" |
12187 fi | 11066 fi |
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&
5 |
12189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 11068 $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
12190 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 11069 if test "$lt_cv_irix_exported_symbol" = yes; then |
12191 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl | 11070 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' |
12192 else | 11071 fi |
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | 11072 else |
12194 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | 11073 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' |
12195 if ${ac_cv_lib_svld_dlopen+:} false; then : | 11074 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' |
| 11075 fi |
| 11076 archive_cmds_need_lc='no' |
| 11077 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11078 hardcode_libdir_separator=: |
| 11079 inherit_rpath=yes |
| 11080 link_all_deplibs=yes |
| 11081 ;; |
| 11082 |
| 11083 netbsd* | netbsdelf*-gnu) |
| 11084 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 11085 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
# a.out |
| 11086 else |
| 11087 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'
# ELF |
| 11088 fi |
| 11089 hardcode_libdir_flag_spec='-R$libdir' |
| 11090 hardcode_direct=yes |
| 11091 hardcode_shlibpath_var=no |
| 11092 ;; |
| 11093 |
| 11094 newsos6) |
| 11095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11096 hardcode_direct=yes |
| 11097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11098 hardcode_libdir_separator=: |
| 11099 hardcode_shlibpath_var=no |
| 11100 ;; |
| 11101 |
| 11102 *nto* | *qnx*) |
| 11103 ;; |
| 11104 |
| 11105 openbsd*) |
| 11106 if test -f /usr/libexec/ld.so; then |
| 11107 hardcode_direct=yes |
| 11108 hardcode_shlibpath_var=no |
| 11109 hardcode_direct_absolute=yes |
| 11110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os
-$host_cpu" = "openbsd2.8-powerpc"; then |
| 11111 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compile
r_flags' |
| 11112 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $
compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
| 11113 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 11114 export_dynamic_flag_spec='${wl}-E' |
| 11115 else |
| 11116 case $host_os in |
| 11117 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
| 11118 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_fla
gs' |
| 11119 hardcode_libdir_flag_spec='-R$libdir' |
| 11120 ;; |
| 11121 *) |
| 11122 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $comp
iler_flags' |
| 11123 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
| 11124 ;; |
| 11125 esac |
| 11126 fi |
| 11127 else |
| 11128 ld_shlibs=no |
| 11129 fi |
| 11130 ;; |
| 11131 |
| 11132 os2*) |
| 11133 hardcode_libdir_flag_spec='-L$libdir' |
| 11134 hardcode_minus_L=yes |
| 11135 allow_undefined_flag=unsupported |
| 11136 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' |
| 11137 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_obj
dir/$libname.def' |
| 11138 ;; |
| 11139 |
| 11140 osf3*) |
| 11141 if test "$GCC" = yes; then |
| 11142 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11143 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' |
| 11144 else |
| 11145 allow_undefined_flag=' -expect_unresolved \*' |
| 11146 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' |
| 11147 fi |
| 11148 archive_cmds_need_lc='no' |
| 11149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11150 hardcode_libdir_separator=: |
| 11151 ;; |
| 11152 |
| 11153 osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 11154 if test "$GCC" = yes; then |
| 11155 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
| 11156 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' |
| 11157 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
| 11158 else |
| 11159 allow_undefined_flag=' -expect_unresolved \*' |
| 11160 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' |
| 11161 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~ |
| 11162 $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' |
| 11163 |
| 11164 # Both c and cxx compiler support -rpath directly |
| 11165 hardcode_libdir_flag_spec='-rpath $libdir' |
| 11166 fi |
| 11167 archive_cmds_need_lc='no' |
| 11168 hardcode_libdir_separator=: |
| 11169 ;; |
| 11170 |
| 11171 solaris*) |
| 11172 no_undefined_flag=' -z defs' |
| 11173 if test "$GCC" = yes; then |
| 11174 wlarc='${wl}' |
| 11175 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$sona
me -o $lib $libobjs $deplibs $compiler_flags' |
| 11176 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $
SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11177 $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' |
| 11178 else |
| 11179 case `$CC -V 2>&1` in |
| 11180 *"Compilers 5.0"*) |
| 11181 wlarc='' |
| 11182 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $linker_flags' |
| 11183 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11184 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' |
| 11185 ;; |
| 11186 *) |
| 11187 wlarc='${wl}' |
| 11188 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobj
s $deplibs $compiler_flags' |
| 11189 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols |
$SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
| 11190 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' |
| 11191 ;; |
| 11192 esac |
| 11193 fi |
| 11194 hardcode_libdir_flag_spec='-R$libdir' |
| 11195 hardcode_shlibpath_var=no |
| 11196 case $host_os in |
| 11197 solaris2.[0-5] | solaris2.[0-5].*) ;; |
| 11198 *) |
| 11199 # The compiler driver will combine and reorder linker options, |
| 11200 # but understands `-z linker_flag'. GCC discards it without `$wl', |
| 11201 # but is careful enough not to reorder. |
| 11202 # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 11203 if test "$GCC" = yes; then |
| 11204 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z $
{wl}defaultextract' |
| 11205 else |
| 11206 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
| 11207 fi |
| 11208 ;; |
| 11209 esac |
| 11210 link_all_deplibs=yes |
| 11211 ;; |
| 11212 |
| 11213 sunos4*) |
| 11214 if test "x$host_vendor" = xsequent; then |
| 11215 # Use $CC to link under sequent, because it throws in some extra .o |
| 11216 # files that make .init and .fini sections work. |
| 11217 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 11218 else |
| 11219 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $
linker_flags' |
| 11220 fi |
| 11221 hardcode_libdir_flag_spec='-L$libdir' |
| 11222 hardcode_direct=yes |
| 11223 hardcode_minus_L=yes |
| 11224 hardcode_shlibpath_var=no |
| 11225 ;; |
| 11226 |
| 11227 sysv4) |
| 11228 case $host_vendor in |
| 11229 sni) |
| 11230 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' |
| 11231 hardcode_direct=yes # is this really true??? |
| 11232 ;; |
| 11233 siemens) |
| 11234 ## LD is ld it makes a PLAMLIB |
| 11235 ## CC just makes a GrossModule. |
| 11236 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
| 11237 reload_cmds='$CC -r -o $output$reload_objs' |
| 11238 hardcode_direct=no |
| 11239 ;; |
| 11240 motorola) |
| 11241 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flag
s' |
| 11242 hardcode_direct=no #Motorola manual says yes, but my tests say they li
e |
| 11243 ;; |
| 11244 esac |
| 11245 runpath_var='LD_RUN_PATH' |
| 11246 hardcode_shlibpath_var=no |
| 11247 ;; |
| 11248 |
| 11249 sysv4.3*) |
| 11250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11251 hardcode_shlibpath_var=no |
| 11252 export_dynamic_flag_spec='-Bexport' |
| 11253 ;; |
| 11254 |
| 11255 sysv4*MP*) |
| 11256 if test -d /usr/nec; then |
| 11257 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11258 hardcode_shlibpath_var=no |
| 11259 runpath_var=LD_RUN_PATH |
| 11260 hardcode_runpath_var=yes |
| 11261 ld_shlibs=yes |
| 11262 fi |
| 11263 ;; |
| 11264 |
| 11265 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.
2v5.0.[024]*) |
| 11266 no_undefined_flag='${wl}-z,text' |
| 11267 archive_cmds_need_lc=no |
| 11268 hardcode_shlibpath_var=no |
| 11269 runpath_var='LD_RUN_PATH' |
| 11270 |
| 11271 if test "$GCC" = yes; then |
| 11272 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' |
| 11273 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11274 else |
| 11275 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 11276 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' |
| 11277 fi |
| 11278 ;; |
| 11279 |
| 11280 sysv5* | sco3.2v5* | sco5v6*) |
| 11281 # Note: We can NOT use -z defs as we might desire, because we do not |
| 11282 # link with -lc, and that would cause any symbols used from libc to |
| 11283 # always be unresolved, which means just about no library would |
| 11284 # ever link correctly. If we're not using GNU ld we use -z text |
| 11285 # though, which does catch some bad symbols but isn't as heavy-handed |
| 11286 # as -z defs. |
| 11287 no_undefined_flag='${wl}-z,text' |
| 11288 allow_undefined_flag='${wl}-z,nodefs' |
| 11289 archive_cmds_need_lc=no |
| 11290 hardcode_shlibpath_var=no |
| 11291 hardcode_libdir_flag_spec='${wl}-R,$libdir' |
| 11292 hardcode_libdir_separator=':' |
| 11293 link_all_deplibs=yes |
| 11294 export_dynamic_flag_spec='${wl}-Bexport' |
| 11295 runpath_var='LD_RUN_PATH' |
| 11296 |
| 11297 if test "$GCC" = yes; then |
| 11298 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $com
piler_flags' |
| 11299 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$
soname -o $lib $libobjs $deplibs $compiler_flags' |
| 11300 else |
| 11301 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler
_flags' |
| 11302 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$sonam
e -o $lib $libobjs $deplibs $compiler_flags' |
| 11303 fi |
| 11304 ;; |
| 11305 |
| 11306 uts4*) |
| 11307 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
| 11308 hardcode_libdir_flag_spec='-L$libdir' |
| 11309 hardcode_shlibpath_var=no |
| 11310 ;; |
| 11311 |
| 11312 *) |
| 11313 ld_shlibs=no |
| 11314 ;; |
| 11315 esac |
| 11316 |
| 11317 if test x$host_vendor = xsni; then |
| 11318 case $host in |
| 11319 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 11320 export_dynamic_flag_spec='${wl}-Blargedynsym' |
| 11321 ;; |
| 11322 esac |
| 11323 fi |
| 11324 fi |
| 11325 |
| 11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
| 11327 $as_echo "$ld_shlibs" >&6; } |
| 11328 test "$ld_shlibs" = no && can_build_shared=no |
| 11329 |
| 11330 with_gnu_ld=$with_gnu_ld |
| 11331 |
| 11332 |
| 11333 |
| 11334 |
| 11335 |
| 11336 |
| 11337 |
| 11338 |
| 11339 |
| 11340 |
| 11341 |
| 11342 |
| 11343 |
| 11344 |
| 11345 |
| 11346 # |
| 11347 # Do we need to explicitly link libc? |
| 11348 # |
| 11349 case "x$archive_cmds_need_lc" in |
| 11350 x|xyes) |
| 11351 # Assume -lc should be added |
| 11352 archive_cmds_need_lc=yes |
| 11353 |
| 11354 if test "$enable_shared" = yes && test "$GCC" = yes; then |
| 11355 case $archive_cmds in |
| 11356 *'~'*) |
| 11357 # FIXME: we may have to deal with multi-command sequences. |
| 11358 ;; |
| 11359 '$CC '*) |
| 11360 # Test whether the compiler implicitly links with -lc since on some |
| 11361 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 11362 # to ld, don't add -lc before -lgcc. |
| 11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be ex
plicitly linked in" >&5 |
| 11364 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
| 11365 if ${lt_cv_archive_cmds_need_lc+:} false; then : |
12196 $as_echo_n "(cached) " >&6 | 11366 $as_echo_n "(cached) " >&6 |
12197 else | 11367 else |
12198 ac_check_lib_save_LIBS=$LIBS | 11368 $RM conftest* |
12199 LIBS="-lsvld $LIBS" | 11369 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11370 |
| 11371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; }
>&5 |
| 11372 (eval $ac_compile) 2>&5 |
| 11373 ac_status=$? |
| 11374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11375 test $ac_status = 0; } 2>conftest.err; then |
| 11376 soname=conftest |
| 11377 lib=conftest |
| 11378 libobjs=conftest.$ac_objext |
| 11379 deplibs= |
| 11380 wl=$lt_prog_compiler_wl |
| 11381 pic_flag=$lt_prog_compiler_pic |
| 11382 compiler_flags=-v |
| 11383 linker_flags=-v |
| 11384 verstring= |
| 11385 output_objdir=. |
| 11386 libname=conftest |
| 11387 lt_save_allow_undefined_flag=$allow_undefined_flag |
| 11388 allow_undefined_flag= |
| 11389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\
>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
| 11390 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
| 11391 ac_status=$? |
| 11392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 11393 test $ac_status = 0; } |
| 11394 then |
| 11395 lt_cv_archive_cmds_need_lc=no |
| 11396 else |
| 11397 lt_cv_archive_cmds_need_lc=yes |
| 11398 fi |
| 11399 allow_undefined_flag=$lt_save_allow_undefined_flag |
| 11400 else |
| 11401 cat conftest.err 1>&5 |
| 11402 fi |
| 11403 $RM conftest* |
| 11404 |
| 11405 fi |
| 11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&
5 |
| 11407 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
| 11408 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
| 11409 ;; |
| 11410 esac |
| 11411 fi |
| 11412 ;; |
| 11413 esac |
| 11414 |
| 11415 |
| 11416 |
| 11417 |
| 11418 |
| 11419 |
| 11420 |
| 11421 |
| 11422 |
| 11423 |
| 11424 |
| 11425 |
| 11426 |
| 11427 |
| 11428 |
| 11429 |
| 11430 |
| 11431 |
| 11432 |
| 11433 |
| 11434 |
| 11435 |
| 11436 |
| 11437 |
| 11438 |
| 11439 |
| 11440 |
| 11441 |
| 11442 |
| 11443 |
| 11444 |
| 11445 |
| 11446 |
| 11447 |
| 11448 |
| 11449 |
| 11450 |
| 11451 |
| 11452 |
| 11453 |
| 11454 |
| 11455 |
| 11456 |
| 11457 |
| 11458 |
| 11459 |
| 11460 |
| 11461 |
| 11462 |
| 11463 |
| 11464 |
| 11465 |
| 11466 |
| 11467 |
| 11468 |
| 11469 |
| 11470 |
| 11471 |
| 11472 |
| 11473 |
| 11474 |
| 11475 |
| 11476 |
| 11477 |
| 11478 |
| 11479 |
| 11480 |
| 11481 |
| 11482 |
| 11483 |
| 11484 |
| 11485 |
| 11486 |
| 11487 |
| 11488 |
| 11489 |
| 11490 |
| 11491 |
| 11492 |
| 11493 |
| 11494 |
| 11495 |
| 11496 |
| 11497 |
| 11498 |
| 11499 |
| 11500 |
| 11501 |
| 11502 |
| 11503 |
| 11504 |
| 11505 |
| 11506 |
| 11507 |
| 11508 |
| 11509 |
| 11510 |
| 11511 |
| 11512 |
| 11513 |
| 11514 |
| 11515 |
| 11516 |
| 11517 |
| 11518 |
| 11519 |
| 11520 |
| 11521 |
| 11522 |
| 11523 |
| 11524 |
| 11525 |
| 11526 |
| 11527 |
| 11528 |
| 11529 |
| 11530 |
| 11531 |
| 11532 |
| 11533 |
| 11534 |
| 11535 |
| 11536 |
| 11537 |
| 11538 |
| 11539 |
| 11540 |
| 11541 |
| 11542 |
| 11543 |
| 11544 |
| 11545 |
| 11546 |
| 11547 |
| 11548 |
| 11549 |
| 11550 |
| 11551 |
| 11552 |
| 11553 |
| 11554 |
| 11555 |
| 11556 |
| 11557 |
| 11558 |
| 11559 |
| 11560 |
| 11561 |
| 11562 |
| 11563 |
| 11564 |
| 11565 |
| 11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristi
cs" >&5 |
| 11567 $as_echo_n "checking dynamic linker characteristics... " >&6; } |
| 11568 |
| 11569 if test "$GCC" = yes; then |
| 11570 case $host_os in |
| 11571 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 11572 *) lt_awk_arg="/^libraries:/" ;; |
| 11573 esac |
| 11574 case $host_os in |
| 11575 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
| 11576 *) lt_sed_strip_eq="s,=/,/,g" ;; |
| 11577 esac |
| 11578 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` |
| 11579 case $lt_search_path_spec in |
| 11580 *\;*) |
| 11581 # if the path contains ";" then we assume it to be the separator |
| 11582 # otherwise default to the standard path separator (i.e. ":") - it is |
| 11583 # assumed that no part of a normal pathname contains ";" but that should |
| 11584 # okay in the real world where ";" in dirpaths is itself problematic. |
| 11585 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 11586 ;; |
| 11587 *) |
| 11588 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` |
| 11589 ;; |
| 11590 esac |
| 11591 # Ok, now we have the path, separated by spaces, we can step through it |
| 11592 # and add multilib dir if necessary. |
| 11593 lt_tmp_lt_search_path_spec= |
| 11594 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d
ev/null` |
| 11595 for lt_sys_path in $lt_search_path_spec; do |
| 11596 if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
| 11597 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m
ulti_os_dir" |
| 11598 else |
| 11599 test -d "$lt_sys_path" && \ |
| 11600 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 11601 fi |
| 11602 done |
| 11603 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 11604 BEGIN {RS=" "; FS="/|\n";} { |
| 11605 lt_foo=""; |
| 11606 lt_count=0; |
| 11607 for (lt_i = NF; lt_i > 0; lt_i--) { |
| 11608 if ($lt_i != "" && $lt_i != ".") { |
| 11609 if ($lt_i == "..") { |
| 11610 lt_count++; |
| 11611 } else { |
| 11612 if (lt_count == 0) { |
| 11613 lt_foo="/" $lt_i lt_foo; |
| 11614 } else { |
| 11615 lt_count--; |
| 11616 } |
| 11617 } |
| 11618 } |
| 11619 } |
| 11620 if (lt_foo != "") { lt_freq[lt_foo]++; } |
| 11621 if (lt_freq[lt_foo] == 1) { print lt_foo; } |
| 11622 }'` |
| 11623 # AWK program above erroneously prepends '/' to C:/dos/paths |
| 11624 # for these hosts. |
| 11625 case $host_os in |
| 11626 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 11627 $SED 's,/\([A-Za-z]:\),\1,g'` ;; |
| 11628 esac |
| 11629 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 11630 else |
| 11631 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 11632 fi |
| 11633 library_names_spec= |
| 11634 libname_spec='lib$name' |
| 11635 soname_spec= |
| 11636 shrext_cmds=".so" |
| 11637 postinstall_cmds= |
| 11638 postuninstall_cmds= |
| 11639 finish_cmds= |
| 11640 finish_eval= |
| 11641 shlibpath_var= |
| 11642 shlibpath_overrides_runpath=unknown |
| 11643 version_type=none |
| 11644 dynamic_linker="$host_os ld.so" |
| 11645 sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 11646 need_lib_prefix=unknown |
| 11647 hardcode_into_libs=no |
| 11648 |
| 11649 # when you set need_version to no, make sure it does not cause -set_version |
| 11650 # flags to be left without arguments |
| 11651 need_version=unknown |
| 11652 |
| 11653 case $host_os in |
| 11654 aix3*) |
| 11655 version_type=linux # correct to gnu/linux during the next big refactor |
| 11656 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
| 11657 shlibpath_var=LIBPATH |
| 11658 |
| 11659 # AIX 3 has no versioning support, so we append a major version to the name. |
| 11660 soname_spec='${libname}${release}${shared_ext}$major' |
| 11661 ;; |
| 11662 |
| 11663 aix[4-9]*) |
| 11664 version_type=linux # correct to gnu/linux during the next big refactor |
| 11665 need_lib_prefix=no |
| 11666 need_version=no |
| 11667 hardcode_into_libs=yes |
| 11668 if test "$host_cpu" = ia64; then |
| 11669 # AIX 5 supports IA64 |
| 11670 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' |
| 11671 shlibpath_var=LD_LIBRARY_PATH |
| 11672 else |
| 11673 # With GCC up to 2.95.x, collect2 would create an import file |
| 11674 # for dependence libraries. The import file would start with |
| 11675 # the line `#! .'. This would cause the generated library to |
| 11676 # depend on `.', always an invalid library. This was fixed in |
| 11677 # development snapshots of GCC prior to 3.0. |
| 11678 case $host_os in |
| 11679 aix4 | aix4.[01] | aix4.[01].*) |
| 11680 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 11681 echo ' yes ' |
| 11682 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
| 11683 : |
| 11684 else |
| 11685 can_build_shared=no |
| 11686 fi |
| 11687 ;; |
| 11688 esac |
| 11689 # AIX (on Power*) has no versioning support, so currently we can not hardcod
e correct |
| 11690 # soname into executable. Probably we can add versioning support to |
| 11691 # collect2, so additional links can be useful in future. |
| 11692 if test "$aix_use_runtimelinking" = yes; then |
| 11693 # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 11694 # instead of lib<name>.a to let people know that these are not |
| 11695 # typical AIX shared libraries. |
| 11696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext}$major $libname${shared_ext}' |
| 11697 else |
| 11698 # We preserve .a as extension for shared libraries through AIX4.2 |
| 11699 # and later when we are not doing run time linking. |
| 11700 library_names_spec='${libname}${release}.a $libname.a' |
| 11701 soname_spec='${libname}${release}${shared_ext}$major' |
| 11702 fi |
| 11703 shlibpath_var=LIBPATH |
| 11704 fi |
| 11705 ;; |
| 11706 |
| 11707 amigaos*) |
| 11708 case $host_cpu in |
| 11709 powerpc) |
| 11710 # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 11711 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 11712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11713 ;; |
| 11714 m68k) |
| 11715 library_names_spec='$libname.ixlibrary $libname.a' |
| 11716 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 11717 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' |
| 11718 ;; |
| 11719 esac |
| 11720 ;; |
| 11721 |
| 11722 beos*) |
| 11723 library_names_spec='${libname}${shared_ext}' |
| 11724 dynamic_linker="$host_os ld.so" |
| 11725 shlibpath_var=LIBRARY_PATH |
| 11726 ;; |
| 11727 |
| 11728 bsdi[45]*) |
| 11729 version_type=linux # correct to gnu/linux during the next big refactor |
| 11730 need_version=no |
| 11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 11732 soname_spec='${libname}${release}${shared_ext}$major' |
| 11733 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 11734 shlibpath_var=LD_LIBRARY_PATH |
| 11735 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" |
| 11736 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 11737 # the default ld.so.conf also contains /usr/contrib/lib and |
| 11738 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 11739 # libtool to hard-code these into programs |
| 11740 ;; |
| 11741 |
| 11742 cygwin* | mingw* | pw32* | cegcc*) |
| 11743 version_type=windows |
| 11744 shrext_cmds=".dll" |
| 11745 need_version=no |
| 11746 need_lib_prefix=no |
| 11747 |
| 11748 case $GCC,$cc_basename in |
| 11749 yes,*) |
| 11750 # gcc |
| 11751 library_names_spec='$libname.dll.a' |
| 11752 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11753 postinstall_cmds='base_file=`basename \${file}`~ |
| 11754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ |
| 11755 dldir=$destdir/`dirname \$dlpath`~ |
| 11756 test -d \$dldir || mkdir -p \$dldir~ |
| 11757 $install_prog $dir/$dlname \$dldir/$dlname~ |
| 11758 chmod a+x \$dldir/$dlname~ |
| 11759 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 11760 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 11761 fi' |
| 11762 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 11763 dlpath=$dir/\$dldll~ |
| 11764 $RM \$dlpath' |
| 11765 shlibpath_overrides_runpath=yes |
| 11766 |
| 11767 case $host_os in |
| 11768 cygwin*) |
| 11769 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 11770 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S
ED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11771 |
| 11772 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
| 11773 ;; |
| 11774 mingw* | cegcc*) |
| 11775 # MinGW DLLs use traditional 'lib' prefix |
| 11776 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}
${shared_ext}' |
| 11777 ;; |
| 11778 pw32*) |
| 11779 # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 11780 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release
} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
| 11781 ;; |
| 11782 esac |
| 11783 dynamic_linker='Win32 ld.exe' |
| 11784 ;; |
| 11785 |
| 11786 *,cl*) |
| 11787 # Native MSVC |
| 11788 libname_spec='$name' |
| 11789 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${
shared_ext}' |
| 11790 library_names_spec='${libname}.dll.lib' |
| 11791 |
| 11792 case $build_os in |
| 11793 mingw*) |
| 11794 sys_lib_search_path_spec= |
| 11795 lt_save_ifs=$IFS |
| 11796 IFS=';' |
| 11797 for lt_path in $LIB |
| 11798 do |
| 11799 IFS=$lt_save_ifs |
| 11800 # Let DOS variable expansion print the short 8.3 style file name. |
| 11801 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` |
| 11802 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 11803 done |
| 11804 IFS=$lt_save_ifs |
| 11805 # Convert to MSYS style. |
| 11806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
| 11807 ;; |
| 11808 cygwin*) |
| 11809 # Convert to unix form, then to dos form, then back to unix form |
| 11810 # but this time dos style (no spaces!) so that the unix form looks |
| 11811 # like /cygdrive/c/PROGRA~1:/cygdr... |
| 11812 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 11813 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` |
| 11814 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 11815 ;; |
| 11816 *) |
| 11817 sys_lib_search_path_spec="$LIB" |
| 11818 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; the
n |
| 11819 # It is most probably a Windows format PATH. |
| 11820 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` |
| 11821 else |
| 11822 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` |
| 11823 fi |
| 11824 # FIXME: find the short name or the path components, as spaces are |
| 11825 # common. (e.g. "Program Files" -> "PROGRA~1") |
| 11826 ;; |
| 11827 esac |
| 11828 |
| 11829 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 11830 postinstall_cmds='base_file=`basename \${file}`~ |
| 11831 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ |
| 11832 dldir=$destdir/`dirname \$dlpath`~ |
| 11833 test -d \$dldir || mkdir -p \$dldir~ |
| 11834 $install_prog $dir/$dlname \$dldir/$dlname' |
| 11835 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 11836 dlpath=$dir/\$dldll~ |
| 11837 $RM \$dlpath' |
| 11838 shlibpath_overrides_runpath=yes |
| 11839 dynamic_linker='Win32 link.exe' |
| 11840 ;; |
| 11841 |
| 11842 *) |
| 11843 # Assume MSVC wrapper |
| 11844 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versu
ffix}${shared_ext} $libname.lib' |
| 11845 dynamic_linker='Win32 ld.exe' |
| 11846 ;; |
| 11847 esac |
| 11848 # FIXME: first we should search . and the directory the executable is in |
| 11849 shlibpath_var=PATH |
| 11850 ;; |
| 11851 |
| 11852 darwin* | rhapsody*) |
| 11853 dynamic_linker="$host_os dyld" |
| 11854 version_type=darwin |
| 11855 need_lib_prefix=no |
| 11856 need_version=no |
| 11857 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_
ext' |
| 11858 soname_spec='${libname}${release}${major}$shared_ext' |
| 11859 shlibpath_overrides_runpath=yes |
| 11860 shlibpath_var=DYLD_LIBRARY_PATH |
| 11861 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 11862 |
| 11863 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
| 11864 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 11865 ;; |
| 11866 |
| 11867 dgux*) |
| 11868 version_type=linux # correct to gnu/linux during the next big refactor |
| 11869 need_lib_prefix=no |
| 11870 need_version=no |
| 11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname$shared_ext' |
| 11872 soname_spec='${libname}${release}${shared_ext}$major' |
| 11873 shlibpath_var=LD_LIBRARY_PATH |
| 11874 ;; |
| 11875 |
| 11876 freebsd* | dragonfly*) |
| 11877 # DragonFly does not have aout. When/if they implement a new |
| 11878 # versioning mechanism, adjust this. |
| 11879 if test -x /usr/bin/objformat; then |
| 11880 objformat=`/usr/bin/objformat` |
| 11881 else |
| 11882 case $host_os in |
| 11883 freebsd[23].*) objformat=aout ;; |
| 11884 *) objformat=elf ;; |
| 11885 esac |
| 11886 fi |
| 11887 version_type=freebsd-$objformat |
| 11888 case $version_type in |
| 11889 freebsd-elf*) |
| 11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext} $libname${shared_ext}' |
| 11891 need_version=no |
| 11892 need_lib_prefix=no |
| 11893 ;; |
| 11894 freebsd-*) |
| 11895 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${
shared_ext}$versuffix' |
| 11896 need_version=yes |
| 11897 ;; |
| 11898 esac |
| 11899 shlibpath_var=LD_LIBRARY_PATH |
| 11900 case $host_os in |
| 11901 freebsd2.*) |
| 11902 shlibpath_overrides_runpath=yes |
| 11903 ;; |
| 11904 freebsd3.[01]* | freebsdelf3.[01]*) |
| 11905 shlibpath_overrides_runpath=yes |
| 11906 hardcode_into_libs=yes |
| 11907 ;; |
| 11908 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
| 11909 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
| 11910 shlibpath_overrides_runpath=no |
| 11911 hardcode_into_libs=yes |
| 11912 ;; |
| 11913 *) # from 4.6 on, and DragonFly |
| 11914 shlibpath_overrides_runpath=yes |
| 11915 hardcode_into_libs=yes |
| 11916 ;; |
| 11917 esac |
| 11918 ;; |
| 11919 |
| 11920 haiku*) |
| 11921 version_type=linux # correct to gnu/linux during the next big refactor |
| 11922 need_lib_prefix=no |
| 11923 need_version=no |
| 11924 dynamic_linker="$host_os runtime_loader" |
| 11925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' |
| 11926 soname_spec='${libname}${release}${shared_ext}$major' |
| 11927 shlibpath_var=LIBRARY_PATH |
| 11928 shlibpath_overrides_runpath=yes |
| 11929 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' |
| 11930 hardcode_into_libs=yes |
| 11931 ;; |
| 11932 |
| 11933 hpux9* | hpux10* | hpux11*) |
| 11934 # Give a soname corresponding to the major version so that dld.sl refuses to |
| 11935 # link against other versions. |
| 11936 version_type=sunos |
| 11937 need_lib_prefix=no |
| 11938 need_version=no |
| 11939 case $host_cpu in |
| 11940 ia64*) |
| 11941 shrext_cmds='.so' |
| 11942 hardcode_into_libs=yes |
| 11943 dynamic_linker="$host_os dld.so" |
| 11944 shlibpath_var=LD_LIBRARY_PATH |
| 11945 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11947 soname_spec='${libname}${release}${shared_ext}$major' |
| 11948 if test "X$HPUX_IA64_MODE" = X32; then |
| 11949 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" |
| 11950 else |
| 11951 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 11952 fi |
| 11953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11954 ;; |
| 11955 hppa*64*) |
| 11956 shrext_cmds='.sl' |
| 11957 hardcode_into_libs=yes |
| 11958 dynamic_linker="$host_os dld.sl" |
| 11959 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 11960 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 11961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11962 soname_spec='${libname}${release}${shared_ext}$major' |
| 11963 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 11964 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 11965 ;; |
| 11966 *) |
| 11967 shrext_cmds='.sl' |
| 11968 dynamic_linker="$host_os dld.sl" |
| 11969 shlibpath_var=SHLIB_PATH |
| 11970 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' |
| 11972 soname_spec='${libname}${release}${shared_ext}$major' |
| 11973 ;; |
| 11974 esac |
| 11975 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 11976 postinstall_cmds='chmod 555 $lib' |
| 11977 # or fails outright, so override atomically: |
| 11978 install_override_mode=555 |
| 11979 ;; |
| 11980 |
| 11981 interix[3-9]*) |
| 11982 version_type=linux # correct to gnu/linux during the next big refactor |
| 11983 need_lib_prefix=no |
| 11984 need_version=no |
| 11985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' |
| 11986 soname_spec='${libname}${release}${shared_ext}$major' |
| 11987 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 11988 shlibpath_var=LD_LIBRARY_PATH |
| 11989 shlibpath_overrides_runpath=no |
| 11990 hardcode_into_libs=yes |
| 11991 ;; |
| 11992 |
| 11993 irix5* | irix6* | nonstopux*) |
| 11994 case $host_os in |
| 11995 nonstopux*) version_type=nonstopux ;; |
| 11996 *) |
| 11997 if test "$lt_cv_prog_gnu_ld" = yes; then |
| 11998 version_type=linux # correct to gnu/linux during the next big re
factor |
| 11999 else |
| 12000 version_type=irix |
| 12001 fi ;; |
| 12002 esac |
| 12003 need_lib_prefix=no |
| 12004 need_version=no |
| 12005 soname_spec='${libname}${release}${shared_ext}$major' |
| 12006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext
}' |
| 12007 case $host_os in |
| 12008 irix5* | nonstopux*) |
| 12009 libsuff= shlibsuff= |
| 12010 ;; |
| 12011 *) |
| 12012 case $LD in # libtool.m4 will add one of these switches to LD |
| 12013 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 12014 libsuff= shlibsuff= libmagic=32-bit;; |
| 12015 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 12016 libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 12017 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 12018 libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 12019 *) libsuff= shlibsuff= libmagic=never-match;; |
| 12020 esac |
| 12021 ;; |
| 12022 esac |
| 12023 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 12024 shlibpath_overrides_runpath=no |
| 12025 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li
bsuff}" |
| 12026 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
| 12027 hardcode_into_libs=yes |
| 12028 ;; |
| 12029 |
| 12030 # No shared lib support for Linux oldld, aout, or coff. |
| 12031 linux*oldld* | linux*aout* | linux*coff*) |
| 12032 dynamic_linker=no |
| 12033 ;; |
| 12034 |
| 12035 # This must be glibc/ELF. |
| 12036 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 12037 version_type=linux # correct to gnu/linux during the next big refactor |
| 12038 need_lib_prefix=no |
| 12039 need_version=no |
| 12040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12041 soname_spec='${libname}${release}${shared_ext}$major' |
| 12042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 12043 shlibpath_var=LD_LIBRARY_PATH |
| 12044 shlibpath_overrides_runpath=no |
| 12045 |
| 12046 # Some binutils ld are patched to set DT_RUNPATH |
| 12047 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
| 12048 $as_echo_n "(cached) " >&6 |
| 12049 else |
| 12050 lt_cv_shlibpath_overrides_runpath=no |
| 12051 save_LDFLAGS=$LDFLAGS |
| 12052 save_libdir=$libdir |
| 12053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
| 12054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
| 12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12201 /* end confdefs.h. */ | 12056 /* end confdefs.h. */ |
12202 | 12057 |
12203 /* Override any GCC internal prototype to avoid an error. | |
12204 Use char because int might match the return type of a GCC | |
12205 builtin and then its argument prototype would still apply. */ | |
12206 #ifdef __cplusplus | |
12207 extern "C" | |
12208 #endif | |
12209 char dlopen (); | |
12210 int | 12058 int |
12211 main () | 12059 main () |
12212 { | |
12213 return dlopen (); | |
12214 ; | |
12215 return 0; | |
12216 } | |
12217 _ACEOF | |
12218 if ac_fn_c_try_link "$LINENO"; then : | |
12219 ac_cv_lib_svld_dlopen=yes | |
12220 else | |
12221 ac_cv_lib_svld_dlopen=no | |
12222 fi | |
12223 rm -f core conftest.err conftest.$ac_objext \ | |
12224 conftest$ac_exeext conftest.$ac_ext | |
12225 LIBS=$ac_check_lib_save_LIBS | |
12226 fi | |
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | |
12228 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | |
12229 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | |
12230 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld | |
12231 else | |
12232 { $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; } | |
12234 if ${ac_cv_lib_dld_dld_link+:} false; then : | |
12235 $as_echo_n "(cached) " >&6 | |
12236 else | |
12237 ac_check_lib_save_LIBS=$LIBS | |
12238 LIBS="-ldld $LIBS" | |
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
12240 /* end confdefs.h. */ | |
12241 | |
12242 /* Override any GCC internal prototype to avoid an error. | |
12243 Use char because int might match the return type of a GCC | |
12244 builtin and then its argument prototype would still apply. */ | |
12245 #ifdef __cplusplus | |
12246 extern "C" | |
12247 #endif | |
12248 char dld_link (); | |
12249 int | |
12250 main () | |
12251 { | |
12252 return dld_link (); | |
12253 ; | |
12254 return 0; | |
12255 } | |
12256 _ACEOF | |
12257 if ac_fn_c_try_link "$LINENO"; then : | |
12258 ac_cv_lib_dld_dld_link=yes | |
12259 else | |
12260 ac_cv_lib_dld_dld_link=no | |
12261 fi | |
12262 rm -f core conftest.err conftest.$ac_objext \ | |
12263 conftest$ac_exeext conftest.$ac_ext | |
12264 LIBS=$ac_check_lib_save_LIBS | |
12265 fi | |
12266 { $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; } | |
12268 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | |
12269 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld | |
12270 fi | |
12271 | |
12272 | |
12273 fi | |
12274 | |
12275 | |
12276 fi | |
12277 | |
12278 | |
12279 fi | |
12280 | |
12281 | |
12282 fi | |
12283 | |
12284 | |
12285 fi | |
12286 | |
12287 ;; | |
12288 esac | |
12289 | |
12290 if test no = "$lt_cv_dlopen"; then | |
12291 enable_dlopen=no | |
12292 else | |
12293 enable_dlopen=yes | |
12294 fi | |
12295 | |
12296 case $lt_cv_dlopen in | |
12297 dlopen) | |
12298 save_CPPFLAGS=$CPPFLAGS | |
12299 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | |
12300 | |
12301 save_LDFLAGS=$LDFLAGS | |
12302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | |
12303 | |
12304 save_LIBS=$LIBS | |
12305 LIBS="$lt_cv_dlopen_libs $LIBS" | |
12306 | |
12307 { $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; } | |
12309 if ${lt_cv_dlopen_self+:} false; then : | |
12310 $as_echo_n "(cached) " >&6 | |
12311 else | |
12312 if test yes = "$cross_compiling"; then : | |
12313 lt_cv_dlopen_self=cross | |
12314 else | |
12315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
12316 lt_status=$lt_dlunknown | |
12317 cat > conftest.$ac_ext <<_LT_EOF | |
12318 #line $LINENO "configure" | |
12319 #include "confdefs.h" | |
12320 | |
12321 #if HAVE_DLFCN_H | |
12322 #include <dlfcn.h> | |
12323 #endif | |
12324 | |
12325 #include <stdio.h> | |
12326 | |
12327 #ifdef RTLD_GLOBAL | |
12328 # define LT_DLGLOBAL RTLD_GLOBAL | |
12329 #else | |
12330 # ifdef DL_GLOBAL | |
12331 # define LT_DLGLOBAL DL_GLOBAL | |
12332 # else | |
12333 # define LT_DLGLOBAL 0 | |
12334 # endif | |
12335 #endif | |
12336 | |
12337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
12338 find out it does not work in some platform. */ | |
12339 #ifndef LT_DLLAZY_OR_NOW | |
12340 # ifdef RTLD_LAZY | |
12341 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
12342 # else | |
12343 # ifdef DL_LAZY | |
12344 # define LT_DLLAZY_OR_NOW DL_LAZY | |
12345 # else | |
12346 # ifdef RTLD_NOW | |
12347 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
12348 # else | |
12349 # ifdef DL_NOW | |
12350 # define LT_DLLAZY_OR_NOW DL_NOW | |
12351 # else | |
12352 # define LT_DLLAZY_OR_NOW 0 | |
12353 # endif | |
12354 # endif | |
12355 # endif | |
12356 # endif | |
12357 #endif | |
12358 | |
12359 /* When -fvisibility=hidden is used, assume the code has been annotated | |
12360 correspondingly for the symbols needed. */ | |
12361 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__
> 3)) | |
12362 int fnord () __attribute__((visibility("default"))); | |
12363 #endif | |
12364 | |
12365 int fnord () { return 42; } | |
12366 int main () | |
12367 { | |
12368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
12369 int status = $lt_dlunknown; | |
12370 | |
12371 if (self) | |
12372 { | |
12373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
12374 else | |
12375 { | |
12376 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
12377 else puts (dlerror ()); | |
12378 } | |
12379 /* dlclose (self); */ | |
12380 } | |
12381 else | |
12382 puts (dlerror ()); | |
12383 | |
12384 return status; | |
12385 } | |
12386 _LT_EOF | |
12387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
12388 (eval $ac_link) 2>&5 | |
12389 ac_status=$? | |
12390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
12391 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then | |
12392 (./conftest; exit; ) >&5 2>/dev/null | |
12393 lt_status=$? | |
12394 case x$lt_status in | |
12395 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | |
12396 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | |
12397 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | |
12398 esac | |
12399 else : | |
12400 # compilation failed | |
12401 lt_cv_dlopen_self=no | |
12402 fi | |
12403 fi | |
12404 rm -fr conftest* | |
12405 | |
12406 | |
12407 fi | |
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | |
12409 $as_echo "$lt_cv_dlopen_self" >&6; } | |
12410 | |
12411 if test yes = "$lt_cv_dlopen_self"; then | |
12412 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 | |
12414 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } | |
12415 if ${lt_cv_dlopen_self_static+:} false; then : | |
12416 $as_echo_n "(cached) " >&6 | |
12417 else | |
12418 if test yes = "$cross_compiling"; then : | |
12419 lt_cv_dlopen_self_static=cross | |
12420 else | |
12421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | |
12422 lt_status=$lt_dlunknown | |
12423 cat > conftest.$ac_ext <<_LT_EOF | |
12424 #line $LINENO "configure" | |
12425 #include "confdefs.h" | |
12426 | |
12427 #if HAVE_DLFCN_H | |
12428 #include <dlfcn.h> | |
12429 #endif | |
12430 | |
12431 #include <stdio.h> | |
12432 | |
12433 #ifdef RTLD_GLOBAL | |
12434 # define LT_DLGLOBAL RTLD_GLOBAL | |
12435 #else | |
12436 # ifdef DL_GLOBAL | |
12437 # define LT_DLGLOBAL DL_GLOBAL | |
12438 # else | |
12439 # define LT_DLGLOBAL 0 | |
12440 # endif | |
12441 #endif | |
12442 | |
12443 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | |
12444 find out it does not work in some platform. */ | |
12445 #ifndef LT_DLLAZY_OR_NOW | |
12446 # ifdef RTLD_LAZY | |
12447 # define LT_DLLAZY_OR_NOW RTLD_LAZY | |
12448 # else | |
12449 # ifdef DL_LAZY | |
12450 # define LT_DLLAZY_OR_NOW DL_LAZY | |
12451 # else | |
12452 # ifdef RTLD_NOW | |
12453 # define LT_DLLAZY_OR_NOW RTLD_NOW | |
12454 # else | |
12455 # ifdef DL_NOW | |
12456 # define LT_DLLAZY_OR_NOW DL_NOW | |
12457 # else | |
12458 # define LT_DLLAZY_OR_NOW 0 | |
12459 # endif | |
12460 # endif | |
12461 # endif | |
12462 # endif | |
12463 #endif | |
12464 | |
12465 /* When -fvisibility=hidden is used, assume the code has been annotated | |
12466 correspondingly for the symbols needed. */ | |
12467 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__
> 3)) | |
12468 int fnord () __attribute__((visibility("default"))); | |
12469 #endif | |
12470 | |
12471 int fnord () { return 42; } | |
12472 int main () | |
12473 { | |
12474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | |
12475 int status = $lt_dlunknown; | |
12476 | |
12477 if (self) | |
12478 { | |
12479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | |
12480 else | |
12481 { | |
12482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | |
12483 else puts (dlerror ()); | |
12484 } | |
12485 /* dlclose (self); */ | |
12486 } | |
12487 else | |
12488 puts (dlerror ()); | |
12489 | |
12490 return status; | |
12491 } | |
12492 _LT_EOF | |
12493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | |
12494 (eval $ac_link) 2>&5 | |
12495 ac_status=$? | |
12496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
12497 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then | |
12498 (./conftest; exit; ) >&5 2>/dev/null | |
12499 lt_status=$? | |
12500 case x$lt_status in | |
12501 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | |
12502 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | |
12503 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | |
12504 esac | |
12505 else : | |
12506 # compilation failed | |
12507 lt_cv_dlopen_self_static=no | |
12508 fi | |
12509 fi | |
12510 rm -fr conftest* | |
12511 | |
12512 | |
12513 fi | |
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | |
12515 $as_echo "$lt_cv_dlopen_self_static" >&6; } | |
12516 fi | |
12517 | |
12518 CPPFLAGS=$save_CPPFLAGS | |
12519 LDFLAGS=$save_LDFLAGS | |
12520 LIBS=$save_LIBS | |
12521 ;; | |
12522 esac | |
12523 | |
12524 case $lt_cv_dlopen_self in | |
12525 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | |
12526 *) enable_dlopen_self=unknown ;; | |
12527 esac | |
12528 | |
12529 case $lt_cv_dlopen_self_static in | |
12530 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | |
12531 *) enable_dlopen_self_static=unknown ;; | |
12532 esac | |
12533 fi | |
12534 | |
12535 | |
12536 | |
12537 | |
12538 | |
12539 | |
12540 | |
12541 | |
12542 | |
12543 | |
12544 | |
12545 | |
12546 | |
12547 | |
12548 | |
12549 | |
12550 | |
12551 striplib= | |
12552 old_striplib= | |
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is
possible" >&5 | |
12554 $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 | |
12556 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | |
12557 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | |
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
12559 $as_echo "yes" >&6; } | |
12560 else | |
12561 # FIXME - insert some real tests, host_os isn't really good enough | |
12562 case $host_os in | |
12563 darwin*) | |
12564 if test -n "$STRIP"; then | |
12565 striplib="$STRIP -x" | |
12566 old_striplib="$STRIP -S" | |
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
12568 $as_echo "yes" >&6; } | |
12569 else | |
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
12571 $as_echo "no" >&6; } | |
12572 fi | |
12573 ;; | |
12574 *) | |
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
12576 $as_echo "no" >&6; } | |
12577 ;; | |
12578 esac | |
12579 fi | |
12580 | |
12581 | |
12582 | |
12583 | |
12584 | |
12585 | |
12586 | |
12587 | |
12588 | |
12589 | |
12590 | |
12591 | |
12592 # Report what library types will actually be built | |
12593 { $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; } | |
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | |
12596 $as_echo "$can_build_shared" >&6; } | |
12597 | |
12598 { $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; } | |
12600 test no = "$can_build_shared" && enable_shared=no | |
12601 | |
12602 # On AIX, shared libraries and static libraries use the same namespace, and | |
12603 # are all built from PIC. | |
12604 case $host_os in | |
12605 aix3*) | |
12606 test yes = "$enable_shared" && enable_static=no | |
12607 if test -n "$RANLIB"; then | |
12608 archive_cmds="$archive_cmds~\$RANLIB \$lib" | |
12609 postinstall_cmds='$RANLIB $lib' | |
12610 fi | |
12611 ;; | |
12612 | |
12613 aix[4-9]*) | |
12614 if test ia64 != "$host_cpu"; then | |
12615 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in | |
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 | |
12621 ;; | |
12622 esac | |
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | |
12624 $as_echo "$enable_shared" >&6; } | |
12625 | |
12626 { $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; } | |
12628 # Make sure either enable_shared or enable_static is yes. | |
12629 test yes = "$enable_shared" || enable_static=yes | |
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | |
12631 $as_echo "$enable_static" >&6; } | |
12632 | |
12633 | |
12634 | |
12635 | |
12636 fi | |
12637 ac_ext=c | |
12638 ac_cpp='$CPP $CPPFLAGS' | |
12639 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' | |
12641 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
12642 | |
12643 CC=$lt_save_CC | |
12644 | |
12645 | |
12646 | |
12647 | |
12648 | |
12649 | |
12650 | |
12651 | |
12652 | |
12653 | |
12654 | |
12655 | |
12656 | |
12657 | |
12658 | |
12659 ac_config_commands="$ac_config_commands libtool" | |
12660 | |
12661 | |
12662 | |
12663 | |
12664 # Only expand once: | |
12665 | |
12666 | |
12667 | |
12668 VERSION_SCRIPT_FLAGS= | |
12669 # lt_cv_prog_gnu_ld is from libtool 2.+ | |
12670 if test "$lt_cv_prog_gnu_ld" = yes; then | |
12671 VERSION_SCRIPT_FLAGS=-Wl,--version-script= | |
12672 else | |
12673 case $host in | |
12674 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";; | |
12675 esac | |
12676 fi | |
12677 | |
12678 if test -n "$VERSION_SCRIPT_FLAGS"; then | |
12679 USE_VERSION_SCRIPT_TRUE= | |
12680 USE_VERSION_SCRIPT_FALSE='#' | |
12681 else | |
12682 USE_VERSION_SCRIPT_TRUE='#' | |
12683 USE_VERSION_SCRIPT_FALSE= | |
12684 fi | |
12685 | |
12686 | |
12687 | |
12688 _cppflags="${CPPFLAGS}" | |
12689 _libs="${LIBS}" | |
12690 | |
12691 | |
12692 # Check whether --with-c14n was given. | |
12693 if test "${with_c14n+set}" = set; then : | |
12694 withval=$with_c14n; | |
12695 fi | |
12696 | |
12697 | |
12698 # Check whether --with-catalog was given. | |
12699 if test "${with_catalog+set}" = set; then : | |
12700 withval=$with_catalog; | |
12701 fi | |
12702 | |
12703 | |
12704 # Check whether --with-debug was given. | |
12705 if test "${with_debug+set}" = set; then : | |
12706 withval=$with_debug; | |
12707 fi | |
12708 | |
12709 | |
12710 # Check whether --with-docbook was given. | |
12711 if test "${with_docbook+set}" = set; then : | |
12712 withval=$with_docbook; | |
12713 fi | |
12714 | |
12715 | |
12716 # Check whether --with-fexceptions was given. | |
12717 if test "${with_fexceptions+set}" = set; then : | |
12718 withval=$with_fexceptions; | |
12719 fi | |
12720 | |
12721 | |
12722 # Check whether --with-ftp was given. | |
12723 if test "${with_ftp+set}" = set; then : | |
12724 withval=$with_ftp; | |
12725 fi | |
12726 | |
12727 | |
12728 # Check whether --with-history was given. | |
12729 if test "${with_history+set}" = set; then : | |
12730 withval=$with_history; | |
12731 fi | |
12732 | |
12733 | |
12734 # Check whether --with-html was given. | |
12735 if test "${with_html+set}" = set; then : | |
12736 withval=$with_html; | |
12737 fi | |
12738 | |
12739 | |
12740 # Check whether --with-html-dir was given. | |
12741 if test "${with_html_dir+set}" = set; then : | |
12742 withval=$with_html_dir; HTML_DIR=$withval | |
12743 else | |
12744 HTML_DIR='$(datadir)/doc' | |
12745 fi | |
12746 | |
12747 | |
12748 | |
12749 # Check whether --with-html-subdir was given. | |
12750 if test "${with_html_subdir+set}" = set; then : | |
12751 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$wit
hval" | |
12752 else | |
12753 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" | |
12754 fi | |
12755 | |
12756 | |
12757 | |
12758 # Check whether --with-http was given. | |
12759 if test "${with_http+set}" = set; then : | |
12760 withval=$with_http; | |
12761 fi | |
12762 | |
12763 | |
12764 # Check whether --with-iconv was given. | |
12765 if test "${with_iconv+set}" = set; then : | |
12766 withval=$with_iconv; | |
12767 fi | |
12768 | |
12769 | |
12770 # Check whether --with-icu was given. | |
12771 if test "${with_icu+set}" = set; then : | |
12772 withval=$with_icu; | |
12773 fi | |
12774 | |
12775 | |
12776 # Check whether --with-iso8859x was given. | |
12777 if test "${with_iso8859x+set}" = set; then : | |
12778 withval=$with_iso8859x; | |
12779 fi | |
12780 | |
12781 | |
12782 # Check whether --with-legacy was given. | |
12783 if test "${with_legacy+set}" = set; then : | |
12784 withval=$with_legacy; | |
12785 fi | |
12786 | |
12787 | |
12788 # Check whether --with-mem_debug was given. | |
12789 if test "${with_mem_debug+set}" = set; then : | |
12790 withval=$with_mem_debug; | |
12791 fi | |
12792 | |
12793 | |
12794 # Check whether --with-minimum was given. | |
12795 if test "${with_minimum+set}" = set; then : | |
12796 withval=$with_minimum; | |
12797 fi | |
12798 | |
12799 | |
12800 # Check whether --with-output was given. | |
12801 if test "${with_output+set}" = set; then : | |
12802 withval=$with_output; | |
12803 fi | |
12804 | |
12805 | |
12806 # Check whether --with-pattern was given. | |
12807 if test "${with_pattern+set}" = set; then : | |
12808 withval=$with_pattern; | |
12809 fi | |
12810 | |
12811 | |
12812 # Check whether --with-push was given. | |
12813 if test "${with_push+set}" = set; then : | |
12814 withval=$with_push; | |
12815 fi | |
12816 | |
12817 | |
12818 # Check whether --with-python was given. | |
12819 if test "${with_python+set}" = set; then : | |
12820 withval=$with_python; | |
12821 fi | |
12822 | |
12823 | |
12824 # Check whether --with-python_install_dir was given. | |
12825 if test "${with_python_install_dir+set}" = set; then : | |
12826 withval=$with_python_install_dir; | |
12827 fi | |
12828 | |
12829 | |
12830 # Check whether --with-reader was given. | |
12831 if test "${with_reader+set}" = set; then : | |
12832 withval=$with_reader; | |
12833 fi | |
12834 | |
12835 | |
12836 # Check whether --with-readline was given. | |
12837 if test "${with_readline+set}" = set; then : | |
12838 withval=$with_readline; | |
12839 if test "$withval" != "no" -a "$withval" != "yes"; then | |
12840 RDL_DIR=$withval | |
12841 CPPFLAGS="${CPPFLAGS} -I$withval/include" | |
12842 LIBS="${LIBS} -L$withval/lib" | |
12843 fi | |
12844 | |
12845 fi | |
12846 | |
12847 | |
12848 # Check whether --with-regexps was given. | |
12849 if test "${with_regexps+set}" = set; then : | |
12850 withval=$with_regexps; | |
12851 fi | |
12852 | |
12853 | |
12854 # Check whether --with-run_debug was given. | |
12855 if test "${with_run_debug+set}" = set; then : | |
12856 withval=$with_run_debug; | |
12857 fi | |
12858 | |
12859 | |
12860 # Check whether --with-sax1 was given. | |
12861 if test "${with_sax1+set}" = set; then : | |
12862 withval=$with_sax1; | |
12863 fi | |
12864 | |
12865 | |
12866 # Check whether --with-schemas was given. | |
12867 if test "${with_schemas+set}" = set; then : | |
12868 withval=$with_schemas; | |
12869 fi | |
12870 | |
12871 | |
12872 # Check whether --with-schematron was given. | |
12873 if test "${with_schematron+set}" = set; then : | |
12874 withval=$with_schematron; | |
12875 fi | |
12876 | |
12877 | |
12878 # Check whether --with-threads was given. | |
12879 if test "${with_threads+set}" = set; then : | |
12880 withval=$with_threads; | |
12881 fi | |
12882 | |
12883 | |
12884 # Check whether --with-thread-alloc was given. | |
12885 if test "${with_thread_alloc+set}" = set; then : | |
12886 withval=$with_thread_alloc; | |
12887 fi | |
12888 | |
12889 | |
12890 # Check whether --with-tree was given. | |
12891 if test "${with_tree+set}" = set; then : | |
12892 withval=$with_tree; | |
12893 fi | |
12894 | |
12895 | |
12896 # Check whether --with-valid was given. | |
12897 if test "${with_valid+set}" = set; then : | |
12898 withval=$with_valid; | |
12899 fi | |
12900 | |
12901 | |
12902 # Check whether --with-writer was given. | |
12903 if test "${with_writer+set}" = set; then : | |
12904 withval=$with_writer; | |
12905 fi | |
12906 | |
12907 | |
12908 # Check whether --with-xinclude was given. | |
12909 if test "${with_xinclude+set}" = set; then : | |
12910 withval=$with_xinclude; | |
12911 fi | |
12912 | |
12913 | |
12914 # Check whether --with-xpath was given. | |
12915 if test "${with_xpath+set}" = set; then : | |
12916 withval=$with_xpath; | |
12917 fi | |
12918 | |
12919 | |
12920 # Check whether --with-xptr was given. | |
12921 if test "${with_xptr+set}" = set; then : | |
12922 withval=$with_xptr; | |
12923 fi | |
12924 | |
12925 | |
12926 # Check whether --with-modules was given. | |
12927 if test "${with_modules+set}" = set; then : | |
12928 withval=$with_modules; | |
12929 fi | |
12930 | |
12931 | |
12932 # Check whether --with-zlib was given. | |
12933 if test "${with_zlib+set}" = set; then : | |
12934 withval=$with_zlib; | |
12935 if test "$withval" != "no" -a "$withval" != "yes"; then | |
12936 Z_DIR=$withval | |
12937 CPPFLAGS="${CPPFLAGS} -I$withval/include" | |
12938 LIBS="${LIBS} -L$withval/lib" | |
12939 fi | |
12940 | |
12941 fi | |
12942 | |
12943 | |
12944 # Check whether --with-lzma was given. | |
12945 if test "${with_lzma+set}" = set; then : | |
12946 withval=$with_lzma; | |
12947 if test "$withval" != "no" -a "$withval" != "yes"; then | |
12948 LZMA_DIR=$withval | |
12949 CPPFLAGS="${CPPFLAGS} -I$withval/include" | |
12950 LIBS="${LIBS} -L$withval/lib" | |
12951 fi | |
12952 | |
12953 fi | |
12954 | |
12955 | |
12956 # Check whether --with-coverage was given. | |
12957 if test "${with_coverage+set}" = set; then : | |
12958 withval=$with_coverage; | |
12959 fi | |
12960 | |
12961 | |
12962 # Check whether --enable-rebuild-docs was given. | |
12963 if test "${enable_rebuild_docs+set}" = set; then : | |
12964 enableval=$enable_rebuild_docs; | |
12965 fi | |
12966 | |
12967 if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then | |
12968 as_fn_error $? "cannot rebuild docs when builddir != srcdir" "$LINENO" 5 | |
12969 fi | |
12970 if test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"; then | |
12971 REBUILD_DOCS_TRUE= | |
12972 REBUILD_DOCS_FALSE='#' | |
12973 else | |
12974 REBUILD_DOCS_TRUE='#' | |
12975 REBUILD_DOCS_FALSE= | |
12976 fi | |
12977 | |
12978 | |
12979 if test "$with_schemas" = "yes" | |
12980 then | |
12981 with_pattern=yes | |
12982 with_regexps=yes | |
12983 fi | |
12984 if test "$with_schematron" = "yes" | |
12985 then | |
12986 with_pattern=yes | |
12987 with_tree=yes | |
12988 with_xpath=yes | |
12989 fi | |
12990 if test "$with_reader" = "yes" | |
12991 then | |
12992 with_push=yes | |
12993 fi | |
12994 if test "$with_xptr" = "yes" | |
12995 then | |
12996 with_xpath=yes | |
12997 fi | |
12998 if test "$with_minimum" = "yes" | |
12999 then | |
13000 echo "Configuring for a minimal library" | |
13001 if test "$with_c14n" = "" | |
13002 then | |
13003 with_c14n=no | |
13004 fi | |
13005 if test "$with_catalog" = "" | |
13006 then | |
13007 with_catalog=no | |
13008 fi | |
13009 echo So far so good! | |
13010 if test "$with_debug" = "" | |
13011 then | |
13012 with_debug=no | |
13013 fi | |
13014 if test "$with_docbook" = "" | |
13015 then | |
13016 with_docbook=no | |
13017 fi | |
13018 if test "$with_fexceptions" = "" | |
13019 then | |
13020 with_fexceptions=no | |
13021 fi | |
13022 if test "$with_ftp" = "" | |
13023 then | |
13024 with_ftp=no | |
13025 fi | |
13026 if test "$with_history" = "" | |
13027 then | |
13028 with_history=no | |
13029 fi | |
13030 if test "$with_html" = "" | |
13031 then | |
13032 with_html=no | |
13033 fi | |
13034 if test "$with_http" = "" | |
13035 then | |
13036 with_http=no | |
13037 fi | |
13038 if test "$with_iconv" = "" | |
13039 then | |
13040 with_iconv=no | |
13041 fi | |
13042 if test "$with_iso8859x" = "" | |
13043 then | |
13044 with_iso8859x=no | |
13045 fi | |
13046 if test "$with_legacy" = "" | |
13047 then | |
13048 with_legacy=no | |
13049 fi | |
13050 if test "$with_mem_debug" = "" | |
13051 then | |
13052 with_mem_debug=no | |
13053 fi | |
13054 if test "$with_output" = "" | |
13055 then | |
13056 with_output=no | |
13057 fi | |
13058 if test "$with_pattern" = "" | |
13059 then | |
13060 with_pattern=no | |
13061 fi | |
13062 if test "$with_push" = "" | |
13063 then | |
13064 with_push=no | |
13065 fi | |
13066 if test "$with_python" = "" | |
13067 then | |
13068 with_python=no | |
13069 fi | |
13070 if test "$with_reader" = "" | |
13071 then | |
13072 with_reader=no | |
13073 fi | |
13074 if test "$with_readline" = "" | |
13075 then | |
13076 with_readline=no | |
13077 fi | |
13078 if test "$with_regexps" = "" | |
13079 then | |
13080 with_regexps=no | |
13081 fi | |
13082 if test "$with_run_debug" = "" | |
13083 then | |
13084 with_run_debug=no | |
13085 fi | |
13086 if test "$with_sax1" = "" | |
13087 then | |
13088 with_sax1=no | |
13089 fi | |
13090 if test "$with_schemas" = "" | |
13091 then | |
13092 with_schemas=no | |
13093 fi | |
13094 if test "$with_schematron" = "" | |
13095 then | |
13096 with_schematron=no | |
13097 fi | |
13098 if test "$with_threads" = "" | |
13099 then | |
13100 with_threads=no | |
13101 fi | |
13102 if test "$with_thread_alloc" = "" | |
13103 then | |
13104 with_thread_alloc=no | |
13105 fi | |
13106 if test "$with_tree" = "" | |
13107 then | |
13108 with_tree=no | |
13109 fi | |
13110 if test "$with_valid" = "" | |
13111 then | |
13112 with_valid=no | |
13113 fi | |
13114 if test "$with_writer" = "" | |
13115 then | |
13116 with_writer=no | |
13117 fi | |
13118 if test "$with_xinclude" = "" | |
13119 then | |
13120 with_xinclude=no | |
13121 fi | |
13122 if test "$with_xpath" = "" | |
13123 then | |
13124 with_xpath=no | |
13125 fi | |
13126 if test "$with_xptr" = "" | |
13127 then | |
13128 with_xptr=no | |
13129 fi | |
13130 if test "$with_zlib" = "" | |
13131 then | |
13132 with_zlib=no | |
13133 fi | |
13134 if test "$with_modules" = "" | |
13135 then | |
13136 with_modules=no | |
13137 fi | |
13138 fi | |
13139 | |
13140 echo Checking zlib | |
13141 | |
13142 | |
13143 WITH_ZLIB=0 | |
13144 if test "$with_zlib" = "no"; then | |
13145 echo "Disabling compression support" | |
13146 else | |
13147 for ac_header in zlib.h | |
13148 do : | |
13149 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 : | |
13151 cat >>confdefs.h <<_ACEOF | |
13152 #define HAVE_ZLIB_H 1 | |
13153 _ACEOF | |
13154 SAVE_LDFLAGS="${LDFLAGS}" | |
13155 LDFLAGS="-L${Z_DIR}/lib" | |
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 | |
13157 $as_echo_n "checking for gzread in -lz... " >&6; } | |
13158 if ${ac_cv_lib_z_gzread+:} false; then : | |
13159 $as_echo_n "(cached) " >&6 | |
13160 else | |
13161 ac_check_lib_save_LIBS=$LIBS | |
13162 LIBS="-lz $LIBS" | |
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13164 /* end confdefs.h. */ | |
13165 | |
13166 /* Override any GCC internal prototype to avoid an error. | |
13167 Use char because int might match the return type of a GCC | |
13168 builtin and then its argument prototype would still apply. */ | |
13169 #ifdef __cplusplus | |
13170 extern "C" | |
13171 #endif | |
13172 char gzread (); | |
13173 int | |
13174 main () | |
13175 { | |
13176 return gzread (); | |
13177 ; | |
13178 return 0; | |
13179 } | |
13180 _ACEOF | |
13181 if ac_fn_c_try_link "$LINENO"; then : | |
13182 ac_cv_lib_z_gzread=yes | |
13183 else | |
13184 ac_cv_lib_z_gzread=no | |
13185 fi | |
13186 rm -f core conftest.err conftest.$ac_objext \ | |
13187 conftest$ac_exeext conftest.$ac_ext | |
13188 LIBS=$ac_check_lib_save_LIBS | |
13189 fi | |
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 | |
13191 $as_echo "$ac_cv_lib_z_gzread" >&6; } | |
13192 if test "x$ac_cv_lib_z_gzread" = xyes; then : | |
13193 | |
13194 | |
13195 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h | |
13196 | |
13197 WITH_ZLIB=1 | |
13198 if test "x${Z_DIR}" != "x"; then | |
13199 Z_CFLAGS="-I${Z_DIR}/include" | |
13200 Z_LIBS="-L${Z_DIR}/lib -lz" | |
13201 case ${host} in | |
13202 *-*-solaris*) | |
13203 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" | |
13204 ;; | |
13205 esac | |
13206 else | |
13207 Z_LIBS="-lz" | |
13208 fi | |
13209 fi | |
13210 | |
13211 LDFLAGS="${SAVE_LDFLAGS}" | |
13212 fi | |
13213 | |
13214 done | |
13215 | |
13216 fi | |
13217 | |
13218 | |
13219 | |
13220 | |
13221 | |
13222 echo Checking lzma | |
13223 | |
13224 | |
13225 WITH_LZMA=0 | |
13226 if test "$with_lzma" = "no"; then | |
13227 echo "Disabling compression support" | |
13228 else | |
13229 # Try pkg-config first so that static linking works. | |
13230 # If this succeeeds, we ignore the WITH_LZMA directory. | |
13231 | |
13232 pkg_failed=no | |
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LZMA" >&5 | |
13234 $as_echo_n "checking for LZMA... " >&6; } | |
13235 | |
13236 if test -n "$LZMA_CFLAGS"; then | |
13237 pkg_cv_LZMA_CFLAGS="$LZMA_CFLAGS" | |
13238 elif test -n "$PKG_CONFIG"; then | |
13239 if test -n "$PKG_CONFIG" && \ | |
13240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"liblzma\""; } >&5 | |
13241 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 | |
13242 ac_status=$? | |
13243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
13244 test $ac_status = 0; }; then | |
13245 pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null` | |
13246 test "x$?" != "x0" && pkg_failed=yes | |
13247 else | |
13248 pkg_failed=yes | |
13249 fi | |
13250 else | |
13251 pkg_failed=untried | |
13252 fi | |
13253 if test -n "$LZMA_LIBS"; then | |
13254 pkg_cv_LZMA_LIBS="$LZMA_LIBS" | |
13255 elif test -n "$PKG_CONFIG"; then | |
13256 if test -n "$PKG_CONFIG" && \ | |
13257 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"liblzma\""; } >&5 | |
13258 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5 | |
13259 ac_status=$? | |
13260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
13261 test $ac_status = 0; }; then | |
13262 pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null` | |
13263 test "x$?" != "x0" && pkg_failed=yes | |
13264 else | |
13265 pkg_failed=yes | |
13266 fi | |
13267 else | |
13268 pkg_failed=untried | |
13269 fi | |
13270 | |
13271 | |
13272 | |
13273 if test $pkg_failed = yes; then | |
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
13275 $as_echo "no" >&6; } | |
13276 | |
13277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
13278 _pkg_short_errors_supported=yes | |
13279 else | |
13280 _pkg_short_errors_supported=no | |
13281 fi | |
13282 if test $_pkg_short_errors_supported = yes; then | |
13283 LZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfl
ags --libs "liblzma" 2>&1` | |
13284 else | |
13285 LZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lib
lzma" 2>&1` | |
13286 fi | |
13287 # Put the nasty error message in config.log where it belongs | |
13288 echo "$LZMA_PKG_ERRORS" >&5 | |
13289 | |
13290 have_liblzma=no | |
13291 elif test $pkg_failed = untried; then | |
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
13293 $as_echo "no" >&6; } | |
13294 have_liblzma=no | |
13295 else | |
13296 LZMA_CFLAGS=$pkg_cv_LZMA_CFLAGS | |
13297 LZMA_LIBS=$pkg_cv_LZMA_LIBS | |
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
13299 $as_echo "yes" >&6; } | |
13300 have_liblzma=yes | |
13301 fi | |
13302 | |
13303 # If pkg-config failed, fall back to AC_CHECK_LIB. This | |
13304 # will not pick up the necessary LIBS flags for liblzma's | |
13305 # private dependencies, though, so static linking may fail. | |
13306 if test "x$have_liblzma" = "xno"; then | |
13307 for ac_header in lzma.h | |
13308 do : | |
13309 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_inc
ludes_default" | |
13310 if test "x$ac_cv_header_lzma_h" = xyes; then : | |
13311 cat >>confdefs.h <<_ACEOF | |
13312 #define HAVE_LZMA_H 1 | |
13313 _ACEOF | |
13314 SAVE_LDFLAGS="${LDFLAGS}" | |
13315 LDFLAGS="-L${LZMA_DIR}/lib" | |
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -
llzma" >&5 | |
13317 $as_echo_n "checking for lzma_code in -llzma... " >&6; } | |
13318 if ${ac_cv_lib_lzma_lzma_code+:} false; then : | |
13319 $as_echo_n "(cached) " >&6 | |
13320 else | |
13321 ac_check_lib_save_LIBS=$LIBS | |
13322 LIBS="-llzma $LIBS" | |
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13324 /* end confdefs.h. */ | |
13325 | |
13326 /* Override any GCC internal prototype to avoid an error. | |
13327 Use char because int might match the return type of a GCC | |
13328 builtin and then its argument prototype would still apply. */ | |
13329 #ifdef __cplusplus | |
13330 extern "C" | |
13331 #endif | |
13332 char lzma_code (); | |
13333 int | |
13334 main () | |
13335 { | |
13336 return lzma_code (); | |
13337 ; | |
13338 return 0; | |
13339 } | |
13340 _ACEOF | |
13341 if ac_fn_c_try_link "$LINENO"; then : | |
13342 ac_cv_lib_lzma_lzma_code=yes | |
13343 else | |
13344 ac_cv_lib_lzma_lzma_code=no | |
13345 fi | |
13346 rm -f core conftest.err conftest.$ac_objext \ | |
13347 conftest$ac_exeext conftest.$ac_ext | |
13348 LIBS=$ac_check_lib_save_LIBS | |
13349 fi | |
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 | |
13351 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } | |
13352 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : | |
13353 | |
13354 have_liblzma=yes | |
13355 if test "x${LZMA_DIR}" != "x"; then | |
13356 LZMA_CFLAGS="-I${LZMA_DIR}/include" | |
13357 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma" | |
13358 else | |
13359 LZMA_LIBS="-llzma" | |
13360 fi | |
13361 else | |
13362 have_liblzma=no | |
13363 fi | |
13364 | |
13365 LDFLAGS="${SAVE_LDFLAGS}" | |
13366 fi | |
13367 | |
13368 done | |
13369 | |
13370 else | |
13371 # we still need to check for lzma,h header | |
13372 for ac_header in lzma.h | |
13373 do : | |
13374 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_inc
ludes_default" | |
13375 if test "x$ac_cv_header_lzma_h" = xyes; then : | |
13376 cat >>confdefs.h <<_ACEOF | |
13377 #define HAVE_LZMA_H 1 | |
13378 _ACEOF | |
13379 | |
13380 fi | |
13381 | |
13382 done | |
13383 | |
13384 fi | |
13385 | |
13386 # Found the library via either method? | |
13387 if test "x$have_liblzma" = "xyes"; then | |
13388 | |
13389 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h | |
13390 | |
13391 WITH_LZMA=1 | |
13392 fi | |
13393 fi | |
13394 | |
13395 | |
13396 | |
13397 | |
13398 | |
13399 CPPFLAGS=${_cppflags} | |
13400 LIBS=${_libs} | |
13401 | |
13402 echo Checking headers | |
13403 | |
13404 ac_header_dirent=no | |
13405 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | |
13406 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | |
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR"
>&5 | |
13408 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | |
13409 if eval \${$as_ac_Header+:} false; then : | |
13410 $as_echo_n "(cached) " >&6 | |
13411 else | |
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13413 /* end confdefs.h. */ | |
13414 #include <sys/types.h> | |
13415 #include <$ac_hdr> | |
13416 | |
13417 int | |
13418 main () | |
13419 { | |
13420 if ((DIR *) 0) | |
13421 return 0; | |
13422 ; | |
13423 return 0; | |
13424 } | |
13425 _ACEOF | |
13426 if ac_fn_c_try_compile "$LINENO"; then : | |
13427 eval "$as_ac_Header=yes" | |
13428 else | |
13429 eval "$as_ac_Header=no" | |
13430 fi | |
13431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
13432 fi | |
13433 eval ac_res=\$$as_ac_Header | |
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
13435 $as_echo "$ac_res" >&6; } | |
13436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
13437 cat >>confdefs.h <<_ACEOF | |
13438 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | |
13439 _ACEOF | |
13440 | |
13441 ac_header_dirent=$ac_hdr; break | |
13442 fi | |
13443 | |
13444 done | |
13445 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | |
13446 if test $ac_header_dirent = dirent.h; then | |
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend
ir" >&5 | |
13448 $as_echo_n "checking for library containing opendir... " >&6; } | |
13449 if ${ac_cv_search_opendir+:} false; then : | |
13450 $as_echo_n "(cached) " >&6 | |
13451 else | |
13452 ac_func_search_save_LIBS=$LIBS | |
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13454 /* end confdefs.h. */ | |
13455 | |
13456 /* Override any GCC internal prototype to avoid an error. | |
13457 Use char because int might match the return type of a GCC | |
13458 builtin and then its argument prototype would still apply. */ | |
13459 #ifdef __cplusplus | |
13460 extern "C" | |
13461 #endif | |
13462 char opendir (); | |
13463 int | |
13464 main () | |
13465 { | |
13466 return opendir (); | |
13467 ; | |
13468 return 0; | |
13469 } | |
13470 _ACEOF | |
13471 for ac_lib in '' dir; do | |
13472 if test -z "$ac_lib"; then | |
13473 ac_res="none required" | |
13474 else | |
13475 ac_res=-l$ac_lib | |
13476 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
13477 fi | |
13478 if ac_fn_c_try_link "$LINENO"; then : | |
13479 ac_cv_search_opendir=$ac_res | |
13480 fi | |
13481 rm -f core conftest.err conftest.$ac_objext \ | |
13482 conftest$ac_exeext | |
13483 if ${ac_cv_search_opendir+:} false; then : | |
13484 break | |
13485 fi | |
13486 done | |
13487 if ${ac_cv_search_opendir+:} false; then : | |
13488 | |
13489 else | |
13490 ac_cv_search_opendir=no | |
13491 fi | |
13492 rm conftest.$ac_ext | |
13493 LIBS=$ac_func_search_save_LIBS | |
13494 fi | |
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | |
13496 $as_echo "$ac_cv_search_opendir" >&6; } | |
13497 ac_res=$ac_cv_search_opendir | |
13498 if test "$ac_res" != no; then : | |
13499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
13500 | |
13501 fi | |
13502 | |
13503 else | |
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opend
ir" >&5 | |
13505 $as_echo_n "checking for library containing opendir... " >&6; } | |
13506 if ${ac_cv_search_opendir+:} false; then : | |
13507 $as_echo_n "(cached) " >&6 | |
13508 else | |
13509 ac_func_search_save_LIBS=$LIBS | |
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13511 /* end confdefs.h. */ | |
13512 | |
13513 /* Override any GCC internal prototype to avoid an error. | |
13514 Use char because int might match the return type of a GCC | |
13515 builtin and then its argument prototype would still apply. */ | |
13516 #ifdef __cplusplus | |
13517 extern "C" | |
13518 #endif | |
13519 char opendir (); | |
13520 int | |
13521 main () | |
13522 { | |
13523 return opendir (); | |
13524 ; | |
13525 return 0; | |
13526 } | |
13527 _ACEOF | |
13528 for ac_lib in '' x; do | |
13529 if test -z "$ac_lib"; then | |
13530 ac_res="none required" | |
13531 else | |
13532 ac_res=-l$ac_lib | |
13533 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
13534 fi | |
13535 if ac_fn_c_try_link "$LINENO"; then : | |
13536 ac_cv_search_opendir=$ac_res | |
13537 fi | |
13538 rm -f core conftest.err conftest.$ac_objext \ | |
13539 conftest$ac_exeext | |
13540 if ${ac_cv_search_opendir+:} false; then : | |
13541 break | |
13542 fi | |
13543 done | |
13544 if ${ac_cv_search_opendir+:} false; then : | |
13545 | |
13546 else | |
13547 ac_cv_search_opendir=no | |
13548 fi | |
13549 rm conftest.$ac_ext | |
13550 LIBS=$ac_func_search_save_LIBS | |
13551 fi | |
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | |
13553 $as_echo "$ac_cv_search_opendir" >&6; } | |
13554 ac_res=$ac_cv_search_opendir | |
13555 if test "$ac_res" != no; then : | |
13556 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
13557 | |
13558 fi | |
13559 | |
13560 fi | |
13561 | |
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
13563 $as_echo_n "checking for ANSI C header files... " >&6; } | |
13564 if ${ac_cv_header_stdc+:} false; then : | |
13565 $as_echo_n "(cached) " >&6 | |
13566 else | |
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13568 /* end confdefs.h. */ | |
13569 #include <stdlib.h> | |
13570 #include <stdarg.h> | |
13571 #include <string.h> | |
13572 #include <float.h> | |
13573 | |
13574 int | |
13575 main () | |
13576 { | 12060 { |
13577 | 12061 |
13578 ; | 12062 ; |
13579 return 0; | 12063 return 0; |
13580 } | 12064 } |
13581 _ACEOF | 12065 _ACEOF |
13582 if ac_fn_c_try_compile "$LINENO"; then : | 12066 if ac_fn_c_try_link "$LINENO"; then : |
13583 ac_cv_header_stdc=yes | 12067 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/d
ev/null; then : |
| 12068 lt_cv_shlibpath_overrides_runpath=yes |
| 12069 fi |
| 12070 fi |
| 12071 rm -f core conftest.err conftest.$ac_objext \ |
| 12072 conftest$ac_exeext conftest.$ac_ext |
| 12073 LDFLAGS=$save_LDFLAGS |
| 12074 libdir=$save_libdir |
| 12075 |
| 12076 fi |
| 12077 |
| 12078 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 12079 |
| 12080 # This implies no fast_install, which is unacceptable. |
| 12081 # Some rework will be needed to allow for fast_install |
| 12082 # before this can be enabled. |
| 12083 hardcode_into_libs=yes |
| 12084 |
| 12085 # Append ld.so.conf contents to the search path |
| 12086 if test -f /etc/ld.so.conf; then |
| 12087 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' ' '` |
| 12088 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 12089 fi |
| 12090 |
| 12091 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 12092 # powerpc, because MkLinux only supported shared libraries with the |
| 12093 # GNU dynamic linker. Since this was broken with cross compilers, |
| 12094 # most powerpc-linux boxes support dynamic linking these days and |
| 12095 # people can always --disable-shared, the test was removed, and we |
| 12096 # assume the GNU/Linux dynamic linker is in use. |
| 12097 dynamic_linker='GNU/Linux ld.so' |
| 12098 ;; |
| 12099 |
| 12100 netbsdelf*-gnu) |
| 12101 version_type=linux |
| 12102 need_lib_prefix=no |
| 12103 need_version=no |
| 12104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' |
| 12105 soname_spec='${libname}${release}${shared_ext}$major' |
| 12106 shlibpath_var=LD_LIBRARY_PATH |
| 12107 shlibpath_overrides_runpath=no |
| 12108 hardcode_into_libs=yes |
| 12109 dynamic_linker='NetBSD ld.elf_so' |
| 12110 ;; |
| 12111 |
| 12112 netbsd*) |
| 12113 version_type=sunos |
| 12114 need_lib_prefix=no |
| 12115 need_version=no |
| 12116 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 12117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
shared_ext}$versuffix' |
| 12118 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12119 dynamic_linker='NetBSD (a.out) ld.so' |
| 12120 else |
| 12121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major ${libname}${shared_ext}' |
| 12122 soname_spec='${libname}${release}${shared_ext}$major' |
| 12123 dynamic_linker='NetBSD ld.elf_so' |
| 12124 fi |
| 12125 shlibpath_var=LD_LIBRARY_PATH |
| 12126 shlibpath_overrides_runpath=yes |
| 12127 hardcode_into_libs=yes |
| 12128 ;; |
| 12129 |
| 12130 newsos6) |
| 12131 version_type=linux # correct to gnu/linux during the next big refactor |
| 12132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12133 shlibpath_var=LD_LIBRARY_PATH |
| 12134 shlibpath_overrides_runpath=yes |
| 12135 ;; |
| 12136 |
| 12137 *nto* | *qnx*) |
| 12138 version_type=qnx |
| 12139 need_lib_prefix=no |
| 12140 need_version=no |
| 12141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12142 soname_spec='${libname}${release}${shared_ext}$major' |
| 12143 shlibpath_var=LD_LIBRARY_PATH |
| 12144 shlibpath_overrides_runpath=no |
| 12145 hardcode_into_libs=yes |
| 12146 dynamic_linker='ldqnx.so' |
| 12147 ;; |
| 12148 |
| 12149 openbsd*) |
| 12150 version_type=sunos |
| 12151 sys_lib_dlsearch_path_spec="/usr/lib" |
| 12152 need_lib_prefix=no |
| 12153 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
| 12154 case $host_os in |
| 12155 openbsd3.3 | openbsd3.3.*)» need_version=yes ;; |
| 12156 *)» » » » need_version=no ;; |
| 12157 esac |
| 12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' |
| 12159 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 12160 shlibpath_var=LD_LIBRARY_PATH |
| 12161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then |
| 12162 case $host_os in |
| 12163 openbsd2.[89] | openbsd2.[89].*) |
| 12164 » shlibpath_overrides_runpath=no |
| 12165 » ;; |
| 12166 *) |
| 12167 » shlibpath_overrides_runpath=yes |
| 12168 » ;; |
| 12169 esac |
| 12170 else |
| 12171 shlibpath_overrides_runpath=yes |
| 12172 fi |
| 12173 ;; |
| 12174 |
| 12175 os2*) |
| 12176 libname_spec='$name' |
| 12177 shrext_cmds=".dll" |
| 12178 need_lib_prefix=no |
| 12179 library_names_spec='$libname${shared_ext} $libname.a' |
| 12180 dynamic_linker='OS/2 ld.exe' |
| 12181 shlibpath_var=LIBPATH |
| 12182 ;; |
| 12183 |
| 12184 osf3* | osf4* | osf5*) |
| 12185 version_type=osf |
| 12186 need_lib_prefix=no |
| 12187 need_version=no |
| 12188 soname_spec='${libname}${release}${shared_ext}$major' |
| 12189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12190 shlibpath_var=LD_LIBRARY_PATH |
| 12191 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" |
| 12192 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
| 12193 ;; |
| 12194 |
| 12195 rdos*) |
| 12196 dynamic_linker=no |
| 12197 ;; |
| 12198 |
| 12199 solaris*) |
| 12200 version_type=linux # correct to gnu/linux during the next big refactor |
| 12201 need_lib_prefix=no |
| 12202 need_version=no |
| 12203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12204 soname_spec='${libname}${release}${shared_ext}$major' |
| 12205 shlibpath_var=LD_LIBRARY_PATH |
| 12206 shlibpath_overrides_runpath=yes |
| 12207 hardcode_into_libs=yes |
| 12208 # ldd complains unless libraries are executable |
| 12209 postinstall_cmds='chmod +x $lib' |
| 12210 ;; |
| 12211 |
| 12212 sunos4*) |
| 12213 version_type=sunos |
| 12214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' |
| 12215 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 12216 shlibpath_var=LD_LIBRARY_PATH |
| 12217 shlibpath_overrides_runpath=yes |
| 12218 if test "$with_gnu_ld" = yes; then |
| 12219 need_lib_prefix=no |
| 12220 fi |
| 12221 need_version=yes |
| 12222 ;; |
| 12223 |
| 12224 sysv4 | sysv4.3*) |
| 12225 version_type=linux # correct to gnu/linux during the next big refactor |
| 12226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12227 soname_spec='${libname}${release}${shared_ext}$major' |
| 12228 shlibpath_var=LD_LIBRARY_PATH |
| 12229 case $host_vendor in |
| 12230 sni) |
| 12231 shlibpath_overrides_runpath=no |
| 12232 need_lib_prefix=no |
| 12233 runpath_var=LD_RUN_PATH |
| 12234 ;; |
| 12235 siemens) |
| 12236 need_lib_prefix=no |
| 12237 ;; |
| 12238 motorola) |
| 12239 need_lib_prefix=no |
| 12240 need_version=no |
| 12241 shlibpath_overrides_runpath=no |
| 12242 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 12243 ;; |
| 12244 esac |
| 12245 ;; |
| 12246 |
| 12247 sysv4*MP*) |
| 12248 if test -d /usr/nec ;then |
| 12249 version_type=linux # correct to gnu/linux during the next big refactor |
| 12250 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$
major $libname${shared_ext}' |
| 12251 soname_spec='$libname${shared_ext}.$major' |
| 12252 shlibpath_var=LD_LIBRARY_PATH |
| 12253 fi |
| 12254 ;; |
| 12255 |
| 12256 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 12257 version_type=freebsd-elf |
| 12258 need_lib_prefix=no |
| 12259 need_version=no |
| 12260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext} $libname${shared_ext}' |
| 12261 soname_spec='${libname}${release}${shared_ext}$major' |
| 12262 shlibpath_var=LD_LIBRARY_PATH |
| 12263 shlibpath_overrides_runpath=yes |
| 12264 hardcode_into_libs=yes |
| 12265 if test "$with_gnu_ld" = yes; then |
| 12266 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' |
| 12267 else |
| 12268 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 12269 case $host_os in |
| 12270 sco3.2v5*) |
| 12271 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 12272 » ;; |
| 12273 esac |
| 12274 fi |
| 12275 sys_lib_dlsearch_path_spec='/usr/lib' |
| 12276 ;; |
| 12277 |
| 12278 tpf*) |
| 12279 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 12280 version_type=linux # correct to gnu/linux during the next big refactor |
| 12281 need_lib_prefix=no |
| 12282 need_version=no |
| 12283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12284 shlibpath_var=LD_LIBRARY_PATH |
| 12285 shlibpath_overrides_runpath=no |
| 12286 hardcode_into_libs=yes |
| 12287 ;; |
| 12288 |
| 12289 uts4*) |
| 12290 version_type=linux # correct to gnu/linux during the next big refactor |
| 12291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' |
| 12292 soname_spec='${libname}${release}${shared_ext}$major' |
| 12293 shlibpath_var=LD_LIBRARY_PATH |
| 12294 ;; |
| 12295 |
| 12296 *) |
| 12297 dynamic_linker=no |
| 12298 ;; |
| 12299 esac |
| 12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
| 12301 $as_echo "$dynamic_linker" >&6; } |
| 12302 test "$dynamic_linker" = no && can_build_shared=no |
| 12303 |
| 12304 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 12305 if test "$GCC" = yes; then |
| 12306 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" |
| 12307 fi |
| 12308 |
| 12309 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
| 12310 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 12311 fi |
| 12312 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
| 12313 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 12314 fi |
| 12315 |
| 12316 |
| 12317 |
| 12318 |
| 12319 |
| 12320 |
| 12321 |
| 12322 |
| 12323 |
| 12324 |
| 12325 |
| 12326 |
| 12327 |
| 12328 |
| 12329 |
| 12330 |
| 12331 |
| 12332 |
| 12333 |
| 12334 |
| 12335 |
| 12336 |
| 12337 |
| 12338 |
| 12339 |
| 12340 |
| 12341 |
| 12342 |
| 12343 |
| 12344 |
| 12345 |
| 12346 |
| 12347 |
| 12348 |
| 12349 |
| 12350 |
| 12351 |
| 12352 |
| 12353 |
| 12354 |
| 12355 |
| 12356 |
| 12357 |
| 12358 |
| 12359 |
| 12360 |
| 12361 |
| 12362 |
| 12363 |
| 12364 |
| 12365 |
| 12366 |
| 12367 |
| 12368 |
| 12369 |
| 12370 |
| 12371 |
| 12372 |
| 12373 |
| 12374 |
| 12375 |
| 12376 |
| 12377 |
| 12378 |
| 12379 |
| 12380 |
| 12381 |
| 12382 |
| 12383 |
| 12384 |
| 12385 |
| 12386 |
| 12387 |
| 12388 |
| 12389 |
| 12390 |
| 12391 |
| 12392 |
| 12393 |
| 12394 |
| 12395 |
| 12396 |
| 12397 |
| 12398 |
| 12399 |
| 12400 |
| 12401 |
| 12402 |
| 12403 |
| 12404 |
| 12405 |
| 12406 |
| 12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library path
s into programs" >&5 |
| 12408 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
| 12409 hardcode_action= |
| 12410 if test -n "$hardcode_libdir_flag_spec" || |
| 12411 test -n "$runpath_var" || |
| 12412 test "X$hardcode_automatic" = "Xyes" ; then |
| 12413 |
| 12414 # We can hardcode non-existent directories. |
| 12415 if test "$hardcode_direct" != no && |
| 12416 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 12417 # have to relink, otherwise we might link with an installed library |
| 12418 # when we should be linking with a yet-to-be-installed one |
| 12419 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
| 12420 test "$hardcode_minus_L" != no; then |
| 12421 # Linking always hardcodes the temporary library directory. |
| 12422 hardcode_action=relink |
| 12423 else |
| 12424 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 12425 hardcode_action=immediate |
| 12426 fi |
13584 else | 12427 else |
13585 ac_cv_header_stdc=no | 12428 # We cannot hardcode anything, or else we can only hardcode existing |
13586 fi | 12429 # directories. |
13587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12430 hardcode_action=unsupported |
13588 | 12431 fi |
13589 if test $ac_cv_header_stdc = yes; then | 12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
13590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 12433 $as_echo "$hardcode_action" >&6; } |
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12434 |
13592 /* end confdefs.h. */ | 12435 if test "$hardcode_action" = relink || |
13593 #include <string.h> | 12436 test "$inherit_rpath" = yes; then |
13594 | 12437 # Fast installation is not supported |
13595 _ACEOF | 12438 enable_fast_install=no |
13596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12439 elif test "$shlibpath_overrides_runpath" = yes || |
13597 $EGREP "memchr" >/dev/null 2>&1; then : | 12440 test "$enable_shared" = no; then |
13598 | 12441 # Fast installation is not necessary |
| 12442 enable_fast_install=needless |
| 12443 fi |
| 12444 |
| 12445 |
| 12446 |
| 12447 |
| 12448 |
| 12449 |
| 12450 if test "x$enable_dlopen" != xyes; then |
| 12451 enable_dlopen=unknown |
| 12452 enable_dlopen_self=unknown |
| 12453 enable_dlopen_self_static=unknown |
13599 else | 12454 else |
13600 ac_cv_header_stdc=no | 12455 lt_cv_dlopen=no |
13601 fi | 12456 lt_cv_dlopen_libs= |
13602 rm -f conftest* | 12457 |
13603 | 12458 case $host_os in |
13604 fi | 12459 beos*) |
13605 | 12460 lt_cv_dlopen="load_add_on" |
13606 if test $ac_cv_header_stdc = yes; then | 12461 lt_cv_dlopen_libs= |
13607 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 12462 lt_cv_dlopen_self=yes |
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12463 ;; |
13609 /* end confdefs.h. */ | 12464 |
13610 #include <stdlib.h> | 12465 mingw* | pw32* | cegcc*) |
13611 | 12466 lt_cv_dlopen="LoadLibrary" |
13612 _ACEOF | 12467 lt_cv_dlopen_libs= |
13613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12468 ;; |
13614 $EGREP "free" >/dev/null 2>&1; then : | 12469 |
13615 | 12470 cygwin*) |
13616 else | 12471 lt_cv_dlopen="dlopen" |
13617 ac_cv_header_stdc=no | 12472 lt_cv_dlopen_libs= |
13618 fi | 12473 ;; |
13619 rm -f conftest* | 12474 |
13620 | 12475 darwin*) |
13621 fi | 12476 # if libdl is installed we need to link against it |
13622 | 12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
13623 if test $ac_cv_header_stdc = yes; then | 12478 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
13624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 12479 if ${ac_cv_lib_dl_dlopen+:} false; then : |
13625 if test "$cross_compiling" = yes; then : | |
13626 : | |
13627 else | |
13628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
13629 /* end confdefs.h. */ | |
13630 #include <ctype.h> | |
13631 #include <stdlib.h> | |
13632 #if ((' ' & 0x0FF) == 0x020) | |
13633 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
13634 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
13635 #else | |
13636 # define ISLOWER(c) \ | |
13637 (('a' <= (c) && (c) <= 'i') \ | |
13638 || ('j' <= (c) && (c) <= 'r') \ | |
13639 || ('s' <= (c) && (c) <= 'z')) | |
13640 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
13641 #endif | |
13642 | |
13643 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
13644 int | |
13645 main () | |
13646 { | |
13647 int i; | |
13648 for (i = 0; i < 256; i++) | |
13649 if (XOR (islower (i), ISLOWER (i)) | |
13650 || toupper (i) != TOUPPER (i)) | |
13651 return 2; | |
13652 return 0; | |
13653 } | |
13654 _ACEOF | |
13655 if ac_fn_c_try_run "$LINENO"; then : | |
13656 | |
13657 else | |
13658 ac_cv_header_stdc=no | |
13659 fi | |
13660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
13661 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
13662 fi | |
13663 | |
13664 fi | |
13665 fi | |
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
13667 $as_echo "$ac_cv_header_stdc" >&6; } | |
13668 if test $ac_cv_header_stdc = yes; then | |
13669 | |
13670 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
13671 | |
13672 fi | |
13673 | |
13674 for ac_header in fcntl.h | |
13675 do : | |
13676 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_i
ncludes_default" | |
13677 if test "x$ac_cv_header_fcntl_h" = xyes; then : | |
13678 cat >>confdefs.h <<_ACEOF | |
13679 #define HAVE_FCNTL_H 1 | |
13680 _ACEOF | |
13681 | |
13682 fi | |
13683 | |
13684 done | |
13685 | |
13686 for ac_header in unistd.h | |
13687 do : | |
13688 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac
_includes_default" | |
13689 if test "x$ac_cv_header_unistd_h" = xyes; then : | |
13690 cat >>confdefs.h <<_ACEOF | |
13691 #define HAVE_UNISTD_H 1 | |
13692 _ACEOF | |
13693 | |
13694 fi | |
13695 | |
13696 done | |
13697 | |
13698 for ac_header in ctype.h | |
13699 do : | |
13700 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_i
ncludes_default" | |
13701 if test "x$ac_cv_header_ctype_h" = xyes; then : | |
13702 cat >>confdefs.h <<_ACEOF | |
13703 #define HAVE_CTYPE_H 1 | |
13704 _ACEOF | |
13705 | |
13706 fi | |
13707 | |
13708 done | |
13709 | |
13710 for ac_header in dirent.h | |
13711 do : | |
13712 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac
_includes_default" | |
13713 if test "x$ac_cv_header_dirent_h" = xyes; then : | |
13714 cat >>confdefs.h <<_ACEOF | |
13715 #define HAVE_DIRENT_H 1 | |
13716 _ACEOF | |
13717 | |
13718 fi | |
13719 | |
13720 done | |
13721 | |
13722 for ac_header in errno.h | |
13723 do : | |
13724 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_i
ncludes_default" | |
13725 if test "x$ac_cv_header_errno_h" = xyes; then : | |
13726 cat >>confdefs.h <<_ACEOF | |
13727 #define HAVE_ERRNO_H 1 | |
13728 _ACEOF | |
13729 | |
13730 fi | |
13731 | |
13732 done | |
13733 | |
13734 for ac_header in malloc.h | |
13735 do : | |
13736 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac
_includes_default" | |
13737 if test "x$ac_cv_header_malloc_h" = xyes; then : | |
13738 cat >>confdefs.h <<_ACEOF | |
13739 #define HAVE_MALLOC_H 1 | |
13740 _ACEOF | |
13741 | |
13742 fi | |
13743 | |
13744 done | |
13745 | |
13746 for ac_header in stdarg.h | |
13747 do : | |
13748 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac
_includes_default" | |
13749 if test "x$ac_cv_header_stdarg_h" = xyes; then : | |
13750 cat >>confdefs.h <<_ACEOF | |
13751 #define HAVE_STDARG_H 1 | |
13752 _ACEOF | |
13753 | |
13754 fi | |
13755 | |
13756 done | |
13757 | |
13758 for ac_header in sys/stat.h | |
13759 do : | |
13760 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h"
"$ac_includes_default" | |
13761 if test "x$ac_cv_header_sys_stat_h" = xyes; then : | |
13762 cat >>confdefs.h <<_ACEOF | |
13763 #define HAVE_SYS_STAT_H 1 | |
13764 _ACEOF | |
13765 | |
13766 fi | |
13767 | |
13768 done | |
13769 | |
13770 for ac_header in sys/types.h | |
13771 do : | |
13772 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h
" "$ac_includes_default" | |
13773 if test "x$ac_cv_header_sys_types_h" = xyes; then : | |
13774 cat >>confdefs.h <<_ACEOF | |
13775 #define HAVE_SYS_TYPES_H 1 | |
13776 _ACEOF | |
13777 | |
13778 fi | |
13779 | |
13780 done | |
13781 | |
13782 for ac_header in stdint.h | |
13783 do : | |
13784 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac
_includes_default" | |
13785 if test "x$ac_cv_header_stdint_h" = xyes; then : | |
13786 cat >>confdefs.h <<_ACEOF | |
13787 #define HAVE_STDINT_H 1 | |
13788 _ACEOF | |
13789 | |
13790 fi | |
13791 | |
13792 done | |
13793 | |
13794 for ac_header in inttypes.h | |
13795 do : | |
13796 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h"
"$ac_includes_default" | |
13797 if test "x$ac_cv_header_inttypes_h" = xyes; then : | |
13798 cat >>confdefs.h <<_ACEOF | |
13799 #define HAVE_INTTYPES_H 1 | |
13800 _ACEOF | |
13801 | |
13802 fi | |
13803 | |
13804 done | |
13805 | |
13806 for ac_header in time.h | |
13807 do : | |
13808 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_inc
ludes_default" | |
13809 if test "x$ac_cv_header_time_h" = xyes; then : | |
13810 cat >>confdefs.h <<_ACEOF | |
13811 #define HAVE_TIME_H 1 | |
13812 _ACEOF | |
13813 | |
13814 fi | |
13815 | |
13816 done | |
13817 | |
13818 for ac_header in ansidecl.h | |
13819 do : | |
13820 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h"
"$ac_includes_default" | |
13821 if test "x$ac_cv_header_ansidecl_h" = xyes; then : | |
13822 cat >>confdefs.h <<_ACEOF | |
13823 #define HAVE_ANSIDECL_H 1 | |
13824 _ACEOF | |
13825 | |
13826 fi | |
13827 | |
13828 done | |
13829 | |
13830 for ac_header in ieeefp.h | |
13831 do : | |
13832 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac
_includes_default" | |
13833 if test "x$ac_cv_header_ieeefp_h" = xyes; then : | |
13834 cat >>confdefs.h <<_ACEOF | |
13835 #define HAVE_IEEEFP_H 1 | |
13836 _ACEOF | |
13837 | |
13838 fi | |
13839 | |
13840 done | |
13841 | |
13842 for ac_header in nan.h | |
13843 do : | |
13844 ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_inclu
des_default" | |
13845 if test "x$ac_cv_header_nan_h" = xyes; then : | |
13846 cat >>confdefs.h <<_ACEOF | |
13847 #define HAVE_NAN_H 1 | |
13848 _ACEOF | |
13849 | |
13850 fi | |
13851 | |
13852 done | |
13853 | |
13854 for ac_header in math.h | |
13855 do : | |
13856 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_inc
ludes_default" | |
13857 if test "x$ac_cv_header_math_h" = xyes; then : | |
13858 cat >>confdefs.h <<_ACEOF | |
13859 #define HAVE_MATH_H 1 | |
13860 _ACEOF | |
13861 | |
13862 fi | |
13863 | |
13864 done | |
13865 | |
13866 for ac_header in limits.h | |
13867 do : | |
13868 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac
_includes_default" | |
13869 if test "x$ac_cv_header_limits_h" = xyes; then : | |
13870 cat >>confdefs.h <<_ACEOF | |
13871 #define HAVE_LIMITS_H 1 | |
13872 _ACEOF | |
13873 | |
13874 fi | |
13875 | |
13876 done | |
13877 | |
13878 for ac_header in fp_class.h | |
13879 do : | |
13880 ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h"
"$ac_includes_default" | |
13881 if test "x$ac_cv_header_fp_class_h" = xyes; then : | |
13882 cat >>confdefs.h <<_ACEOF | |
13883 #define HAVE_FP_CLASS_H 1 | |
13884 _ACEOF | |
13885 | |
13886 fi | |
13887 | |
13888 done | |
13889 | |
13890 for ac_header in float.h | |
13891 do : | |
13892 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_i
ncludes_default" | |
13893 if test "x$ac_cv_header_float_h" = xyes; then : | |
13894 cat >>confdefs.h <<_ACEOF | |
13895 #define HAVE_FLOAT_H 1 | |
13896 _ACEOF | |
13897 | |
13898 fi | |
13899 | |
13900 done | |
13901 | |
13902 for ac_header in stdlib.h | |
13903 do : | |
13904 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac
_includes_default" | |
13905 if test "x$ac_cv_header_stdlib_h" = xyes; then : | |
13906 cat >>confdefs.h <<_ACEOF | |
13907 #define HAVE_STDLIB_H 1 | |
13908 _ACEOF | |
13909 | |
13910 fi | |
13911 | |
13912 done | |
13913 | |
13914 for ac_header in sys/socket.h | |
13915 do : | |
13916 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket
_h" "#if HAVE_SYS_TYPES_H | |
13917 # include <sys/types.h> | |
13918 # endif | |
13919 | |
13920 " | |
13921 if test "x$ac_cv_header_sys_socket_h" = xyes; then : | |
13922 cat >>confdefs.h <<_ACEOF | |
13923 #define HAVE_SYS_SOCKET_H 1 | |
13924 _ACEOF | |
13925 | |
13926 fi | |
13927 | |
13928 done | |
13929 | |
13930 for ac_header in netinet/in.h | |
13931 do : | |
13932 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in
_h" "#if HAVE_SYS_TYPES_H | |
13933 # include <sys/types.h> | |
13934 # endif | |
13935 | |
13936 " | |
13937 if test "x$ac_cv_header_netinet_in_h" = xyes; then : | |
13938 cat >>confdefs.h <<_ACEOF | |
13939 #define HAVE_NETINET_IN_H 1 | |
13940 _ACEOF | |
13941 | |
13942 fi | |
13943 | |
13944 done | |
13945 | |
13946 for ac_header in arpa/inet.h | |
13947 do : | |
13948 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h
" "#if HAVE_SYS_TYPES_H | |
13949 # include <sys/types.h> | |
13950 # endif | |
13951 #if HAVE_ARPA_INET_H | |
13952 # include <arpa/inet.h> | |
13953 # endif | |
13954 | |
13955 " | |
13956 if test "x$ac_cv_header_arpa_inet_h" = xyes; then : | |
13957 cat >>confdefs.h <<_ACEOF | |
13958 #define HAVE_ARPA_INET_H 1 | |
13959 _ACEOF | |
13960 | |
13961 fi | |
13962 | |
13963 done | |
13964 | |
13965 for ac_header in netdb.h | |
13966 do : | |
13967 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_i
ncludes_default" | |
13968 if test "x$ac_cv_header_netdb_h" = xyes; then : | |
13969 cat >>confdefs.h <<_ACEOF | |
13970 #define HAVE_NETDB_H 1 | |
13971 _ACEOF | |
13972 | |
13973 fi | |
13974 | |
13975 done | |
13976 | |
13977 for ac_header in sys/time.h | |
13978 do : | |
13979 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h"
"$ac_includes_default" | |
13980 if test "x$ac_cv_header_sys_time_h" = xyes; then : | |
13981 cat >>confdefs.h <<_ACEOF | |
13982 #define HAVE_SYS_TIME_H 1 | |
13983 _ACEOF | |
13984 | |
13985 fi | |
13986 | |
13987 done | |
13988 | |
13989 for ac_header in sys/select.h | |
13990 do : | |
13991 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select
_h" "$ac_includes_default" | |
13992 if test "x$ac_cv_header_sys_select_h" = xyes; then : | |
13993 cat >>confdefs.h <<_ACEOF | |
13994 #define HAVE_SYS_SELECT_H 1 | |
13995 _ACEOF | |
13996 | |
13997 fi | |
13998 | |
13999 done | |
14000 | |
14001 for ac_header in poll.h | |
14002 do : | |
14003 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_inc
ludes_default" | |
14004 if test "x$ac_cv_header_poll_h" = xyes; then : | |
14005 cat >>confdefs.h <<_ACEOF | |
14006 #define HAVE_POLL_H 1 | |
14007 _ACEOF | |
14008 | |
14009 fi | |
14010 | |
14011 done | |
14012 | |
14013 for ac_header in sys/mman.h | |
14014 do : | |
14015 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h"
"$ac_includes_default" | |
14016 if test "x$ac_cv_header_sys_mman_h" = xyes; then : | |
14017 cat >>confdefs.h <<_ACEOF | |
14018 #define HAVE_SYS_MMAN_H 1 | |
14019 _ACEOF | |
14020 | |
14021 fi | |
14022 | |
14023 done | |
14024 | |
14025 for ac_header in sys/timeb.h | |
14026 do : | |
14027 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h
" "$ac_includes_default" | |
14028 if test "x$ac_cv_header_sys_timeb_h" = xyes; then : | |
14029 cat >>confdefs.h <<_ACEOF | |
14030 #define HAVE_SYS_TIMEB_H 1 | |
14031 _ACEOF | |
14032 | |
14033 fi | |
14034 | |
14035 done | |
14036 | |
14037 for ac_header in signal.h | |
14038 do : | |
14039 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac
_includes_default" | |
14040 if test "x$ac_cv_header_signal_h" = xyes; then : | |
14041 cat >>confdefs.h <<_ACEOF | |
14042 #define HAVE_SIGNAL_H 1 | |
14043 _ACEOF | |
14044 | |
14045 fi | |
14046 | |
14047 done | |
14048 | |
14049 for ac_header in arpa/nameser.h | |
14050 do : | |
14051 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nam
eser_h" "#if HAVE_SYS_TYPES_H | |
14052 # include <sys/types.h> | |
14053 # endif | |
14054 | |
14055 " | |
14056 if test "x$ac_cv_header_arpa_nameser_h" = xyes; then : | |
14057 cat >>confdefs.h <<_ACEOF | |
14058 #define HAVE_ARPA_NAMESER_H 1 | |
14059 _ACEOF | |
14060 | |
14061 fi | |
14062 | |
14063 done | |
14064 | |
14065 for ac_header in resolv.h | |
14066 do : | |
14067 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if
HAVE_SYS_TYPES_H | |
14068 # include <sys/types.h> | |
14069 # endif | |
14070 #if HAVE_NETINET_IN_H | |
14071 # include <netinet/in.h> | |
14072 # endif | |
14073 #if HAVE_ARPA_NAMESER_H | |
14074 # include <arpa/nameser.h> | |
14075 # endif | |
14076 | |
14077 " | |
14078 if test "x$ac_cv_header_resolv_h" = xyes; then : | |
14079 cat >>confdefs.h <<_ACEOF | |
14080 #define HAVE_RESOLV_H 1 | |
14081 _ACEOF | |
14082 | |
14083 fi | |
14084 | |
14085 done | |
14086 | |
14087 for ac_header in dl.h | |
14088 do : | |
14089 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_include
s_default" | |
14090 if test "x$ac_cv_header_dl_h" = xyes; then : | |
14091 cat >>confdefs.h <<_ACEOF | |
14092 #define HAVE_DL_H 1 | |
14093 _ACEOF | |
14094 | |
14095 fi | |
14096 | |
14097 done | |
14098 | |
14099 for ac_header in dlfcn.h | |
14100 do : | |
14101 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_i
ncludes_default" | |
14102 if test "x$ac_cv_header_dlfcn_h" = xyes; then : | |
14103 cat >>confdefs.h <<_ACEOF | |
14104 #define HAVE_DLFCN_H 1 | |
14105 _ACEOF | |
14106 | |
14107 fi | |
14108 | |
14109 done | |
14110 | |
14111 | |
14112 | |
14113 echo Checking types | |
14114 | |
14115 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" | |
14116 case $ac_cv_c_uint32_t in #( | |
14117 no|yes) ;; #( | |
14118 *) | |
14119 | |
14120 $as_echo "#define _UINT32_T 1" >>confdefs.h | |
14121 | |
14122 | |
14123 cat >>confdefs.h <<_ACEOF | |
14124 #define uint32_t $ac_cv_c_uint32_t | |
14125 _ACEOF | |
14126 ;; | |
14127 esac | |
14128 | |
14129 | |
14130 | |
14131 echo Checking libraries | |
14132 | |
14133 for ac_func in strftime | |
14134 do : | |
14135 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | |
14136 if test "x$ac_cv_func_strftime" = xyes; then : | |
14137 cat >>confdefs.h <<_ACEOF | |
14138 #define HAVE_STRFTIME 1 | |
14139 _ACEOF | |
14140 | |
14141 else | |
14142 # strftime is in -lintl on SCO UNIX. | |
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | |
14144 $as_echo_n "checking for strftime in -lintl... " >&6; } | |
14145 if ${ac_cv_lib_intl_strftime+:} false; then : | |
14146 $as_echo_n "(cached) " >&6 | 12480 $as_echo_n "(cached) " >&6 |
14147 else | 12481 else |
14148 ac_check_lib_save_LIBS=$LIBS | 12482 ac_check_lib_save_LIBS=$LIBS |
14149 LIBS="-lintl $LIBS" | 12483 LIBS="-ldl $LIBS" |
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14151 /* end confdefs.h. */ | 12485 /* end confdefs.h. */ |
14152 | 12486 |
14153 /* Override any GCC internal prototype to avoid an error. | 12487 /* Override any GCC internal prototype to avoid an error. |
14154 Use char because int might match the return type of a GCC | 12488 Use char because int might match the return type of a GCC |
14155 builtin and then its argument prototype would still apply. */ | 12489 builtin and then its argument prototype would still apply. */ |
14156 #ifdef __cplusplus | 12490 #ifdef __cplusplus |
14157 extern "C" | 12491 extern "C" |
14158 #endif | 12492 #endif |
14159 char strftime (); | 12493 char dlopen (); |
14160 int | 12494 int |
14161 main () | 12495 main () |
14162 { | 12496 { |
14163 return strftime (); | 12497 return dlopen (); |
14164 ; | 12498 ; |
14165 return 0; | 12499 return 0; |
14166 } | 12500 } |
14167 _ACEOF | 12501 _ACEOF |
14168 if ac_fn_c_try_link "$LINENO"; then : | 12502 if ac_fn_c_try_link "$LINENO"; then : |
14169 ac_cv_lib_intl_strftime=yes | 12503 ac_cv_lib_dl_dlopen=yes |
14170 else | 12504 else |
14171 ac_cv_lib_intl_strftime=no | 12505 ac_cv_lib_dl_dlopen=no |
14172 fi | 12506 fi |
14173 rm -f core conftest.err conftest.$ac_objext \ | 12507 rm -f core conftest.err conftest.$ac_objext \ |
14174 conftest$ac_exeext conftest.$ac_ext | 12508 conftest$ac_exeext conftest.$ac_ext |
14175 LIBS=$ac_check_lib_save_LIBS | 12509 LIBS=$ac_check_lib_save_LIBS |
14176 fi | 12510 fi |
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
14178 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 12512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
14179 if test "x$ac_cv_lib_intl_strftime" = xyes; then : | 12513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
14180 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 12514 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
| 12515 else |
14181 | 12516 |
14182 LIBS="-lintl $LIBS" | 12517 lt_cv_dlopen="dyld" |
| 12518 lt_cv_dlopen_libs= |
| 12519 lt_cv_dlopen_self=yes |
| 12520 |
14183 fi | 12521 fi |
14184 | 12522 |
14185 fi | 12523 ;; |
14186 done | |
14187 | 12524 |
14188 for ac_func in strdup strndup strerror | 12525 *) |
14189 do : | 12526 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
14190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12527 if test "x$ac_cv_func_shl_load" = xyes; then : |
14191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 12528 lt_cv_dlopen="shl_load" |
14192 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 12529 else |
14193 cat >>confdefs.h <<_ACEOF | 12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
14194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12531 $as_echo_n "checking for shl_load in -ldld... " >&6; } |
14195 _ACEOF | 12532 if ${ac_cv_lib_dld_shl_load+:} false; then : |
14196 | 12533 $as_echo_n "(cached) " >&6 |
14197 fi | 12534 else |
14198 done | 12535 ac_check_lib_save_LIBS=$LIBS |
14199 | 12536 LIBS="-ldld $LIBS" |
14200 for ac_func in finite isnand fp_class class fpclass | |
14201 do : | |
14202 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
14203 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
14204 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
14205 cat >>confdefs.h <<_ACEOF | |
14206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
14207 _ACEOF | |
14208 | |
14209 fi | |
14210 done | |
14211 | |
14212 for ac_func in strftime localtime gettimeofday ftime | |
14213 do : | |
14214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
14215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
14216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
14217 cat >>confdefs.h <<_ACEOF | |
14218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
14219 _ACEOF | |
14220 | |
14221 fi | |
14222 done | |
14223 | |
14224 for ac_func in stat _stat signal | |
14225 do : | |
14226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
14227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
14228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
14229 cat >>confdefs.h <<_ACEOF | |
14230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
14231 _ACEOF | |
14232 | |
14233 fi | |
14234 done | |
14235 | |
14236 for ac_func in rand rand_r srand time | |
14237 do : | |
14238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
14239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
14240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
14241 cat >>confdefs.h <<_ACEOF | |
14242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
14243 _ACEOF | |
14244 | |
14245 fi | |
14246 done | |
14247 | |
14248 for ac_func in isascii mmap munmap putenv | |
14249 do : | |
14250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
14251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
14252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
14253 cat >>confdefs.h <<_ACEOF | |
14254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
14255 _ACEOF | |
14256 | |
14257 fi | |
14258 done | |
14259 | |
14260 | |
14261 | |
14262 | |
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 | |
14264 $as_echo_n "checking for va_copy... " >&6; } | |
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14266 /* end confdefs.h. */ | 12538 /* end confdefs.h. */ |
14267 #include <stdarg.h> | 12539 |
14268 va_list ap1,ap2; | 12540 /* Override any GCC internal prototype to avoid an error. |
| 12541 Use char because int might match the return type of a GCC |
| 12542 builtin and then its argument prototype would still apply. */ |
| 12543 #ifdef __cplusplus |
| 12544 extern "C" |
| 12545 #endif |
| 12546 char shl_load (); |
14269 int | 12547 int |
14270 main () | 12548 main () |
14271 { | 12549 { |
14272 va_copy(ap1,ap2); | 12550 return shl_load (); |
14273 ; | 12551 ; |
14274 return 0; | 12552 return 0; |
14275 } | 12553 } |
14276 _ACEOF | 12554 _ACEOF |
14277 if ac_fn_c_try_link "$LINENO"; then : | 12555 if ac_fn_c_try_link "$LINENO"; then : |
14278 have_va_copy=yes | 12556 ac_cv_lib_dld_shl_load=yes |
14279 else | 12557 else |
14280 have_va_copy=no | 12558 ac_cv_lib_dld_shl_load=no |
14281 fi | 12559 fi |
14282 rm -f core conftest.err conftest.$ac_objext \ | 12560 rm -f core conftest.err conftest.$ac_objext \ |
14283 conftest$ac_exeext conftest.$ac_ext | 12561 conftest$ac_exeext conftest.$ac_ext |
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5 | 12562 LIBS=$ac_check_lib_save_LIBS |
14285 $as_echo "$have_va_copy" >&6; } | 12563 fi |
14286 if test x"$have_va_copy" = x"yes"; then | 12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
14287 | 12565 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
14288 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h | 12566 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
14289 | 12567 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
14290 else | 12568 else |
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5 | 12569 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
14292 $as_echo_n "checking for __va_copy... " >&6; } | 12570 if test "x$ac_cv_func_dlopen" = xyes; then : |
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12571 lt_cv_dlopen="dlopen" |
14294 /* end confdefs.h. */ | |
14295 #include <stdarg.h> | |
14296 va_list ap1,ap2; | |
14297 int | |
14298 main () | |
14299 { | |
14300 __va_copy(ap1,ap2); | |
14301 ; | |
14302 return 0; | |
14303 } | |
14304 _ACEOF | |
14305 if ac_fn_c_try_link "$LINENO"; then : | |
14306 have___va_copy=yes | |
14307 else | 12572 else |
14308 have___va_copy=no | 12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
14309 fi | 12574 $as_echo_n "checking for dlopen in -ldl... " >&6; } |
14310 rm -f core conftest.err conftest.$ac_objext \ | 12575 if ${ac_cv_lib_dl_dlopen+:} false; then : |
14311 conftest$ac_exeext conftest.$ac_ext | |
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5 | |
14313 $as_echo "$have___va_copy" >&6; } | |
14314 if test x"$have___va_copy" = x"yes"; then | |
14315 | |
14316 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h | |
14317 | |
14318 fi | |
14319 fi | |
14320 | |
14321 { $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; } | |
14323 cat > conftest.$ac_ext <<EOF | |
14324 #line 14324 "configure" | |
14325 #include "confdefs.h" | |
14326 | |
14327 #include <stdarg.h> | |
14328 void a(va_list * ap) {} | |
14329 int main(void) { | |
14330 | |
14331 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 | |
14332 ; return 0; } | |
14333 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 | |
14335 rm -rf conftest* | |
14336 | |
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
14338 $as_echo "no" >&6; } | |
14339 else | |
14340 echo "configure: failed program was:" >&5 | |
14341 cat conftest.$ac_ext >&5 | |
14342 rm -rf conftest* | |
14343 | |
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
14345 $as_echo "yes" >&6; } | |
14346 | |
14347 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h | |
14348 | |
14349 fi | |
14350 rm -f conftest* | |
14351 | |
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethost
ent" >&5 | |
14353 $as_echo_n "checking for library containing gethostent... " >&6; } | |
14354 if ${ac_cv_search_gethostent+:} false; then : | |
14355 $as_echo_n "(cached) " >&6 | 12576 $as_echo_n "(cached) " >&6 |
14356 else | 12577 else |
14357 ac_func_search_save_LIBS=$LIBS | 12578 ac_check_lib_save_LIBS=$LIBS |
| 12579 LIBS="-ldl $LIBS" |
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14359 /* end confdefs.h. */ | 12581 /* end confdefs.h. */ |
14360 | 12582 |
14361 /* Override any GCC internal prototype to avoid an error. | 12583 /* Override any GCC internal prototype to avoid an error. |
14362 Use char because int might match the return type of a GCC | 12584 Use char because int might match the return type of a GCC |
14363 builtin and then its argument prototype would still apply. */ | 12585 builtin and then its argument prototype would still apply. */ |
14364 #ifdef __cplusplus | 12586 #ifdef __cplusplus |
14365 extern "C" | 12587 extern "C" |
14366 #endif | 12588 #endif |
14367 char gethostent (); | 12589 char dlopen (); |
14368 int | 12590 int |
14369 main () | 12591 main () |
14370 { | 12592 { |
14371 return gethostent (); | 12593 return dlopen (); |
14372 ; | 12594 ; |
14373 return 0; | 12595 return 0; |
14374 } | 12596 } |
14375 _ACEOF | 12597 _ACEOF |
14376 for ac_lib in '' nsl; do | 12598 if ac_fn_c_try_link "$LINENO"; then : |
14377 if test -z "$ac_lib"; then | 12599 ac_cv_lib_dl_dlopen=yes |
14378 ac_res="none required" | 12600 else |
14379 else | 12601 ac_cv_lib_dl_dlopen=no |
14380 ac_res=-l$ac_lib | |
14381 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
14382 fi | |
14383 if ac_fn_c_try_link "$LINENO"; then : | |
14384 ac_cv_search_gethostent=$ac_res | |
14385 fi | 12602 fi |
14386 rm -f core conftest.err conftest.$ac_objext \ | 12603 rm -f core conftest.err conftest.$ac_objext \ |
14387 conftest$ac_exeext | 12604 conftest$ac_exeext conftest.$ac_ext |
14388 if ${ac_cv_search_gethostent+:} false; then : | 12605 LIBS=$ac_check_lib_save_LIBS |
14389 break | |
14390 fi | 12606 fi |
14391 done | 12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
14392 if ${ac_cv_search_gethostent+:} false; then : | 12608 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
14393 | 12609 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
| 12610 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
14394 else | 12611 else |
14395 ac_cv_search_gethostent=no | 12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
14396 fi | 12613 $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
14397 rm conftest.$ac_ext | 12614 if ${ac_cv_lib_svld_dlopen+:} false; then : |
14398 LIBS=$ac_func_search_save_LIBS | |
14399 fi | |
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5 | |
14401 $as_echo "$ac_cv_search_gethostent" >&6; } | |
14402 ac_res=$ac_cv_search_gethostent | |
14403 if test "$ac_res" != no; then : | |
14404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
14405 | |
14406 fi | |
14407 | |
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsock
opt" >&5 | |
14409 $as_echo_n "checking for library containing setsockopt... " >&6; } | |
14410 if ${ac_cv_search_setsockopt+:} false; then : | |
14411 $as_echo_n "(cached) " >&6 | 12615 $as_echo_n "(cached) " >&6 |
14412 else | 12616 else |
14413 ac_func_search_save_LIBS=$LIBS | 12617 ac_check_lib_save_LIBS=$LIBS |
| 12618 LIBS="-lsvld $LIBS" |
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14415 /* end confdefs.h. */ | 12620 /* end confdefs.h. */ |
14416 | 12621 |
14417 /* Override any GCC internal prototype to avoid an error. | 12622 /* Override any GCC internal prototype to avoid an error. |
14418 Use char because int might match the return type of a GCC | 12623 Use char because int might match the return type of a GCC |
14419 builtin and then its argument prototype would still apply. */ | 12624 builtin and then its argument prototype would still apply. */ |
14420 #ifdef __cplusplus | 12625 #ifdef __cplusplus |
14421 extern "C" | 12626 extern "C" |
14422 #endif | 12627 #endif |
14423 char setsockopt (); | 12628 char dlopen (); |
14424 int | 12629 int |
14425 main () | 12630 main () |
14426 { | 12631 { |
14427 return setsockopt (); | 12632 return dlopen (); |
14428 ; | 12633 ; |
14429 return 0; | 12634 return 0; |
14430 } | 12635 } |
14431 _ACEOF | 12636 _ACEOF |
14432 for ac_lib in '' socket net network; do | 12637 if ac_fn_c_try_link "$LINENO"; then : |
14433 if test -z "$ac_lib"; then | 12638 ac_cv_lib_svld_dlopen=yes |
14434 ac_res="none required" | 12639 else |
14435 else | 12640 ac_cv_lib_svld_dlopen=no |
14436 ac_res=-l$ac_lib | |
14437 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
14438 fi | |
14439 if ac_fn_c_try_link "$LINENO"; then : | |
14440 ac_cv_search_setsockopt=$ac_res | |
14441 fi | 12641 fi |
14442 rm -f core conftest.err conftest.$ac_objext \ | 12642 rm -f core conftest.err conftest.$ac_objext \ |
14443 conftest$ac_exeext | 12643 conftest$ac_exeext conftest.$ac_ext |
14444 if ${ac_cv_search_setsockopt+:} false; then : | 12644 LIBS=$ac_check_lib_save_LIBS |
14445 break | |
14446 fi | 12645 fi |
14447 done | 12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
14448 if ${ac_cv_search_setsockopt+:} false; then : | 12647 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
14449 | 12648 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
| 12649 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
14450 else | 12650 else |
14451 ac_cv_search_setsockopt=no | 12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
14452 fi | 12652 $as_echo_n "checking for dld_link in -ldld... " >&6; } |
14453 rm conftest.$ac_ext | 12653 if ${ac_cv_lib_dld_dld_link+:} false; then : |
14454 LIBS=$ac_func_search_save_LIBS | |
14455 fi | |
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5 | |
14457 $as_echo "$ac_cv_search_setsockopt" >&6; } | |
14458 ac_res=$ac_cv_search_setsockopt | |
14459 if test "$ac_res" != no; then : | |
14460 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
14461 | |
14462 fi | |
14463 | |
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect
" >&5 | |
14465 $as_echo_n "checking for library containing connect... " >&6; } | |
14466 if ${ac_cv_search_connect+:} false; then : | |
14467 $as_echo_n "(cached) " >&6 | 12654 $as_echo_n "(cached) " >&6 |
14468 else | 12655 else |
14469 ac_func_search_save_LIBS=$LIBS | 12656 ac_check_lib_save_LIBS=$LIBS |
| 12657 LIBS="-ldld $LIBS" |
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14471 /* end confdefs.h. */ | 12659 /* end confdefs.h. */ |
14472 | 12660 |
14473 /* Override any GCC internal prototype to avoid an error. | 12661 /* Override any GCC internal prototype to avoid an error. |
14474 Use char because int might match the return type of a GCC | 12662 Use char because int might match the return type of a GCC |
14475 builtin and then its argument prototype would still apply. */ | 12663 builtin and then its argument prototype would still apply. */ |
14476 #ifdef __cplusplus | 12664 #ifdef __cplusplus |
14477 extern "C" | 12665 extern "C" |
14478 #endif | 12666 #endif |
14479 char connect (); | 12667 char dld_link (); |
14480 int | 12668 int |
14481 main () | 12669 main () |
14482 { | 12670 { |
14483 return connect (); | 12671 return dld_link (); |
14484 ; | |
14485 return 0; | |
14486 } | |
14487 _ACEOF | |
14488 for ac_lib in '' inet; do | |
14489 if test -z "$ac_lib"; then | |
14490 ac_res="none required" | |
14491 else | |
14492 ac_res=-l$ac_lib | |
14493 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
14494 fi | |
14495 if ac_fn_c_try_link "$LINENO"; then : | |
14496 ac_cv_search_connect=$ac_res | |
14497 fi | |
14498 rm -f core conftest.err conftest.$ac_objext \ | |
14499 conftest$ac_exeext | |
14500 if ${ac_cv_search_connect+:} false; then : | |
14501 break | |
14502 fi | |
14503 done | |
14504 if ${ac_cv_search_connect+:} false; then : | |
14505 | |
14506 else | |
14507 ac_cv_search_connect=no | |
14508 fi | |
14509 rm conftest.$ac_ext | |
14510 LIBS=$ac_func_search_save_LIBS | |
14511 fi | |
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5 | |
14513 $as_echo "$ac_cv_search_connect" >&6; } | |
14514 ac_res=$ac_cv_search_connect | |
14515 if test "$ac_res" != no; then : | |
14516 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
14517 | |
14518 fi | |
14519 | |
14520 | |
14521 { $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; } | |
14523 cat > conftest.$ac_ext <<EOF | |
14524 #line 14524 "configure" | |
14525 #include "confdefs.h" | |
14526 | |
14527 #include <stddef.h> | |
14528 #include <sys/types.h> | |
14529 #include <sys/socket.h> | |
14530 int main(void) { | |
14531 | |
14532 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) | |
14533 ; return 0; } | |
14534 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 | |
14536 rm -rf conftest* | |
14537 | |
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 | |
14539 $as_echo "socklen_t *" >&6; } | |
14540 XML_SOCKLEN_T=socklen_t | |
14541 else | |
14542 echo "configure: failed program was:" >&5 | |
14543 cat conftest.$ac_ext >&5 | |
14544 rm -rf conftest* | |
14545 | |
14546 cat > conftest.$ac_ext <<EOF | |
14547 #line 14547 "configure" | |
14548 #include "confdefs.h" | |
14549 | |
14550 #include <stddef.h> | |
14551 #include <sys/types.h> | |
14552 #include <sys/socket.h> | |
14553 int main(void) { | |
14554 | |
14555 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) | |
14556 ; return 0; } | |
14557 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 | |
14559 rm -rf conftest* | |
14560 | |
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 | |
14562 $as_echo "size_t *" >&6; } | |
14563 XML_SOCKLEN_T=size_t | |
14564 else | |
14565 echo "configure: failed program was:" >&5 | |
14566 cat conftest.$ac_ext >&5 | |
14567 rm -rf conftest* | |
14568 | |
14569 cat > conftest.$ac_ext <<EOF | |
14570 #line 14570 "configure" | |
14571 #include "confdefs.h" | |
14572 | |
14573 #include <stddef.h> | |
14574 #include <sys/types.h> | |
14575 #include <sys/socket.h> | |
14576 int main(void) { | |
14577 | |
14578 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) | |
14579 ; return 0; } | |
14580 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 | |
14582 rm -rf conftest* | |
14583 | |
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 | |
14585 $as_echo "int *" >&6; } | |
14586 XML_SOCKLEN_T=int | |
14587 else | |
14588 echo "configure: failed program was:" >&5 | |
14589 cat conftest.$ac_ext >&5 | |
14590 rm -rf conftest* | |
14591 | |
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5 | |
14593 $as_echo "$as_me: WARNING: could not determine" >&2;} | |
14594 XML_SOCKLEN_T="int" | |
14595 fi | |
14596 rm -f conftest* | |
14597 fi | |
14598 rm -f conftest* | |
14599 fi | |
14600 rm -f conftest* | |
14601 | |
14602 cat >>confdefs.h <<_ACEOF | |
14603 #define XML_SOCKLEN_T $XML_SOCKLEN_T | |
14604 _ACEOF | |
14605 | |
14606 | |
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const gethostbyname() argu
ment" >&5 | |
14608 $as_echo_n "checking for const gethostbyname() argument... " >&6; } | |
14609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14610 /* end confdefs.h. */ | |
14611 #include <netdb.h> | |
14612 int | |
14613 main () | |
14614 { | |
14615 (void)gethostbyname((const char *)""); | |
14616 ; | 12672 ; |
14617 return 0; | 12673 return 0; |
14618 } | 12674 } |
14619 _ACEOF | 12675 _ACEOF |
14620 if ac_fn_c_try_link "$LINENO"; then : | 12676 if ac_fn_c_try_link "$LINENO"; then : |
14621 have_gethostbyname_const_arg=yes | 12677 ac_cv_lib_dld_dld_link=yes |
14622 else | 12678 else |
14623 have_gethostbyname_const_arg=no | 12679 ac_cv_lib_dld_dld_link=no |
14624 fi | |
14625 rm -f core conftest.err conftest.$ac_objext \ | |
14626 conftest$ac_exeext conftest.$ac_ext | |
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gethostbyname_const_arg"
>&5 | |
14628 $as_echo "$have_gethostbyname_const_arg" >&6; } | |
14629 if test x"$have_gethostbyname_const_arg" = x"yes"; then | |
14630 | |
14631 $as_echo "#define GETHOSTBYNAME_ARG_CAST /**/" >>confdefs.h | |
14632 | |
14633 else | |
14634 | |
14635 $as_echo "#define GETHOSTBYNAME_ARG_CAST (char *)" >>confdefs.h | |
14636 | |
14637 fi | |
14638 | |
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const send() second argume
nt" >&5 | |
14640 $as_echo_n "checking for const send() second argument... " >&6; } | |
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14642 /* end confdefs.h. */ | |
14643 #include <sys/types.h> | |
14644 #include <sys/socket.h> | |
14645 int | |
14646 main () | |
14647 { | |
14648 (void)send(1,(const char *)"",1,1); | |
14649 ; | |
14650 return 0; | |
14651 } | |
14652 _ACEOF | |
14653 if ac_fn_c_try_link "$LINENO"; then : | |
14654 have_send_const_arg2=yes | |
14655 else | |
14656 have_send_const_arg2=no | |
14657 fi | |
14658 rm -f core conftest.err conftest.$ac_objext \ | |
14659 conftest$ac_exeext conftest.$ac_ext | |
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_send_const_arg2" >&5 | |
14661 $as_echo "$have_send_const_arg2" >&6; } | |
14662 if test x"$have_send_const_arg2" = x"yes"; then | |
14663 | |
14664 $as_echo "#define SEND_ARG2_CAST /**/" >>confdefs.h | |
14665 | |
14666 else | |
14667 | |
14668 $as_echo "#define SEND_ARG2_CAST (char *)" >>confdefs.h | |
14669 | |
14670 fi | |
14671 | |
14672 | |
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5 | |
14674 $as_echo_n "checking whether to enable IPv6... " >&6; } | |
14675 # Check whether --enable-ipv6 was given. | |
14676 if test "${enable_ipv6+set}" = set; then : | |
14677 enableval=$enable_ipv6; | |
14678 else | |
14679 enable_ipv6=yes | |
14680 fi | |
14681 | |
14682 if test "$with_minimum" = "yes" | |
14683 then | |
14684 enable_ipv6=no | |
14685 fi | |
14686 if test $enable_ipv6 = yes; then | |
14687 have_ipv6=no | |
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14689 /* end confdefs.h. */ | |
14690 | |
14691 # include <sys/types.h> | |
14692 # include <sys/socket.h> | |
14693 | |
14694 int | |
14695 main () | |
14696 { | |
14697 | |
14698 struct sockaddr_storage ss; | |
14699 socket(AF_INET6, SOCK_STREAM, 0) | |
14700 | |
14701 ; | |
14702 return 0; | |
14703 } | |
14704 _ACEOF | |
14705 if ac_fn_c_try_compile "$LINENO"; then : | |
14706 have_ipv6=yes | |
14707 else | |
14708 have_ipv6=no | |
14709 | |
14710 fi | |
14711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5 | |
14713 $as_echo "$have_ipv6" >&6; } | |
14714 | |
14715 if test $have_ipv6 = yes; then | |
14716 | |
14717 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h | |
14718 | |
14719 have_broken_ss_family=no | |
14720 | |
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checkin
g struct sockaddr::ss_family" >&5 | |
14722 $as_echo_n "checking struct sockaddr::ss_family... " >&6; } | |
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14724 /* end confdefs.h. */ | |
14725 | |
14726 # include <sys/types.h> | |
14727 # include <sys/socket.h> | |
14728 | |
14729 int | |
14730 main () | |
14731 { | |
14732 | |
14733 struct sockaddr_storage ss ; | |
14734 ss.ss_family = 0 ; | |
14735 | |
14736 ; | |
14737 return 0; | |
14738 } | |
14739 _ACEOF | |
14740 if ac_fn_c_try_compile "$LINENO"; then : | |
14741 have_ss_family=yes | |
14742 else | |
14743 have_ss_family=no | |
14744 | |
14745 fi | |
14746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5 | |
14748 $as_echo "$have_ss_family" >&6; } | |
14749 if test x$have_ss_family = xno ; then | |
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::
ss_family" >&5 | |
14751 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; } | |
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14753 /* end confdefs.h. */ | |
14754 | |
14755 # include <sys/types.h> | |
14756 # include <sys/socket.h> | |
14757 | |
14758 int | |
14759 main () | |
14760 { | |
14761 | |
14762 struct sockaddr_storage ss ; | |
14763 ss.__ss_family = 0 ; | |
14764 | |
14765 ; | |
14766 return 0; | |
14767 } | |
14768 _ACEOF | |
14769 if ac_fn_c_try_compile "$LINENO"; then : | |
14770 have_broken_ss_family=yes | |
14771 else | |
14772 have_broken_ss_family=no | |
14773 | |
14774 fi | |
14775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >
&5 | |
14777 $as_echo "$have_broken_ss_family" >&6; } | |
14778 if test x$have_broken_ss_family = xyes ; then | |
14779 | |
14780 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h | |
14781 | |
14782 | |
14783 $as_echo "#define ss_family __ss_family" >>confdefs.h | |
14784 | |
14785 else | |
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_fam
ily not found" >&5 | |
14787 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;} | |
14788 fi | |
14789 fi | |
14790 | |
14791 have_getaddrinfo=no | |
14792 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo" | |
14793 if test "x$ac_cv_func_getaddrinfo" = xyes; then : | |
14794 have_getaddrinfo=yes | |
14795 fi | |
14796 | |
14797 if test $have_getaddrinfo != yes; then | |
14798 for lib in bsd socket inet; do | |
14799 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh` | |
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5 | |
14801 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; } | |
14802 if eval \${$as_ac_Lib+:} false; then : | |
14803 $as_echo_n "(cached) " >&6 | |
14804 else | |
14805 ac_check_lib_save_LIBS=$LIBS | |
14806 LIBS="-l$lib $LIBS" | |
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14808 /* end confdefs.h. */ | |
14809 | |
14810 /* Override any GCC internal prototype to avoid an error. | |
14811 Use char because int might match the return type of a GCC | |
14812 builtin and then its argument prototype would still apply. */ | |
14813 #ifdef __cplusplus | |
14814 extern "C" | |
14815 #endif | |
14816 char getaddrinfo (); | |
14817 int | |
14818 main () | |
14819 { | |
14820 return getaddrinfo (); | |
14821 ; | |
14822 return 0; | |
14823 } | |
14824 _ACEOF | |
14825 if ac_fn_c_try_link "$LINENO"; then : | |
14826 eval "$as_ac_Lib=yes" | |
14827 else | |
14828 eval "$as_ac_Lib=no" | |
14829 fi | 12680 fi |
14830 rm -f core conftest.err conftest.$ac_objext \ | 12681 rm -f core conftest.err conftest.$ac_objext \ |
14831 conftest$ac_exeext conftest.$ac_ext | 12682 conftest$ac_exeext conftest.$ac_ext |
14832 LIBS=$ac_check_lib_save_LIBS | 12683 LIBS=$ac_check_lib_save_LIBS |
14833 fi | 12684 fi |
14834 eval ac_res=\$$as_ac_Lib | 12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
14835 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 12686 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
14836 $as_echo "$ac_res" >&6; } | 12687 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
14837 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 12688 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
14838 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break | 12689 fi |
14839 fi | 12690 |
14840 | 12691 |
14841 done | 12692 fi |
| 12693 |
| 12694 |
| 12695 fi |
| 12696 |
| 12697 |
| 12698 fi |
| 12699 |
| 12700 |
| 12701 fi |
| 12702 |
| 12703 |
| 12704 fi |
| 12705 |
| 12706 ;; |
| 12707 esac |
| 12708 |
| 12709 if test "x$lt_cv_dlopen" != xno; then |
| 12710 enable_dlopen=yes |
| 12711 else |
| 12712 enable_dlopen=no |
| 12713 fi |
| 12714 |
| 12715 case $lt_cv_dlopen in |
| 12716 dlopen) |
| 12717 save_CPPFLAGS="$CPPFLAGS" |
| 12718 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 12719 |
| 12720 save_LDFLAGS="$LDFLAGS" |
| 12721 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 12722 |
| 12723 save_LIBS="$LIBS" |
| 12724 LIBS="$lt_cv_dlopen_libs $LIBS" |
| 12725 |
| 12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlop
en itself" >&5 |
| 12727 $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
| 12728 if ${lt_cv_dlopen_self+:} false; then : |
| 12729 $as_echo_n "(cached) " >&6 |
| 12730 else |
| 12731 » if test "$cross_compiling" = yes; then : |
| 12732 lt_cv_dlopen_self=cross |
| 12733 else |
| 12734 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12735 lt_status=$lt_dlunknown |
| 12736 cat > conftest.$ac_ext <<_LT_EOF |
| 12737 #line $LINENO "configure" |
| 12738 #include "confdefs.h" |
| 12739 |
| 12740 #if HAVE_DLFCN_H |
| 12741 #include <dlfcn.h> |
| 12742 #endif |
| 12743 |
| 12744 #include <stdio.h> |
| 12745 |
| 12746 #ifdef RTLD_GLOBAL |
| 12747 # define LT_DLGLOBAL» » RTLD_GLOBAL |
| 12748 #else |
| 12749 # ifdef DL_GLOBAL |
| 12750 # define LT_DLGLOBAL»» DL_GLOBAL |
| 12751 # else |
| 12752 # define LT_DLGLOBAL»» 0 |
| 12753 # endif |
| 12754 #endif |
| 12755 |
| 12756 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 12757 find out it does not work in some platform. */ |
| 12758 #ifndef LT_DLLAZY_OR_NOW |
| 12759 # ifdef RTLD_LAZY |
| 12760 # define LT_DLLAZY_OR_NOW» » RTLD_LAZY |
| 12761 # else |
| 12762 # ifdef DL_LAZY |
| 12763 # define LT_DLLAZY_OR_NOW» » DL_LAZY |
| 12764 # else |
| 12765 # ifdef RTLD_NOW |
| 12766 # define LT_DLLAZY_OR_NOW» RTLD_NOW |
| 12767 # else |
| 12768 # ifdef DL_NOW |
| 12769 # define LT_DLLAZY_OR_NOW» DL_NOW |
| 12770 # else |
| 12771 # define LT_DLLAZY_OR_NOW» 0 |
| 12772 # endif |
| 12773 # endif |
| 12774 # endif |
| 12775 # endif |
| 12776 #endif |
| 12777 |
| 12778 /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12779 correspondingly for the symbols needed. */ |
| 12780 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) |
| 12781 int fnord () __attribute__((visibility("default"))); |
| 12782 #endif |
| 12783 |
| 12784 int fnord () { return 42; } |
| 12785 int main () |
| 12786 { |
| 12787 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12788 int status = $lt_dlunknown; |
| 12789 |
| 12790 if (self) |
| 12791 { |
| 12792 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 12793 else |
| 12794 { |
| 12795 » if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12796 else puts (dlerror ()); |
| 12797 » } |
| 12798 /* dlclose (self); */ |
| 12799 } |
| 12800 else |
| 12801 puts (dlerror ()); |
| 12802 |
| 12803 return status; |
| 12804 } |
| 12805 _LT_EOF |
| 12806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12807 (eval $ac_link) 2>&5 |
| 12808 ac_status=$? |
| 12809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12810 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12811 (./conftest; exit; ) >&5 2>/dev/null |
| 12812 lt_status=$? |
| 12813 case x$lt_status in |
| 12814 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
| 12815 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
| 12816 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
| 12817 esac |
| 12818 else : |
| 12819 # compilation failed |
| 12820 lt_cv_dlopen_self=no |
| 12821 fi |
| 12822 fi |
| 12823 rm -fr conftest* |
| 12824 |
| 12825 |
| 12826 fi |
| 12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
| 12828 $as_echo "$lt_cv_dlopen_self" >&6; } |
| 12829 |
| 12830 if test "x$lt_cv_dlopen_self" = xyes; then |
| 12831 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" |
| 12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically lin
ked program can dlopen itself" >&5 |
| 12833 $as_echo_n "checking whether a statically linked program can dlopen itself... "
>&6; } |
| 12834 if ${lt_cv_dlopen_self_static+:} false; then : |
| 12835 $as_echo_n "(cached) " >&6 |
| 12836 else |
| 12837 » if test "$cross_compiling" = yes; then : |
| 12838 lt_cv_dlopen_self_static=cross |
| 12839 else |
| 12840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 12841 lt_status=$lt_dlunknown |
| 12842 cat > conftest.$ac_ext <<_LT_EOF |
| 12843 #line $LINENO "configure" |
| 12844 #include "confdefs.h" |
| 12845 |
| 12846 #if HAVE_DLFCN_H |
| 12847 #include <dlfcn.h> |
| 12848 #endif |
| 12849 |
| 12850 #include <stdio.h> |
| 12851 |
| 12852 #ifdef RTLD_GLOBAL |
| 12853 # define LT_DLGLOBAL» » RTLD_GLOBAL |
| 12854 #else |
| 12855 # ifdef DL_GLOBAL |
| 12856 # define LT_DLGLOBAL»» DL_GLOBAL |
| 12857 # else |
| 12858 # define LT_DLGLOBAL»» 0 |
| 12859 # endif |
| 12860 #endif |
| 12861 |
| 12862 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
| 12863 find out it does not work in some platform. */ |
| 12864 #ifndef LT_DLLAZY_OR_NOW |
| 12865 # ifdef RTLD_LAZY |
| 12866 # define LT_DLLAZY_OR_NOW» » RTLD_LAZY |
| 12867 # else |
| 12868 # ifdef DL_LAZY |
| 12869 # define LT_DLLAZY_OR_NOW» » DL_LAZY |
| 12870 # else |
| 12871 # ifdef RTLD_NOW |
| 12872 # define LT_DLLAZY_OR_NOW» RTLD_NOW |
| 12873 # else |
| 12874 # ifdef DL_NOW |
| 12875 # define LT_DLLAZY_OR_NOW» DL_NOW |
| 12876 # else |
| 12877 # define LT_DLLAZY_OR_NOW» 0 |
| 12878 # endif |
| 12879 # endif |
| 12880 # endif |
| 12881 # endif |
| 12882 #endif |
| 12883 |
| 12884 /* When -fvisbility=hidden is used, assume the code has been annotated |
| 12885 correspondingly for the symbols needed. */ |
| 12886 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) |
| 12887 int fnord () __attribute__((visibility("default"))); |
| 12888 #endif |
| 12889 |
| 12890 int fnord () { return 42; } |
| 12891 int main () |
| 12892 { |
| 12893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 12894 int status = $lt_dlunknown; |
| 12895 |
| 12896 if (self) |
| 12897 { |
| 12898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 12899 else |
| 12900 { |
| 12901 » if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 12902 else puts (dlerror ()); |
| 12903 » } |
| 12904 /* dlclose (self); */ |
| 12905 } |
| 12906 else |
| 12907 puts (dlerror ()); |
| 12908 |
| 12909 return status; |
| 12910 } |
| 12911 _LT_EOF |
| 12912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 12913 (eval $ac_link) 2>&5 |
| 12914 ac_status=$? |
| 12915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 12916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
| 12917 (./conftest; exit; ) >&5 2>/dev/null |
| 12918 lt_status=$? |
| 12919 case x$lt_status in |
| 12920 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
| 12921 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
| 12922 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
| 12923 esac |
| 12924 else : |
| 12925 # compilation failed |
| 12926 lt_cv_dlopen_self_static=no |
| 12927 fi |
| 12928 fi |
| 12929 rm -fr conftest* |
| 12930 |
| 12931 |
| 12932 fi |
| 12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
| 12934 $as_echo "$lt_cv_dlopen_self_static" >&6; } |
14842 fi | 12935 fi |
14843 | 12936 |
14844 if test $have_getaddrinfo = yes; then | 12937 CPPFLAGS="$save_CPPFLAGS" |
14845 | 12938 LDFLAGS="$save_LDFLAGS" |
14846 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h | 12939 LIBS="$save_LIBS" |
14847 | 12940 ;; |
| 12941 esac |
| 12942 |
| 12943 case $lt_cv_dlopen_self in |
| 12944 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 12945 *) enable_dlopen_self=unknown ;; |
| 12946 esac |
| 12947 |
| 12948 case $lt_cv_dlopen_self_static in |
| 12949 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| 12950 *) enable_dlopen_self_static=unknown ;; |
| 12951 esac |
| 12952 fi |
| 12953 |
| 12954 |
| 12955 |
| 12956 |
| 12957 |
| 12958 |
| 12959 |
| 12960 |
| 12961 |
| 12962 |
| 12963 |
| 12964 |
| 12965 |
| 12966 |
| 12967 |
| 12968 |
| 12969 |
| 12970 striplib= |
| 12971 old_striplib= |
| 12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is
possible" >&5 |
| 12973 $as_echo_n "checking whether stripping libraries is possible... " >&6; } |
| 12974 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 12975 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 12976 test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12978 $as_echo "yes" >&6; } |
| 12979 else |
| 12980 # FIXME - insert some real tests, host_os isn't really good enough |
| 12981 case $host_os in |
| 12982 darwin*) |
| 12983 if test -n "$STRIP" ; then |
| 12984 striplib="$STRIP -x" |
| 12985 old_striplib="$STRIP -S" |
| 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 12987 $as_echo "yes" >&6; } |
| 12988 else |
| 12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 12990 $as_echo "no" >&6; } |
14848 fi | 12991 fi |
14849 fi | 12992 ;; |
14850 fi | 12993 *) |
14851 | 12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
14852 | 12995 $as_echo "no" >&6; } |
14853 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" | 12996 ;; |
14854 if test "x$ac_cv_func_isnan" = xyes; then : | 12997 esac |
14855 | 12998 fi |
14856 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h | 12999 |
14857 | 13000 |
14858 else | 13001 |
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5 | 13002 |
14860 $as_echo_n "checking for isnan in -lm... " >&6; } | 13003 |
14861 if ${ac_cv_lib_m_isnan+:} false; then : | 13004 |
| 13005 |
| 13006 |
| 13007 |
| 13008 |
| 13009 |
| 13010 |
| 13011 # Report which library types will actually be built |
| 13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared l
ibraries" >&5 |
| 13013 $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
| 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
| 13015 $as_echo "$can_build_shared" >&6; } |
| 13016 |
| 13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libr
aries" >&5 |
| 13018 $as_echo_n "checking whether to build shared libraries... " >&6; } |
| 13019 test "$can_build_shared" = "no" && enable_shared=no |
| 13020 |
| 13021 # On AIX, shared libraries and static libraries use the same namespace, and |
| 13022 # are all built from PIC. |
| 13023 case $host_os in |
| 13024 aix3*) |
| 13025 test "$enable_shared" = yes && enable_static=no |
| 13026 if test -n "$RANLIB"; then |
| 13027 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 13028 postinstall_cmds='$RANLIB $lib' |
| 13029 fi |
| 13030 ;; |
| 13031 |
| 13032 aix[4-9]*) |
| 13033 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
| 13034 test "$enable_shared" = yes && enable_static=no |
| 13035 fi |
| 13036 ;; |
| 13037 esac |
| 13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
| 13039 $as_echo "$enable_shared" >&6; } |
| 13040 |
| 13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libr
aries" >&5 |
| 13042 $as_echo_n "checking whether to build static libraries... " >&6; } |
| 13043 # Make sure either enable_shared or enable_static is yes. |
| 13044 test "$enable_shared" = yes || enable_static=yes |
| 13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
| 13046 $as_echo "$enable_static" >&6; } |
| 13047 |
| 13048 |
| 13049 |
| 13050 |
| 13051 fi |
| 13052 ac_ext=c |
| 13053 ac_cpp='$CPP $CPPFLAGS' |
| 13054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 13055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 13056 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 13057 |
| 13058 CC="$lt_save_CC" |
| 13059 |
| 13060 |
| 13061 |
| 13062 |
| 13063 |
| 13064 |
| 13065 |
| 13066 |
| 13067 |
| 13068 |
| 13069 |
| 13070 |
| 13071 |
| 13072 |
| 13073 |
| 13074 ac_config_commands="$ac_config_commands libtool" |
| 13075 |
| 13076 |
| 13077 |
| 13078 |
| 13079 # Only expand once: |
| 13080 |
| 13081 |
| 13082 |
| 13083 |
| 13084 for ac_header in sys/types.h sys/time.h stdlib.h unistd.h string.h |
| 13085 do : |
| 13086 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13087 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
| 13088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13089 cat >>confdefs.h <<_ACEOF |
| 13090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13091 _ACEOF |
| 13092 |
| 13093 fi |
| 13094 |
| 13095 done |
| 13096 |
| 13097 |
| 13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to pass version script to
the linker ($LD)" >&5 |
| 13099 $as_echo_n "checking how to pass version script to the linker ($LD)... " >&6; } |
| 13100 VERSION_SCRIPT_FLAGS=none |
| 13101 if $LD --help 2>&1 | grep "version-script" >/dev/null 2>/dev/null; then |
| 13102 VERSION_SCRIPT_FLAGS=-Wl,--version-script= |
| 13103 elif $LD --help 2>&1 | grep "M mapfile" >/dev/null 2>/dev/null; then |
| 13104 VERSION_SCRIPT_FLAGS="-Wl,-M -Wl," |
| 13105 fi |
| 13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VERSION_SCRIPT_FLAGS" >&5 |
| 13107 $as_echo "$VERSION_SCRIPT_FLAGS" >&6; } |
| 13108 |
| 13109 if test "$VERSION_SCRIPT_FLAGS" != none; then |
| 13110 USE_VERSION_SCRIPT_TRUE= |
| 13111 USE_VERSION_SCRIPT_FALSE='#' |
| 13112 else |
| 13113 USE_VERSION_SCRIPT_TRUE='#' |
| 13114 USE_VERSION_SCRIPT_FALSE= |
| 13115 fi |
| 13116 |
| 13117 |
| 13118 case $host in |
| 13119 *-mingw*) ;; |
| 13120 *) |
| 13121 THREAD_LIBS="" |
| 13122 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac
_includes_default" |
| 13123 if test "x$ac_cv_header_pthread_h" = xyes; then : |
| 13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthrea
d" >&5 |
| 13125 $as_echo_n "checking for pthread_join in -lpthread... " >&6; } |
| 13126 if ${ac_cv_lib_pthread_pthread_join+:} false; then : |
14862 $as_echo_n "(cached) " >&6 | 13127 $as_echo_n "(cached) " >&6 |
14863 else | 13128 else |
14864 ac_check_lib_save_LIBS=$LIBS | 13129 ac_check_lib_save_LIBS=$LIBS |
14865 LIBS="-lm $LIBS" | 13130 LIBS="-lpthread $LIBS" |
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14867 /* end confdefs.h. */ | 13132 /* end confdefs.h. */ |
14868 | 13133 |
14869 /* Override any GCC internal prototype to avoid an error. | |
14870 Use char because int might match the return type of a GCC | |
14871 builtin and then its argument prototype would still apply. */ | |
14872 #ifdef __cplusplus | |
14873 extern "C" | |
14874 #endif | |
14875 char isnan (); | |
14876 int | |
14877 main () | |
14878 { | |
14879 return isnan (); | |
14880 ; | |
14881 return 0; | |
14882 } | |
14883 _ACEOF | |
14884 if ac_fn_c_try_link "$LINENO"; then : | |
14885 ac_cv_lib_m_isnan=yes | |
14886 else | |
14887 ac_cv_lib_m_isnan=no | |
14888 fi | |
14889 rm -f core conftest.err conftest.$ac_objext \ | |
14890 conftest$ac_exeext conftest.$ac_ext | |
14891 LIBS=$ac_check_lib_save_LIBS | |
14892 fi | |
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5 | |
14894 $as_echo "$ac_cv_lib_m_isnan" >&6; } | |
14895 if test "x$ac_cv_lib_m_isnan" = xyes; then : | |
14896 | |
14897 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h | |
14898 | |
14899 fi | |
14900 | |
14901 fi | |
14902 | |
14903 | |
14904 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" | |
14905 if test "x$ac_cv_func_isinf" = xyes; then : | |
14906 | |
14907 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h | |
14908 | |
14909 else | |
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5 | |
14911 $as_echo_n "checking for isinf in -lm... " >&6; } | |
14912 if ${ac_cv_lib_m_isinf+:} false; then : | |
14913 $as_echo_n "(cached) " >&6 | |
14914 else | |
14915 ac_check_lib_save_LIBS=$LIBS | |
14916 LIBS="-lm $LIBS" | |
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
14918 /* end confdefs.h. */ | |
14919 | |
14920 /* Override any GCC internal prototype to avoid an error. | |
14921 Use char because int might match the return type of a GCC | |
14922 builtin and then its argument prototype would still apply. */ | |
14923 #ifdef __cplusplus | |
14924 extern "C" | |
14925 #endif | |
14926 char isinf (); | |
14927 int | |
14928 main () | |
14929 { | |
14930 return isinf (); | |
14931 ; | |
14932 return 0; | |
14933 } | |
14934 _ACEOF | |
14935 if ac_fn_c_try_link "$LINENO"; then : | |
14936 ac_cv_lib_m_isinf=yes | |
14937 else | |
14938 ac_cv_lib_m_isinf=no | |
14939 fi | |
14940 rm -f core conftest.err conftest.$ac_objext \ | |
14941 conftest$ac_exeext conftest.$ac_ext | |
14942 LIBS=$ac_check_lib_save_LIBS | |
14943 fi | |
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5 | |
14945 $as_echo "$ac_cv_lib_m_isinf" >&6; } | |
14946 if test "x$ac_cv_lib_m_isinf" = xyes; then : | |
14947 | |
14948 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h | |
14949 | |
14950 fi | |
14951 | |
14952 fi | |
14953 | |
14954 | |
14955 XML_LIBDIR='-L${libdir}' | |
14956 XML_INCLUDEDIR='-I${includedir}/libxml2' | |
14957 | |
14958 XML_CFLAGS="" | |
14959 RDL_LIBS="" | |
14960 | |
14961 if test "${GCC}" != "yes" ; then | |
14962 case "${host}" in | |
14963 hppa*-*-hpux* ) | |
14964 CFLAGS="${CFLAGS} -Wp,-H30000" | |
14965 ;; | |
14966 *-dec-osf* ) | |
14967 CFLAGS="${CFLAGS} -ieee" | |
14968 ;; | |
14969 alpha*-*-linux* ) | |
14970 CFLAGS="${CFLAGS} -ieee" | |
14971 ;; | |
14972 esac | |
14973 else | |
14974 if test "$with_fexceptions" = "yes" | |
14975 then | |
14976 # | |
14977 # Not activated by default because this inflates the code size | |
14978 # Used to allow propagation of C++ exceptions through the library | |
14979 # | |
14980 CFLAGS="${CFLAGS} -fexceptions" | |
14981 fi | |
14982 | |
14983 # warnings we'd like to see | |
14984 CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -W
switch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparent
heses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -
Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-de
cls" | |
14985 # warnings we'd like to supress | |
14986 CFLAGS="${CFLAGS} -Wno-long-long" | |
14987 case "${host}" in | |
14988 alpha*-*-linux* ) | |
14989 CFLAGS="${CFLAGS} -mieee" | |
14990 ;; | |
14991 alpha*-*-osf* ) | |
14992 CFLAGS="${CFLAGS} -mieee" | |
14993 ;; | |
14994 esac | |
14995 fi | |
14996 case ${host} in | |
14997 *-*-solaris*) | |
14998 XML_LIBDIR="${XML_LIBDIR} -R${libdir}" | |
14999 ;; | |
15000 hppa*-hp-mpeix) | |
15001 NEED_TRIO=1 | |
15002 ;; | |
15003 *-*-mingw* | *-*-cygwin* | *-*-msvc* ) | |
15004 # If the host is Windows, and shared libraries are disabled, we | |
15005 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to | |
15006 # work properly (without it, xmlexports.h would force the use of | |
15007 # DLL imports, which obviously aren't present in a static | |
15008 # library). | |
15009 if test "x$enable_shared" = "xno"; then | |
15010 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC" | |
15011 CFLAGS="$CFLAGS -DLIBXML_STATIC" | |
15012 fi | |
15013 ;; | |
15014 esac | |
15015 | |
15016 | |
15017 | |
15018 PYTHON_VERSION= | |
15019 PYTHON_INCLUDES= | |
15020 PYTHON_SITE_PACKAGES= | |
15021 PYTHON_TESTS= | |
15022 pythondir= | |
15023 if test "$with_python" != "no" ; then | |
15024 if test -x "$with_python/bin/python" | |
15025 then | |
15026 echo Found python in $with_python/bin/python | |
15027 PYTHON="$with_python/bin/python" | |
15028 else | |
15029 if test -x "$with_python/python.exe" | |
15030 then | |
15031 echo Found python in $with_python/python.exe | |
15032 PYTHON="$with_python/python.exe" | |
15033 else | |
15034 if test -x "$with_python" | |
15035 then | |
15036 echo Found python in $with_python | |
15037 PYTHON="$with_python" | |
15038 else | |
15039 if test -x "$PYTHON" | |
15040 then | |
15041 echo Found python in environment PYTHON=$PYTHON | |
15042 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"
` | |
15043 else | |
15044 # Extract the first word of "python python2.6 python2.5 pyth
on2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be
a program name with args. | |
15045 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 pyt
hon2.0 python1.6 python1.5; ac_word=$2 | |
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
15047 $as_echo_n "checking for $ac_word... " >&6; } | |
15048 if ${ac_cv_path_PYTHON+:} false; then : | |
15049 $as_echo_n "(cached) " >&6 | |
15050 else | |
15051 case $PYTHON in | |
15052 [\\/]* | ?:[\\/]*) | |
15053 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | |
15054 ;; | |
15055 *) | |
15056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
15057 for as_dir in $PATH | |
15058 do | |
15059 IFS=$as_save_IFS | |
15060 test -z "$as_dir" && as_dir=. | |
15061 for ac_exec_ext in '' $ac_executable_extensions; do | |
15062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
15063 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | |
15064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
15065 break 2 | |
15066 fi | |
15067 done | |
15068 done | |
15069 IFS=$as_save_IFS | |
15070 | |
15071 ;; | |
15072 esac | |
15073 fi | |
15074 PYTHON=$ac_cv_path_PYTHON | |
15075 if test -n "$PYTHON"; then | |
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 | |
15077 $as_echo "$PYTHON" >&6; } | |
15078 else | |
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
15080 $as_echo "no" >&6; } | |
15081 fi | |
15082 | |
15083 | |
15084 fi | |
15085 fi | |
15086 fi | |
15087 fi | |
15088 if test "$PYTHON" != "" | |
15089 then | |
15090 PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysco
nfig.get_python_version())"` | |
15091 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysc
onfig.get_python_inc())"` | |
15092 # does not work as it produce a /usr/lib/python path instead of/usr/lib64/python | |
15093 # | |
15094 # PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print
(sysconfig.get_python_lib())"` | |
15095 echo Found Python version $PYTHON_VERSION | |
15096 fi | |
15097 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = "" | |
15098 then | |
15099 if test -r $with_python/include/python$PYTHON_VERSION/Python.h | |
15100 then | |
15101 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION | |
15102 else | |
15103 if test -r $prefix/include/python$PYTHON_VERSION/Python.h | |
15104 then | |
15105 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION | |
15106 else | |
15107 if test -r /usr/include/python$PYTHON_VERSION/Python.h | |
15108 then | |
15109 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION | |
15110 else | |
15111 if test -r $with_python/include/Python.h | |
15112 then | |
15113 PYTHON_INCLUDES=$with_python/include | |
15114 else | |
15115 echo could not find python$PYTHON_VERSION/Python.h or $w
ith_python/include/Python.h | |
15116 fi | |
15117 fi | |
15118 fi | |
15119 fi | |
15120 fi | |
15121 if test "$with_python_install_dir" != "" | |
15122 then | |
15123 PYTHON_SITE_PACKAGES="$with_python_install_dir" | |
15124 fi | |
15125 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = "" | |
15126 then | |
15127 if test -d $libdir/python$PYTHON_VERSION/site-packages | |
15128 then | |
15129 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages | |
15130 else | |
15131 if test -d $with_python/lib/site-packages | |
15132 then | |
15133 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages | |
15134 else | |
15135 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfi
g; print(sysconfig.get_python_lib())"` | |
15136 fi | |
15137 fi | |
15138 fi | |
15139 pythondir='$(PYTHON_SITE_PACKAGES)' | |
15140 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags` | |
15141 else | |
15142 PYTHON= | |
15143 fi | |
15144 if test "$PYTHON_INCLUDES" != ""; then | |
15145 WITH_PYTHON_TRUE= | |
15146 WITH_PYTHON_FALSE='#' | |
15147 else | |
15148 WITH_PYTHON_TRUE='#' | |
15149 WITH_PYTHON_FALSE= | |
15150 fi | |
15151 | |
15152 if test "$PYTHON_INCLUDES" != "" | |
15153 then | |
15154 PYTHON_SUBDIR=python | |
15155 else | |
15156 PYTHON_SUBDIR= | |
15157 fi | |
15158 | |
15159 | |
15160 | |
15161 | |
15162 WITH_MODULES=0 | |
15163 TEST_MODULES= | |
15164 | |
15165 if test "$with_modules" != "no" ; then | |
15166 case "$host" in | |
15167 *-*-cygwin*) | |
15168 MODULE_EXTENSION=".dll" | |
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5 | |
15170 $as_echo_n "checking for dlopen in -lcygwin... " >&6; } | |
15171 if ${ac_cv_lib_cygwin_dlopen+:} false; then : | |
15172 $as_echo_n "(cached) " >&6 | |
15173 else | |
15174 ac_check_lib_save_LIBS=$LIBS | |
15175 LIBS="-lcygwin $LIBS" | |
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
15177 /* end confdefs.h. */ | |
15178 | |
15179 /* Override any GCC internal prototype to avoid an error. | |
15180 Use char because int might match the return type of a GCC | |
15181 builtin and then its argument prototype would still apply. */ | |
15182 #ifdef __cplusplus | |
15183 extern "C" | |
15184 #endif | |
15185 char dlopen (); | |
15186 int | |
15187 main () | |
15188 { | |
15189 return dlopen (); | |
15190 ; | |
15191 return 0; | |
15192 } | |
15193 _ACEOF | |
15194 if ac_fn_c_try_link "$LINENO"; then : | |
15195 ac_cv_lib_cygwin_dlopen=yes | |
15196 else | |
15197 ac_cv_lib_cygwin_dlopen=no | |
15198 fi | |
15199 rm -f core conftest.err conftest.$ac_objext \ | |
15200 conftest$ac_exeext conftest.$ac_ext | |
15201 LIBS=$ac_check_lib_save_LIBS | |
15202 fi | |
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5 | |
15204 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; } | |
15205 if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then : | |
15206 | |
15207 WITH_MODULES=1 | |
15208 MODULE_PLATFORM_LIBS= | |
15209 | |
15210 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h | |
15211 | |
15212 | |
15213 fi | |
15214 | |
15215 ;; | |
15216 *-*-mingw*) | |
15217 MODULE_EXTENSION=".dll" | |
15218 WITH_MODULES=1 | |
15219 ;; | |
15220 *) | |
15221 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | |
15222 if test "x$ac_cv_func_shl_load" = xyes; then : | |
15223 libxml_have_shl_load=yes | |
15224 else | |
15225 | |
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | |
15227 $as_echo_n "checking for shl_load in -ldld... " >&6; } | |
15228 if ${ac_cv_lib_dld_shl_load+:} false; then : | |
15229 $as_echo_n "(cached) " >&6 | |
15230 else | |
15231 ac_check_lib_save_LIBS=$LIBS | |
15232 LIBS="-ldld $LIBS" | |
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
15234 /* end confdefs.h. */ | |
15235 | |
15236 /* Override any GCC internal prototype to avoid an error. | 13134 /* Override any GCC internal prototype to avoid an error. |
15237 Use char because int might match the return type of a GCC | 13135 Use char because int might match the return type of a GCC |
15238 builtin and then its argument prototype would still apply. */ | 13136 builtin and then its argument prototype would still apply. */ |
15239 #ifdef __cplusplus | 13137 #ifdef __cplusplus |
15240 extern "C" | 13138 extern "C" |
15241 #endif | 13139 #endif |
15242 char shl_load (); | 13140 char pthread_join (); |
15243 int | 13141 int |
15244 main () | 13142 main () |
15245 { | 13143 { |
15246 return shl_load (); | 13144 return pthread_join (); |
15247 ; | 13145 ; |
15248 return 0; | 13146 return 0; |
15249 } | 13147 } |
15250 _ACEOF | 13148 _ACEOF |
15251 if ac_fn_c_try_link "$LINENO"; then : | 13149 if ac_fn_c_try_link "$LINENO"; then : |
15252 ac_cv_lib_dld_shl_load=yes | 13150 ac_cv_lib_pthread_pthread_join=yes |
15253 else | 13151 else |
15254 ac_cv_lib_dld_shl_load=no | 13152 ac_cv_lib_pthread_pthread_join=no |
15255 fi | 13153 fi |
15256 rm -f core conftest.err conftest.$ac_objext \ | 13154 rm -f core conftest.err conftest.$ac_objext \ |
15257 conftest$ac_exeext conftest.$ac_ext | 13155 conftest$ac_exeext conftest.$ac_ext |
15258 LIBS=$ac_check_lib_save_LIBS | 13156 LIBS=$ac_check_lib_save_LIBS |
15259 fi | 13157 fi |
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | 13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join
" >&5 |
15261 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | 13159 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } |
15262 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 13160 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : |
15263 | 13161 |
15264 MODULE_PLATFORM_LIBS="-ldld" | |
15265 libxml_have_shl_load=yes | |
15266 else | |
15267 | 13162 |
15268 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | 13163 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h |
15269 if test "x$ac_cv_func_dlopen" = xyes; then : | |
15270 libxml_have_dlopen=yes | |
15271 else | |
15272 | 13164 |
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&
5 | 13165 |
15274 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 13166 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h |
15275 if ${ac_cv_lib_dl_dlopen+:} false; then : | 13167 |
15276 $as_echo_n "(cached) " >&6 | 13168 THREAD_LIBS="-lpthread" |
15277 else | 13169 fi |
15278 ac_check_lib_save_LIBS=$LIBS | 13170 |
15279 LIBS="-ldl $LIBS" | 13171 fi |
| 13172 |
| 13173 |
| 13174 ;; |
| 13175 esac |
| 13176 |
| 13177 |
| 13178 |
| 13179 |
| 13180 XSLT_LOCALE_XLOCALE=0 |
| 13181 XSLT_LOCALE_WINAPI=0 |
| 13182 |
| 13183 for ac_header in locale.h xlocale.h |
| 13184 do : |
| 13185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13186 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
| 13187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13188 cat >>confdefs.h <<_ACEOF |
| 13189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13190 _ACEOF |
| 13191 |
| 13192 fi |
| 13193 |
| 13194 done |
| 13195 |
| 13196 if test $ac_cv_header_xlocale_h = yes; then |
| 13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if xlocale program link" >&5 |
| 13198 $as_echo_n "checking if xlocale program link... " >&6; } |
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15281 /* end confdefs.h. */ | 13200 /* end confdefs.h. */ |
15282 | 13201 |
15283 /* Override any GCC internal prototype to avoid an error. | 13202 #ifdef HAVE_LOCALE_H |
15284 Use char because int might match the return type of a GCC | 13203 #include <locale.h> |
15285 builtin and then its argument prototype would still apply. */ | |
15286 #ifdef __cplusplus | |
15287 extern "C" | |
15288 #endif | 13204 #endif |
15289 char dlopen (); | 13205 #ifdef HAVE_XLOCALE_H |
| 13206 #include <xlocale.h> |
| 13207 #endif |
| 13208 #ifdef HAVE_STRING_H |
| 13209 #include <string.h> |
| 13210 #endif |
| 13211 #ifdef HAVE_STDLIB_H |
| 13212 #include <stdlib.h> |
| 13213 #endif |
| 13214 |
| 13215 #ifdef __GLIBC__ |
| 13216 typedef __locale_t xsltLocale; |
| 13217 #else |
| 13218 typedef locale_t xsltLocale; |
| 13219 #endif |
| 13220 #if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ <= 2 |
| 13221 #define newlocale __newlocale |
| 13222 #define freelocale __freelocale |
| 13223 #define strxfrm_l __strxfrm_l |
| 13224 #define LC_COLLATE_MASK (1 << LC_COLLATE) |
| 13225 #endif |
| 13226 |
15290 int | 13227 int |
15291 main () | 13228 main () |
15292 { | 13229 { |
15293 return dlopen (); | 13230 |
| 13231 xsltLocale locale; |
| 13232 const char *src[2] = { "\xc3\x84rger", "Zeppelin" }; |
| 13233 char *dst[2]; |
| 13234 size_t len, r; |
| 13235 int i; |
| 13236 |
| 13237 locale = newlocale(LC_COLLATE_MASK, "en_US.utf8", NULL); |
| 13238 if (locale == NULL) exit(1); |
| 13239 for (i=0; i<2; ++i) { |
| 13240 len = strxfrm_l(NULL, src[i], 0, locale) + 1; |
| 13241 dst[i] = malloc(len); |
| 13242 if(dst[i] == NULL) exit(1); |
| 13243 r = strxfrm_l(dst[i], src[i], len, locale); |
| 13244 if(r >= len) exit(1); |
| 13245 } |
| 13246 if (strcmp(dst[0], dst[1]) >= 0) exit(1); |
| 13247 |
| 13248 exit(0); |
| 13249 return(0); |
| 13250 |
15294 ; | 13251 ; |
15295 return 0; | 13252 return 0; |
15296 } | 13253 } |
15297 _ACEOF | 13254 _ACEOF |
15298 if ac_fn_c_try_link "$LINENO"; then : | 13255 if ac_fn_c_try_link "$LINENO"; then : |
15299 ac_cv_lib_dl_dlopen=yes | 13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13257 $as_echo "yes" >&6; }; XSLT_LOCALE_XLOCALE=1 |
15300 else | 13258 else |
15301 ac_cv_lib_dl_dlopen=no | 13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13260 $as_echo "no" >&6; } |
| 13261 |
15302 fi | 13262 fi |
15303 rm -f core conftest.err conftest.$ac_objext \ | 13263 rm -f core conftest.err conftest.$ac_objext \ |
15304 conftest$ac_exeext conftest.$ac_ext | 13264 conftest$ac_exeext conftest.$ac_ext |
15305 LIBS=$ac_check_lib_save_LIBS | 13265 else |
15306 fi | 13266 case "$host" in |
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 13267 *-*-mingw*) |
15308 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 13268 { $as_echo "$as_me:${as_lineno-$LINENO}: using winapi locale" >&5 |
15309 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 13269 $as_echo "$as_me: using winapi locale" >&6;} |
15310 | 13270 XSLT_LOCALE_WINAPI=1;; |
15311 MODULE_PLATFORM_LIBS="-ldl" | 13271 esac |
15312 libxml_have_dlopen=yes | |
15313 fi | |
15314 | |
15315 fi | |
15316 | |
15317 fi | |
15318 | |
15319 fi | |
15320 | |
15321 | |
15322 if test "${libxml_have_shl_load}" = "yes"; then | |
15323 MODULE_EXTENSION=".sl" | |
15324 WITH_MODULES=1 | |
15325 | |
15326 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h | |
15327 | |
15328 fi | |
15329 | |
15330 if test "${libxml_have_dlopen}" = "yes"; then | |
15331 case "${host}" in | |
15332 *-*-hpux* ) | |
15333 » MODULE_EXTENSION=".sl" | |
15334 » ;; | |
15335 * ) | |
15336 » MODULE_EXTENSION=".so" | |
15337 » ;; | |
15338 esac | |
15339 | |
15340 WITH_MODULES=1 | |
15341 | |
15342 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h | |
15343 | |
15344 fi | |
15345 ;; | |
15346 esac | |
15347 fi | |
15348 | |
15349 if test "${WITH_MODULES}" = "1"; then | |
15350 TEST_MODULES="ModuleTests" | |
15351 fi | 13272 fi |
15352 | 13273 |
15353 | 13274 |
15354 | 13275 |
15355 | 13276 |
15356 | 13277 |
| 13278 for ac_header in ieeefp.h nan.h math.h fp_class.h float.h ansidecl.h |
| 13279 do : |
| 13280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13281 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
| 13282 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13283 cat >>confdefs.h <<_ACEOF |
| 13284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13285 _ACEOF |
15357 | 13286 |
15358 | |
15359 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \ | |
15360 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \ | |
15361 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ] | |
15362 then | |
15363 if test "$with_minimum" != "yes" | |
15364 then | |
15365 if test "${with_mem_debug}" = "" ; then | |
15366 echo Activating memory debugging | |
15367 with_mem_debug="yes" | |
15368 with_run_debug="yes" | |
15369 fi | |
15370 if test "${with_docbook}" = "" ; then | |
15371 with_docbook="yes" | |
15372 fi | |
15373 fi | |
15374 if test "${GCC}" = "yes" ; then | |
15375 CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswit
ch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparenthese
s -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstr
ict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls
-Wall" | |
15376 fi | |
15377 STATIC_BINARIES="-static" | |
15378 else | |
15379 STATIC_BINARIES= | |
15380 fi | 13287 fi |
15381 | 13288 |
| 13289 done |
15382 | 13290 |
| 13291 for ac_header in sys/timeb.h time.h sys/stat.h sys/select.h stdarg.h |
| 13292 do : |
| 13293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 13294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
| 13295 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 13296 cat >>confdefs.h <<_ACEOF |
| 13297 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 13298 _ACEOF |
15383 | 13299 |
15384 if test "${NEED_TRIO}" = "1" ; then | |
15385 echo Adding trio library for string functions | |
15386 WITH_TRIO=1 | |
15387 else | |
15388 WITH_TRIO=0 | |
15389 fi | |
15390 if test "${NEED_TRIO}" = "1"; then | |
15391 WITH_TRIO_SOURCES_TRUE= | |
15392 WITH_TRIO_SOURCES_FALSE='#' | |
15393 else | |
15394 WITH_TRIO_SOURCES_TRUE='#' | |
15395 WITH_TRIO_SOURCES_FALSE= | |
15396 fi | 13300 fi |
15397 | 13301 |
| 13302 done |
15398 | 13303 |
| 13304 for ac_func in stat _stat |
| 13305 do : |
| 13306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13309 cat >>confdefs.h <<_ACEOF |
| 13310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13311 _ACEOF |
15399 | 13312 |
15400 echo Checking configuration requirements | 13313 fi |
| 13314 done |
15401 | 13315 |
15402 THREAD_LIBS="" | 13316 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" |
15403 BASE_THREAD_LIBS="" | 13317 if test "x$ac_cv_func_pow" = xyes; then : |
15404 WITH_THREADS=0 | |
15405 THREAD_CFLAGS="" | |
15406 TEST_THREADS="" | |
15407 THREADS_W32="" | |
15408 WITH_THREAD_ALLOC=0 | |
15409 | 13318 |
15410 if test "$with_threads" = "no" ; then | |
15411 echo Disabling multithreaded support | |
15412 else | 13319 else |
15413 echo Enabling multithreaded support | 13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5 |
15414 | 13321 $as_echo_n "checking for pow in -lm... " >&6; } |
15415 case $host_os in | 13322 if ${ac_cv_lib_m_pow+:} false; then : |
15416 *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" !
= "no"; then | |
15417 WITH_THREADS="1" | |
15418 THREADS_W32="1" | |
15419 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS" | |
15420 fi | |
15421 ;; | |
15422 esac | |
15423 | |
15424 if test -z "$THREADS_W32"; then | |
15425 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test
"$with_threads" = "yes" ; then | |
15426 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pth
read_h" "$ac_includes_default" | |
15427 if test "x$ac_cv_header_pthread_h" = xyes; then : | |
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthrea
d" >&5 | |
15429 $as_echo_n "checking for pthread_join in -lpthread... " >&6; } | |
15430 if ${ac_cv_lib_pthread_pthread_join+:} false; then : | |
15431 $as_echo_n "(cached) " >&6 | 13323 $as_echo_n "(cached) " >&6 |
15432 else | 13324 else |
15433 ac_check_lib_save_LIBS=$LIBS | 13325 ac_check_lib_save_LIBS=$LIBS |
15434 LIBS="-lpthread $LIBS" | 13326 LIBS="-lm $LIBS" |
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15436 /* end confdefs.h. */ | 13328 /* end confdefs.h. */ |
15437 | 13329 |
15438 /* Override any GCC internal prototype to avoid an error. | 13330 /* Override any GCC internal prototype to avoid an error. |
15439 Use char because int might match the return type of a GCC | 13331 Use char because int might match the return type of a GCC |
15440 builtin and then its argument prototype would still apply. */ | 13332 builtin and then its argument prototype would still apply. */ |
15441 #ifdef __cplusplus | 13333 #ifdef __cplusplus |
15442 extern "C" | 13334 extern "C" |
15443 #endif | 13335 #endif |
15444 char pthread_join (); | 13336 char pow (); |
15445 int | 13337 int |
15446 main () | 13338 main () |
15447 { | 13339 { |
15448 return pthread_join (); | 13340 return pow (); |
15449 ; | 13341 ; |
15450 return 0; | 13342 return 0; |
15451 } | 13343 } |
15452 _ACEOF | 13344 _ACEOF |
15453 if ac_fn_c_try_link "$LINENO"; then : | 13345 if ac_fn_c_try_link "$LINENO"; then : |
15454 ac_cv_lib_pthread_pthread_join=yes | 13346 ac_cv_lib_m_pow=yes |
15455 else | 13347 else |
15456 ac_cv_lib_pthread_pthread_join=no | 13348 ac_cv_lib_m_pow=no |
15457 fi | 13349 fi |
15458 rm -f core conftest.err conftest.$ac_objext \ | 13350 rm -f core conftest.err conftest.$ac_objext \ |
15459 conftest$ac_exeext conftest.$ac_ext | 13351 conftest$ac_exeext conftest.$ac_ext |
15460 LIBS=$ac_check_lib_save_LIBS | 13352 LIBS=$ac_check_lib_save_LIBS |
15461 fi | 13353 fi |
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join
" >&5 | 13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5 |
15463 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } | 13355 $as_echo "$ac_cv_lib_m_pow" >&6; } |
15464 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : | 13356 if test "x$ac_cv_lib_m_pow" = xyes; then : |
| 13357 M_LIBS="-lm"; |
| 13358 $as_echo "#define HAVE_POW /**/" >>confdefs.h |
15465 | 13359 |
15466 THREAD_LIBS="-lpthread" | |
15467 | |
15468 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h | |
15469 | |
15470 | |
15471 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h | |
15472 | |
15473 WITH_THREADS="1" | |
15474 fi | 13360 fi |
15475 | 13361 |
15476 fi | 13362 fi |
15477 | 13363 |
15478 | 13364 |
15479 fi | 13365 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" |
15480 fi | 13366 if test "x$ac_cv_func_floor" = xyes; then : |
15481 | 13367 |
15482 case $host_os in | |
15483 *cygwin*) THREAD_LIBS="" | |
15484 ;; | |
15485 *beos*) WITH_THREADS="1" | |
15486 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS" | |
15487 ;; | |
15488 *linux*) | |
15489 if test "${GCC}" = "yes" ; then | |
15490 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'` | |
15491 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'` | |
15492 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..
*++'` | |
15493 if test "${THREAD_LIBS}" = "-lpthread" ; then | |
15494 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null | |
15495 then | |
15496 THREAD_LIBS="" | |
15497 BASE_THREAD_LIBS="-lpthread" | |
15498 else | |
15499 if expr ${GCC_MAJOR} \> 3 > /dev/null | |
15500 then | |
15501 THREAD_LIBS="" | |
15502 BASE_THREAD_LIBS="-lpthread" | |
15503 else | |
15504 echo old GCC disabling weak symbols for pthread | |
15505 fi | |
15506 fi | |
15507 fi | |
15508 fi | |
15509 ;; | |
15510 esac | |
15511 if test "$WITH_THREADS" = "1" ; then | |
15512 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" | |
15513 TEST_THREADS="Threadtests" | |
15514 fi | |
15515 fi | |
15516 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then | |
15517 WITH_THREAD_ALLOC=1 | |
15518 fi | |
15519 | |
15520 | |
15521 | |
15522 | |
15523 | |
15524 | |
15525 | |
15526 if test -n "$THREADS_W32"; then | |
15527 THREADS_W32_TRUE= | |
15528 THREADS_W32_FALSE='#' | |
15529 else | 13368 else |
15530 THREADS_W32_TRUE='#' | 13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 |
15531 THREADS_W32_FALSE= | 13370 $as_echo_n "checking for floor in -lm... " >&6; } |
15532 fi | 13371 if ${ac_cv_lib_m_floor+:} false; then : |
15533 | |
15534 | |
15535 if test "$with_history" = "yes" ; then | |
15536 echo Enabling xmllint shell history | |
15537 unset tcap | |
15538 for termlib in ncurses curses termcap terminfo termlib; do | |
15539 » as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh` | |
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5 | |
15541 $as_echo_n "checking for tputs in -l${termlib}... " >&6; } | |
15542 if eval \${$as_ac_Lib+:} false; then : | |
15543 $as_echo_n "(cached) " >&6 | 13372 $as_echo_n "(cached) " >&6 |
15544 else | 13373 else |
15545 ac_check_lib_save_LIBS=$LIBS | 13374 ac_check_lib_save_LIBS=$LIBS |
15546 LIBS="-l${termlib} $LIBS" | 13375 LIBS="-lm $LIBS" |
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15548 /* end confdefs.h. */ | 13377 /* end confdefs.h. */ |
15549 | 13378 |
15550 /* Override any GCC internal prototype to avoid an error. | 13379 /* Override any GCC internal prototype to avoid an error. |
15551 Use char because int might match the return type of a GCC | 13380 Use char because int might match the return type of a GCC |
15552 builtin and then its argument prototype would still apply. */ | 13381 builtin and then its argument prototype would still apply. */ |
15553 #ifdef __cplusplus | 13382 #ifdef __cplusplus |
15554 extern "C" | 13383 extern "C" |
15555 #endif | 13384 #endif |
15556 char tputs (); | 13385 char floor (); |
15557 int | 13386 int |
15558 main () | 13387 main () |
15559 { | 13388 { |
15560 return tputs (); | 13389 return floor (); |
15561 ; | 13390 ; |
15562 return 0; | 13391 return 0; |
15563 } | 13392 } |
15564 _ACEOF | 13393 _ACEOF |
15565 if ac_fn_c_try_link "$LINENO"; then : | 13394 if ac_fn_c_try_link "$LINENO"; then : |
15566 eval "$as_ac_Lib=yes" | 13395 ac_cv_lib_m_floor=yes |
15567 else | 13396 else |
15568 eval "$as_ac_Lib=no" | 13397 ac_cv_lib_m_floor=no |
15569 fi | 13398 fi |
15570 rm -f core conftest.err conftest.$ac_objext \ | 13399 rm -f core conftest.err conftest.$ac_objext \ |
15571 conftest$ac_exeext conftest.$ac_ext | 13400 conftest$ac_exeext conftest.$ac_ext |
15572 LIBS=$ac_check_lib_save_LIBS | 13401 LIBS=$ac_check_lib_save_LIBS |
15573 fi | 13402 fi |
15574 eval ac_res=\$$as_ac_Lib | 13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 |
15575 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 13404 $as_echo "$ac_cv_lib_m_floor" >&6; } |
15576 $as_echo "$ac_res" >&6; } | 13405 if test "x$ac_cv_lib_m_floor" = xyes; then : |
15577 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 13406 M_LIBS="-lm"; |
15578 tcap="-l$termlib" | 13407 $as_echo "#define HAVE_FLOOR /**/" >>confdefs.h |
| 13408 |
15579 fi | 13409 fi |
15580 | 13410 |
15581 » test -n "$tcap" && break | 13411 fi |
15582 done | |
15583 | 13412 |
15584 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_re
adline_history_h" "$ac_includes_default" | 13413 |
15585 if test "x$ac_cv_header_readline_history_h" = xyes; then : | 13414 ac_fn_c_check_func "$LINENO" "fabs" "ac_cv_func_fabs" |
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhist
ory" >&5 | 13415 if test "x$ac_cv_func_fabs" = xyes; then : |
15587 $as_echo_n "checking for append_history in -lhistory... " >&6; } | 13416 |
15588 if ${ac_cv_lib_history_append_history+:} false; then : | 13417 else |
| 13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5 |
| 13419 $as_echo_n "checking for fabs in -lm... " >&6; } |
| 13420 if ${ac_cv_lib_m_fabs+:} false; then : |
15589 $as_echo_n "(cached) " >&6 | 13421 $as_echo_n "(cached) " >&6 |
15590 else | 13422 else |
15591 ac_check_lib_save_LIBS=$LIBS | 13423 ac_check_lib_save_LIBS=$LIBS |
15592 LIBS="-lhistory $LIBS" | 13424 LIBS="-lm $LIBS" |
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15594 /* end confdefs.h. */ | 13426 /* end confdefs.h. */ |
15595 | 13427 |
15596 /* Override any GCC internal prototype to avoid an error. | 13428 /* Override any GCC internal prototype to avoid an error. |
15597 Use char because int might match the return type of a GCC | 13429 Use char because int might match the return type of a GCC |
15598 builtin and then its argument prototype would still apply. */ | 13430 builtin and then its argument prototype would still apply. */ |
15599 #ifdef __cplusplus | 13431 #ifdef __cplusplus |
15600 extern "C" | 13432 extern "C" |
15601 #endif | 13433 #endif |
15602 char append_history (); | 13434 char fabs (); |
15603 int | 13435 int |
15604 main () | 13436 main () |
15605 { | 13437 { |
15606 return append_history (); | 13438 return fabs (); |
15607 ; | 13439 ; |
15608 return 0; | 13440 return 0; |
15609 } | 13441 } |
15610 _ACEOF | 13442 _ACEOF |
15611 if ac_fn_c_try_link "$LINENO"; then : | 13443 if ac_fn_c_try_link "$LINENO"; then : |
15612 ac_cv_lib_history_append_history=yes | 13444 ac_cv_lib_m_fabs=yes |
15613 else | 13445 else |
15614 ac_cv_lib_history_append_history=no | 13446 ac_cv_lib_m_fabs=no |
15615 fi | 13447 fi |
15616 rm -f core conftest.err conftest.$ac_objext \ | 13448 rm -f core conftest.err conftest.$ac_objext \ |
15617 conftest$ac_exeext conftest.$ac_ext | 13449 conftest$ac_exeext conftest.$ac_ext |
15618 LIBS=$ac_check_lib_save_LIBS | 13450 LIBS=$ac_check_lib_save_LIBS |
15619 fi | 13451 fi |
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_histo
ry" >&5 | 13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5 |
15621 $as_echo "$ac_cv_lib_history_append_history" >&6; } | 13453 $as_echo "$ac_cv_lib_m_fabs" >&6; } |
15622 if test "x$ac_cv_lib_history_append_history" = xyes; then : | 13454 if test "x$ac_cv_lib_m_fabs" = xyes; then : |
15623 | 13455 M_LIBS="-lm"; |
15624 » RDL_LIBS="-lhistory" | 13456 $as_echo "#define HAVE_FABS /**/" >>confdefs.h |
15625 | |
15626 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h | |
15627 | 13457 |
15628 fi | 13458 fi |
15629 | 13459 |
15630 fi | 13460 fi |
15631 | 13461 |
15632 | 13462 |
15633 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_r
eadline_readline_h" "$ac_includes_default" | 13463 |
15634 if test "x$ac_cv_header_readline_readline_h" = xyes; then : | 13464 for ac_func in gettimeofday |
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline"
>&5 | 13465 do : |
15636 $as_echo_n "checking for readline in -lreadline... " >&6; } | 13466 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
15637 if ${ac_cv_lib_readline_readline+:} false; then : | 13467 if test "x$ac_cv_func_gettimeofday" = xyes; then : |
| 13468 cat >>confdefs.h <<_ACEOF |
| 13469 #define HAVE_GETTIMEOFDAY 1 |
| 13470 _ACEOF |
| 13471 |
| 13472 fi |
| 13473 done |
| 13474 |
| 13475 for ac_func in mktime localtime localtime_r asctime time gmtime gmtime_r ftime |
| 13476 do : |
| 13477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13480 cat >>confdefs.h <<_ACEOF |
| 13481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13482 _ACEOF |
| 13483 |
| 13484 fi |
| 13485 done |
| 13486 |
| 13487 |
| 13488 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscan
f |
| 13489 do : |
| 13490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 13493 cat >>confdefs.h <<_ACEOF |
| 13494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 13495 _ACEOF |
| 13496 |
| 13497 else |
| 13498 NEED_TRIO=1 |
| 13499 fi |
| 13500 done |
| 13501 |
| 13502 |
| 13503 for ac_func in clock_gettime |
| 13504 do : |
| 13505 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
| 13506 if test "x$ac_cv_func_clock_gettime" = xyes; then : |
| 13507 cat >>confdefs.h <<_ACEOF |
| 13508 #define HAVE_CLOCK_GETTIME 1 |
| 13509 _ACEOF |
| 13510 |
| 13511 else |
| 13512 |
| 13513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >
&5 |
| 13514 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
| 13515 if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
15638 $as_echo_n "(cached) " >&6 | 13516 $as_echo_n "(cached) " >&6 |
15639 else | 13517 else |
15640 ac_check_lib_save_LIBS=$LIBS | 13518 ac_check_lib_save_LIBS=$LIBS |
15641 LIBS="-lreadline $tcap $LIBS" | 13519 LIBS="-lrt $LIBS" |
15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15643 /* end confdefs.h. */ | 13521 /* end confdefs.h. */ |
15644 | 13522 |
15645 /* Override any GCC internal prototype to avoid an error. | 13523 /* Override any GCC internal prototype to avoid an error. |
15646 Use char because int might match the return type of a GCC | 13524 Use char because int might match the return type of a GCC |
15647 builtin and then its argument prototype would still apply. */ | 13525 builtin and then its argument prototype would still apply. */ |
15648 #ifdef __cplusplus | 13526 #ifdef __cplusplus |
15649 extern "C" | 13527 extern "C" |
15650 #endif | 13528 #endif |
15651 char readline (); | 13529 char clock_gettime (); |
15652 int | 13530 int |
15653 main () | 13531 main () |
15654 { | 13532 { |
15655 return readline (); | 13533 return clock_gettime (); |
15656 ; | 13534 ; |
15657 return 0; | 13535 return 0; |
15658 } | 13536 } |
15659 _ACEOF | 13537 _ACEOF |
15660 if ac_fn_c_try_link "$LINENO"; then : | 13538 if ac_fn_c_try_link "$LINENO"; then : |
15661 ac_cv_lib_readline_readline=yes | 13539 ac_cv_lib_rt_clock_gettime=yes |
15662 else | 13540 else |
15663 ac_cv_lib_readline_readline=no | 13541 ac_cv_lib_rt_clock_gettime=no |
15664 fi | 13542 fi |
15665 rm -f core conftest.err conftest.$ac_objext \ | 13543 rm -f core conftest.err conftest.$ac_objext \ |
15666 conftest$ac_exeext conftest.$ac_ext | 13544 conftest$ac_exeext conftest.$ac_ext |
15667 LIBS=$ac_check_lib_save_LIBS | 13545 LIBS=$ac_check_lib_save_LIBS |
15668 fi | 13546 fi |
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >
&5 | 13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&
5 |
15670 $as_echo "$ac_cv_lib_readline_readline" >&6; } | 13548 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
15671 if test "x$ac_cv_lib_readline_readline" = xyes; then : | 13549 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
15672 | 13550 |
15673 » RDL_LIBS="-lreadline $RDL_LIBS $tcap" | 13551 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |
15674 | 13552 |
15675 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h | 13553 EXTRA_LIBS="$EXTRA_LIBS -lrt" |
15676 | 13554 |
15677 fi | 13555 fi |
15678 | 13556 |
15679 fi | 13557 |
15680 | 13558 fi |
15681 | 13559 done |
15682 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then | 13560 |
15683 » CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include" | 13561 |
15684 » RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS" | 13562 |
| 13563 if test "${NEED_TRIO}" = "1" ; then |
| 13564 echo Reusing trio library for string functions |
| 13565 WITH_TRIO=1 |
| 13566 else |
| 13567 WITH_TRIO=0 |
| 13568 fi |
| 13569 |
| 13570 |
| 13571 |
| 13572 |
| 13573 |
| 13574 # Extract the first word of "perl", so it can be a program name with args. |
| 13575 set dummy perl; ac_word=$2 |
| 13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13577 $as_echo_n "checking for $ac_word... " >&6; } |
| 13578 if ${ac_cv_prog_PERL+:} false; then : |
| 13579 $as_echo_n "(cached) " >&6 |
| 13580 else |
| 13581 if test -n "$PERL"; then |
| 13582 ac_cv_prog_PERL="$PERL" # Let the user override the test. |
| 13583 else |
| 13584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13585 for as_dir in $PATH |
| 13586 do |
| 13587 IFS=$as_save_IFS |
| 13588 test -z "$as_dir" && as_dir=. |
| 13589 for ac_exec_ext in '' $ac_executable_extensions; do |
| 13590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13591 ac_cv_prog_PERL="perl" |
| 13592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 13593 break 2 |
| 13594 fi |
| 13595 done |
| 13596 done |
| 13597 IFS=$as_save_IFS |
| 13598 |
| 13599 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="false" |
| 13600 fi |
| 13601 fi |
| 13602 PERL=$ac_cv_prog_PERL |
| 13603 if test -n "$PERL"; then |
| 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
| 13605 $as_echo "$PERL" >&6; } |
| 13606 else |
| 13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13608 $as_echo "no" >&6; } |
| 13609 fi |
| 13610 |
| 13611 |
| 13612 if test "$PERL" != "false"; then |
| 13613 WITH_PERL_TRUE= |
| 13614 WITH_PERL_FALSE='#' |
| 13615 else |
| 13616 WITH_PERL_TRUE='#' |
| 13617 WITH_PERL_FALSE= |
| 13618 fi |
| 13619 |
| 13620 |
| 13621 |
| 13622 PYTHON_VERSION= |
| 13623 PYTHON_INCLUDES= |
| 13624 PYTHON_SITE_PACKAGES= |
| 13625 pythondir= |
| 13626 |
| 13627 # Check whether --with-python was given. |
| 13628 if test "${with_python+set}" = set; then : |
| 13629 withval=$with_python; |
| 13630 fi |
| 13631 |
| 13632 if test "$with_python" != "no" ; then |
| 13633 if test -x "$with_python/bin/python" |
| 13634 then |
| 13635 echo Found python in $with_python/bin/python |
| 13636 PYTHON="$with_python/bin/python" |
| 13637 else |
| 13638 » if test -x "$with_python" |
| 13639 » then |
| 13640 » echo Found python in $with_python |
| 13641 » PYTHON="$with_python" |
| 13642 » else |
| 13643 if test -x "$PYTHON" |
| 13644 then |
| 13645 echo Found python in environment PYTHON=$PYTHON |
| 13646 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` |
| 13647 » else |
| 13648 » # Extract the first word of "python python2.4 python2.3 python2.
2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with arg
s. |
| 13649 set dummy python python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 pyt
hon1.5; ac_word=$2 |
| 13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13651 $as_echo_n "checking for $ac_word... " >&6; } |
| 13652 if ${ac_cv_path_PYTHON+:} false; then : |
| 13653 $as_echo_n "(cached) " >&6 |
| 13654 else |
| 13655 case $PYTHON in |
| 13656 [\\/]* | ?:[\\/]*) |
| 13657 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. |
| 13658 ;; |
| 13659 *) |
| 13660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13661 for as_dir in $PATH |
| 13662 do |
| 13663 IFS=$as_save_IFS |
| 13664 test -z "$as_dir" && as_dir=. |
| 13665 for ac_exec_ext in '' $ac_executable_extensions; do |
| 13666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13667 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" |
| 13668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 13669 break 2 |
| 13670 fi |
| 13671 done |
| 13672 done |
| 13673 IFS=$as_save_IFS |
| 13674 |
| 13675 ;; |
| 13676 esac |
| 13677 fi |
| 13678 PYTHON=$ac_cv_path_PYTHON |
| 13679 if test -n "$PYTHON"; then |
| 13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 |
| 13681 $as_echo "$PYTHON" >&6; } |
| 13682 else |
| 13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13684 $as_echo "no" >&6; } |
| 13685 fi |
| 13686 |
| 13687 |
| 13688 » fi |
| 13689 » fi |
15685 fi | 13690 fi |
15686 fi | 13691 if test "$PYTHON" != "" |
15687 | 13692 then |
15688 if test "$with_tree" = "no" ; then | 13693 echo "PYTHON is pointing at $PYTHON" |
15689 echo Disabling DOM like tree manipulation APIs | 13694 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"` |
15690 WITH_TREE=0 | 13695 » echo Found Python version $PYTHON_VERSION |
15691 else | 13696 » LIBXML2_PYTHON=`$PYTHON -c "try : import libxml2 ; print 1 |
15692 WITH_TREE=1 | 13697 except: print 0"` |
15693 fi | 13698 » if test "$LIBXML2_PYTHON" = "1" |
15694 | 13699 » then |
15695 | 13700 » echo Found libxml2-python module |
15696 if test "$with_ftp" = "no" ; then | 13701 » else |
15697 echo Disabling FTP support | 13702 » echo Warning: Missing libxml2-python |
15698 WITH_FTP=0 | 13703 » fi |
15699 FTP_OBJ= | |
15700 else | |
15701 WITH_FTP=1 | |
15702 FTP_OBJ=nanoftp.o | |
15703 fi | |
15704 | |
15705 | |
15706 | |
15707 if test "$with_http" = "no" ; then | |
15708 echo Disabling HTTP support | |
15709 WITH_HTTP=0 | |
15710 HTTP_OBJ= | |
15711 else | |
15712 WITH_HTTP=1 | |
15713 HTTP_OBJ=nanohttp.o | |
15714 fi | |
15715 | |
15716 | |
15717 | |
15718 if test "$with_legacy" = "no" ; then | |
15719 echo Disabling deprecated APIs | |
15720 WITH_LEGACY=0 | |
15721 else | |
15722 WITH_LEGACY=1 | |
15723 fi | |
15724 | |
15725 | |
15726 if test "$with_reader" = "no" ; then | |
15727 echo Disabling the xmlReader parsing interface | |
15728 WITH_READER=0 | |
15729 READER_TEST= | |
15730 else | |
15731 WITH_READER=1 | |
15732 READER_TEST=Readertests | |
15733 if test "$with_push" = "no" ; then | |
15734 echo xmlReader requires Push interface - enabling it | |
15735 » with_push=yes | |
15736 fi | 13704 fi |
15737 fi | 13705 if test "$PYTHON_VERSION" != "" |
15738 | 13706 then |
15739 | 13707 » if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ |
15740 | 13708 » -d $with_python/lib/python$PYTHON_VERSION/site-packages |
15741 if test "$with_writer" = "no" ; then | 13709 » then |
15742 echo Disabling the xmlWriter saving interface | 13710 » PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION |
15743 WITH_WRITER=0 | 13711 » PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-package
s' |
15744 # WRITER_TEST= | 13712 » else |
15745 else | 13713 » if test -r $prefix/include/python$PYTHON_VERSION/Python.h |
15746 WITH_WRITER=1 | 13714 » then |
15747 # WRITER_TEST=Writertests | 13715 » PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION |
15748 if test "$with_push" = "no" ; then | 13716 » » PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-pac
kages' |
15749 echo xmlWriter requires Push interface - enabling it | 13717 » else |
15750 » with_push=yes | 13718 » » if test -r /usr/include/python$PYTHON_VERSION/Python.h |
| 13719 » » then |
| 13720 » » PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION |
| 13721 » » PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site
-packages' |
| 13722 » » else |
| 13723 » » echo could not find python$PYTHON_VERSION/Python.h |
| 13724 » » fi |
| 13725 » fi |
| 13726 » if test ! -d "$PYTHON_SITE_PACKAGES" |
| 13727 » then |
| 13728 » » PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysc
onfig; print sysconfig.get_python_lib()"` |
| 13729 » fi |
| 13730 » fi |
| 13731 PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` |
15751 fi | 13732 fi |
15752 if test "$with_output" = "no" ; then | 13733 if test "$with_python" != "" |
15753 echo xmlWriter requires Output interface - enabling it | 13734 then |
15754 » with_output=yes | 13735 pythondir='$(PYTHON_SITE_PACKAGES)' |
| 13736 else |
| 13737 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' |
15755 fi | 13738 fi |
15756 fi | 13739 fi |
15757 | 13740 if test "$PYTHON_INCLUDES" != ""; then |
15758 #AC_SUBST(WRITER_TEST) | 13741 WITH_PYTHON_TRUE= |
15759 | 13742 WITH_PYTHON_FALSE='#' |
15760 if test "$with_pattern" = "no" ; then | 13743 else |
15761 echo Disabling the xmlPattern parsing interface | 13744 WITH_PYTHON_TRUE='#' |
15762 WITH_PATTERN=0 | 13745 WITH_PYTHON_FALSE= |
15763 TEST_PATTERN= | 13746 fi |
15764 else | 13747 |
15765 WITH_PATTERN=1 | 13748 if test "$PYTHON_INCLUDES" != "" |
15766 TEST_PATTERN=Patterntests | 13749 then |
15767 fi | 13750 PYTHON_SUBDIR=python |
15768 | 13751 else |
15769 | 13752 PYTHON_SUBDIR= |
15770 | 13753 fi |
15771 if test "$with_sax1" = "no" ; then | 13754 |
15772 echo Disabling the older SAX1 interface | 13755 |
15773 WITH_SAX1=0 | 13756 |
15774 TEST_SAX= | 13757 |
15775 else | 13758 |
15776 WITH_SAX1=1 | 13759 # Check whether --with-crypto was given. |
15777 TEST_SAX=SAXtests | 13760 if test "${with_crypto+set}" = set; then : |
15778 fi | 13761 withval=$with_crypto; |
15779 | 13762 fi |
15780 if test "${WITH_TRIO}" = "1"; then | 13763 |
15781 WITH_SAX1_SOURCES_TRUE= | 13764 WITH_CRYPTO=0 |
15782 WITH_SAX1_SOURCES_FALSE='#' | 13765 CRYPTO_TESTDIR= |
15783 else | 13766 if test "$with_crypto" = "no" ; then |
15784 WITH_SAX1_SOURCES_TRUE='#' | 13767 echo Disabling crypto support |
15785 WITH_SAX1_SOURCES_FALSE= | 13768 LIBGCRYPT_CFLAGS="" |
15786 fi | 13769 LIBGCRYPT_LIBS="" |
15787 | 13770 else |
15788 | 13771 case $host in |
15789 | 13772 *-mingw*) |
15790 if test "$with_push" = "no" ; then | 13773 WITH_CRYPTO=1 |
15791 echo Disabling the PUSH parser interfaces | 13774 CRYPTO_TESTDIR=crypto |
15792 WITH_PUSH=0 | 13775 ;; |
15793 TEST_PUSH= | 13776 *) |
15794 else | 13777 if test -n "$ac_tool_prefix"; then |
15795 WITH_PUSH=1 | 13778 # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be
a program name with args. |
15796 TEST_PUSH="XMLPushtests" | 13779 set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2 |
15797 fi | 13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
15798 | 13781 $as_echo_n "checking for $ac_word... " >&6; } |
15799 | 13782 if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then : |
15800 | 13783 $as_echo_n "(cached) " >&6 |
15801 if test "$with_html" = "no" ; then | 13784 else |
15802 echo Disabling HTML support | 13785 case $LIBGCRYPT_CONFIG in |
15803 WITH_HTML=0 | 13786 [\\/]* | ?:[\\/]*) |
15804 HTML_OBJ= | 13787 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the te
st with a path. |
15805 TEST_HTML= | 13788 ;; |
15806 else | 13789 *) |
15807 WITH_HTML=1 | 13790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
15808 HTML_OBJ="HTMLparser.o HTMLtree.o" | 13791 for as_dir in $PATH |
15809 TEST_HTML=HTMLtests | 13792 do |
15810 if test "$with_push" != "no" ; then | 13793 IFS=$as_save_IFS |
15811 TEST_PHTML=HTMLPushtests | 13794 test -z "$as_dir" && as_dir=. |
| 13795 for ac_exec_ext in '' $ac_executable_extensions; do |
| 13796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13797 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 13798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 13799 break 2 |
| 13800 fi |
| 13801 done |
| 13802 done |
| 13803 IFS=$as_save_IFS |
| 13804 |
| 13805 ;; |
| 13806 esac |
| 13807 fi |
| 13808 LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG |
| 13809 if test -n "$LIBGCRYPT_CONFIG"; then |
| 13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 |
| 13811 $as_echo "$LIBGCRYPT_CONFIG" >&6; } |
| 13812 else |
| 13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13814 $as_echo "no" >&6; } |
| 13815 fi |
| 13816 |
| 13817 |
| 13818 fi |
| 13819 if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then |
| 13820 ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG |
| 13821 # Extract the first word of "libgcrypt-config", so it can be a program name wi
th args. |
| 13822 set dummy libgcrypt-config; ac_word=$2 |
| 13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 13824 $as_echo_n "checking for $ac_word... " >&6; } |
| 13825 if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then : |
| 13826 $as_echo_n "(cached) " >&6 |
| 13827 else |
| 13828 case $ac_pt_LIBGCRYPT_CONFIG in |
| 13829 [\\/]* | ?:[\\/]*) |
| 13830 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user ove
rride the test with a path. |
| 13831 ;; |
| 13832 *) |
| 13833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 13834 for as_dir in $PATH |
| 13835 do |
| 13836 IFS=$as_save_IFS |
| 13837 test -z "$as_dir" && as_dir=. |
| 13838 for ac_exec_ext in '' $ac_executable_extensions; do |
| 13839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 13840 ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 13841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 13842 break 2 |
| 13843 fi |
| 13844 done |
| 13845 done |
| 13846 IFS=$as_save_IFS |
| 13847 |
| 13848 ;; |
| 13849 esac |
| 13850 fi |
| 13851 ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG |
| 13852 if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then |
| 13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5 |
| 13854 $as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; } |
| 13855 else |
| 13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13857 $as_echo "no" >&6; } |
| 13858 fi |
| 13859 |
| 13860 if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then |
| 13861 LIBGCRYPT_CONFIG="no" |
| 13862 else |
| 13863 case $cross_compiling:$ac_tool_warned in |
| 13864 yes:) |
| 13865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 13866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 13867 ac_tool_warned=yes ;; |
| 13868 esac |
| 13869 LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG |
| 13870 fi |
| 13871 else |
| 13872 LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG" |
| 13873 fi |
| 13874 |
| 13875 if test "$LIBGCRYPT_CONFIG" != "no" ; then |
| 13876 LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version` |
| 13877 if test `echo $LIBGCRYPT_VERSION | sed -e 's/libxml //' | awk 'BEGIN { FS
= "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -lt `echo "1.1.42" | se
d -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) *
1000 + $3;}'` |
| 13878 then |
| 13879 LIBGCRYPT_CFLAGS="" |
| 13880 LIBGCRYPT_LIBS="" |
| 13881 echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be av
ailable.' |
| 13882 else |
| 13883 LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags` |
| 13884 LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs` |
| 13885 |
| 13886 $as_echo "#define HAVE_GCRYPT 1" >>confdefs.h |
| 13887 |
| 13888 echo 'Crypto extensions will be available.' |
| 13889 WITH_CRYPTO=1 |
| 13890 CRYPTO_TESTDIR=crypto |
| 13891 fi |
15812 else | 13892 else |
15813 TEST_PHTML= | 13893 LIBGCRYPT_CFLAGS="" |
| 13894 LIBGCRYPT_LIBS="" |
| 13895 echo 'Crypto extensions will not be available. Install libgcrypt and recon
figure to make available.' |
15814 fi | 13896 fi |
15815 fi | 13897 esac |
15816 | 13898 fi |
15817 | 13899 |
15818 | 13900 |
15819 | 13901 |
15820 | 13902 |
15821 if test "$with_valid" = "no" ; then | 13903 |
15822 echo Disabling DTD validation support | 13904 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XSLT" ] || \ |
15823 WITH_VALID=0 | 13905 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxslt" ] |
15824 TEST_VALID= | 13906 then |
15825 TEST_VTIME= | 13907 if test "${with_mem_debug}" = "" ; |
15826 else | 13908 then |
15827 WITH_VALID=1 | 13909 » with_mem_debug="yes" |
15828 TEST_VALID=Validtests | |
15829 TEST_VTIME=VTimingtests | |
15830 fi | |
15831 | |
15832 | |
15833 | |
15834 | |
15835 if test "$with_catalog" = "no" ; then | |
15836 echo Disabling Catalog support | |
15837 WITH_CATALOG=0 | |
15838 CATALOG_OBJ= | |
15839 TEST_CATALOG= | |
15840 else | |
15841 WITH_CATALOG=1 | |
15842 CATALOG_OBJ="catalog.o" | |
15843 TEST_CATALOG=Catatests | |
15844 fi | |
15845 | |
15846 | |
15847 | |
15848 | |
15849 if test "$with_docbook" = "no" ; then | |
15850 echo Disabling Docbook support | |
15851 WITH_DOCB=0 | |
15852 DOCB_OBJ= | |
15853 else | |
15854 WITH_DOCB=1 | |
15855 DOCB_OBJ="DOCBparser.o" | |
15856 fi | |
15857 | |
15858 | |
15859 | |
15860 | |
15861 if test "$with_xptr" = "no" ; then | |
15862 echo Disabling XPointer support | |
15863 WITH_XPTR=0 | |
15864 XPTR_OBJ= | |
15865 TEST_XPTR= | |
15866 else | |
15867 WITH_XPTR=1 | |
15868 XPTR_OBJ=xpointer.o | |
15869 TEST_XPTR=XPtrtests | |
15870 if test "$with_xpath" = "no" ; then | |
15871 echo XPointer requires XPath support - enabling it | |
15872 » with_xpath=yes | |
15873 fi | 13910 fi |
15874 fi | 13911 CFLAGS="-Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Ws
witch -Wcomment -Wtrigraphs -Wformat=2 -Wmissing-format-attribute -Wchar-subscri
pts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-
strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-ext
erns -Winline " |
15875 | 13912 fi |
15876 | 13913 |
15877 | 13914 |
15878 | 13915 # Check whether --with-debug was given. |
15879 if test "$with_c14n" = "no" ; then | 13916 if test "${with_debug+set}" = set; then : |
15880 echo Disabling C14N support | 13917 withval=$with_debug; |
15881 WITH_C14N=0 | 13918 fi |
15882 C14N_OBJ= | 13919 |
15883 TEST_C14N= | 13920 if test "$with_debug" = "no" ; then |
15884 else | 13921 echo Disabling debug support |
15885 WITH_C14N=1 | 13922 WITH_XSLT_DEBUG=0 |
15886 C14N_OBJ="c14n.c" | 13923 else |
15887 TEST_C14N=C14Ntests | 13924 WITH_XSLT_DEBUG=1 |
15888 if test "$with_xpath" = "no" ; then | 13925 fi |
15889 echo C14N requires XPath support - enabling it | 13926 |
15890 with_xpath=yes | 13927 |
15891 fi | 13928 |
15892 fi | 13929 # Check whether --with-mem_debug was given. |
15893 | 13930 if test "${with_mem_debug+set}" = set; then : |
15894 | 13931 withval=$with_mem_debug; |
15895 | 13932 fi |
15896 | 13933 |
15897 if test "$with_xinclude" = "no" ; then | 13934 if test "$with_mem_debug" = "yes" ; then |
15898 echo Disabling XInclude support | 13935 echo Enabling memory debug support |
15899 WITH_XINCLUDE=0 | 13936 WITH_MEM_DEBUG=1 |
15900 XINCLUDE_OBJ= | 13937 else |
15901 with_xinclude="no" | 13938 WITH_MEM_DEBUG=0 |
15902 TEST_XINCLUDE= | 13939 fi |
15903 else | 13940 |
15904 WITH_XINCLUDE=1 | 13941 |
15905 XINCLUDE_OBJ=xinclude.o | 13942 |
15906 TEST_XINCLUDE=XIncludetests | 13943 # Check whether --with-debugger was given. |
15907 if test "$with_xpath" = "no" ; then | 13944 if test "${with_debugger+set}" = set; then : |
15908 echo XInclude requires XPath support - enabling it | 13945 withval=$with_debugger; |
15909 with_xpath=yes | 13946 fi |
15910 fi | 13947 |
15911 fi | 13948 if test "$with_debugger" = "no" ; then |
15912 | 13949 echo Disabling debugger |
15913 | 13950 WITH_DEBUGGER=0 |
15914 | 13951 else |
15915 | 13952 echo Enabling debugger |
15916 if test "$with_xptr" = "" -a "$with_xpath" = "no" ; then | 13953 WITH_DEBUGGER=1 |
15917 with_xptr=no | 13954 |
15918 fi | 13955 $as_echo "#define WITH_DEBUGGER /**/" >>confdefs.h |
15919 | 13956 |
15920 if test "$with_schematron" = "" -a "$with_xpath" = "no" ; then | 13957 fi |
15921 with_schematron=no | 13958 |
15922 fi | 13959 |
15923 | 13960 |
15924 if test "$with_schematron" = "no" ; then | 13961 LIBXML_CONFIG_PREFIX="" |
15925 echo "Disabling Schematron support" | 13962 LIBXML_SRC="" |
15926 WITH_SCHEMATRON=0 | 13963 |
15927 TEST_SCHEMATRON= | 13964 |
15928 else | 13965 # Check whether --with-libxml-prefix was given. |
15929 echo "Enabled Schematron support" | 13966 if test "${with_libxml_prefix+set}" = set; then : |
15930 WITH_SCHEMATRON=1 | 13967 withval=$with_libxml_prefix; LIBXML_CONFIG_PREFIX=$withval |
15931 TEST_SCHEMATRON="Schematrontests" | 13968 |
15932 with_xpath=yes | 13969 fi |
15933 with_pattern=yes | 13970 |
15934 with_schematron=yes | 13971 |
15935 fi | 13972 |
15936 | 13973 # Check whether --with-libxml-include-prefix was given. |
15937 | 13974 if test "${with_libxml_include_prefix+set}" = set; then : |
15938 | 13975 withval=$with_libxml_include_prefix; LIBXML_CFLAGS="-I$withval" |
15939 if test "$with_xpath" = "no" ; then | 13976 |
15940 echo Disabling XPATH support | 13977 fi |
15941 WITH_XPATH=0 | 13978 |
15942 XPATH_OBJ= | 13979 |
15943 TEST_XPATH= | 13980 |
15944 else | 13981 # Check whether --with-libxml-libs-prefix was given. |
15945 WITH_XPATH=1 | 13982 if test "${with_libxml_libs_prefix+set}" = set; then : |
15946 XPATH_OBJ=xpath.o | 13983 withval=$with_libxml_libs_prefix; LIBXML_LIBS="-L$withval" |
15947 TEST_XPATH=XPathtests | 13984 |
15948 fi | 13985 fi |
15949 | 13986 |
15950 | 13987 |
15951 | 13988 |
15952 | 13989 # Check whether --with-libxml-src was given. |
15953 if test "$with_output" = "no" ; then | 13990 if test "${with_libxml_src+set}" = set; then : |
15954 echo Disabling serialization/saving support | 13991 withval=$with_libxml_src; LIBXML_SRC="$withval" |
15955 WITH_OUTPUT=0 | 13992 |
15956 else | 13993 fi |
15957 WITH_OUTPUT=1 | 13994 |
15958 fi | 13995 |
15959 | 13996 |
15960 | 13997 |
15961 WITH_ICONV=0 | 13998 |
15962 if test "$with_iconv" = "no" ; then | 13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml libraries >= $LIBXM
L_REQUIRED_VERSION" >&5 |
15963 echo Disabling ICONV support | 14000 $as_echo_n "checking for libxml libraries >= $LIBXML_REQUIRED_VERSION... " >&6;
} |
15964 else | 14001 if test "x$LIBXML_CONFIG_PREFIX" != "x" |
15965 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then | 14002 then |
15966 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include" | 14003 if test -n "$ac_tool_prefix"; then |
15967 # Export this since our headers include iconv.h | 14004 # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a pro
gram name with args. |
15968 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include" | 14005 set dummy ${ac_tool_prefix}xml2-config; ac_word=$2 |
15969 ICONV_LIBS="-L$with_iconv/lib" | 14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
15970 fi | 14007 $as_echo_n "checking for $ac_word... " >&6; } |
15971 | 14008 if ${ac_cv_path_XML_CONFIG+:} false; then : |
15972 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac
_includes_default" | 14009 $as_echo_n "(cached) " >&6 |
15973 if test "x$ac_cv_header_iconv_h" = xyes; then : | 14010 else |
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 | 14011 case $XML_CONFIG in |
15975 $as_echo_n "checking for iconv... " >&6; } | 14012 [\\/]* | ?:[\\/]*) |
15976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14013 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a pa
th. |
15977 /* end confdefs.h. */ | 14014 ;; |
15978 #include <stdlib.h> | 14015 *) |
15979 #include <iconv.h> | 14016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
15980 int | 14017 for as_dir in ${LIBXML_CONFIG_PREFIX}/bin |
15981 main () | 14018 do |
15982 { | 14019 IFS=$as_save_IFS |
15983 | 14020 test -z "$as_dir" && as_dir=. |
15984 iconv_t cd = iconv_open ("",""); | 14021 for ac_exec_ext in '' $ac_executable_extensions; do |
15985 iconv (cd, NULL, NULL, NULL, NULL); | 14022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
15986 ; | 14023 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
15987 return 0; | 14024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
15988 } | 14025 break 2 |
15989 _ACEOF | 14026 fi |
15990 if ac_fn_c_try_link "$LINENO"; then : | 14027 done |
15991 | 14028 done |
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14029 IFS=$as_save_IFS |
| 14030 |
| 14031 ;; |
| 14032 esac |
| 14033 fi |
| 14034 XML_CONFIG=$ac_cv_path_XML_CONFIG |
| 14035 if test -n "$XML_CONFIG"; then |
| 14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 |
| 14037 $as_echo "$XML_CONFIG" >&6; } |
| 14038 else |
| 14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14040 $as_echo "no" >&6; } |
| 14041 fi |
| 14042 |
| 14043 |
| 14044 fi |
| 14045 if test -z "$ac_cv_path_XML_CONFIG"; then |
| 14046 ac_pt_XML_CONFIG=$XML_CONFIG |
| 14047 # Extract the first word of "xml2-config", so it can be a program name with ar
gs. |
| 14048 set dummy xml2-config; ac_word=$2 |
| 14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14050 $as_echo_n "checking for $ac_word... " >&6; } |
| 14051 if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then : |
| 14052 $as_echo_n "(cached) " >&6 |
| 14053 else |
| 14054 case $ac_pt_XML_CONFIG in |
| 14055 [\\/]* | ?:[\\/]*) |
| 14056 ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the te
st with a path. |
| 14057 ;; |
| 14058 *) |
| 14059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14060 for as_dir in ${LIBXML_CONFIG_PREFIX}/bin |
| 14061 do |
| 14062 IFS=$as_save_IFS |
| 14063 test -z "$as_dir" && as_dir=. |
| 14064 for ac_exec_ext in '' $ac_executable_extensions; do |
| 14065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14066 ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 14067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 14068 break 2 |
| 14069 fi |
| 14070 done |
| 14071 done |
| 14072 IFS=$as_save_IFS |
| 14073 |
| 14074 ;; |
| 14075 esac |
| 14076 fi |
| 14077 ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG |
| 14078 if test -n "$ac_pt_XML_CONFIG"; then |
| 14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5 |
| 14080 $as_echo "$ac_pt_XML_CONFIG" >&6; } |
| 14081 else |
| 14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14083 $as_echo "no" >&6; } |
| 14084 fi |
| 14085 |
| 14086 if test "x$ac_pt_XML_CONFIG" = x; then |
| 14087 XML_CONFIG="false" |
| 14088 else |
| 14089 case $cross_compiling:$ac_tool_warned in |
| 14090 yes:) |
| 14091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 14092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 14093 ac_tool_warned=yes ;; |
| 14094 esac |
| 14095 XML_CONFIG=$ac_pt_XML_CONFIG |
| 14096 fi |
| 14097 else |
| 14098 XML_CONFIG="$ac_cv_path_XML_CONFIG" |
| 14099 fi |
| 14100 |
| 14101 else |
| 14102 if test -n "$ac_tool_prefix"; then |
| 14103 # Extract the first word of "${ac_tool_prefix}xml2-config", so it can be a pro
gram name with args. |
| 14104 set dummy ${ac_tool_prefix}xml2-config; ac_word=$2 |
| 14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14106 $as_echo_n "checking for $ac_word... " >&6; } |
| 14107 if ${ac_cv_path_XML_CONFIG+:} false; then : |
| 14108 $as_echo_n "(cached) " >&6 |
| 14109 else |
| 14110 case $XML_CONFIG in |
| 14111 [\\/]* | ?:[\\/]*) |
| 14112 ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a pa
th. |
| 14113 ;; |
| 14114 *) |
| 14115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14116 for as_dir in $PATH |
| 14117 do |
| 14118 IFS=$as_save_IFS |
| 14119 test -z "$as_dir" && as_dir=. |
| 14120 for ac_exec_ext in '' $ac_executable_extensions; do |
| 14121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14122 ac_cv_path_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 14123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 14124 break 2 |
| 14125 fi |
| 14126 done |
| 14127 done |
| 14128 IFS=$as_save_IFS |
| 14129 |
| 14130 ;; |
| 14131 esac |
| 14132 fi |
| 14133 XML_CONFIG=$ac_cv_path_XML_CONFIG |
| 14134 if test -n "$XML_CONFIG"; then |
| 14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML_CONFIG" >&5 |
| 14136 $as_echo "$XML_CONFIG" >&6; } |
| 14137 else |
| 14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14139 $as_echo "no" >&6; } |
| 14140 fi |
| 14141 |
| 14142 |
| 14143 fi |
| 14144 if test -z "$ac_cv_path_XML_CONFIG"; then |
| 14145 ac_pt_XML_CONFIG=$XML_CONFIG |
| 14146 # Extract the first word of "xml2-config", so it can be a program name with ar
gs. |
| 14147 set dummy xml2-config; ac_word=$2 |
| 14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14149 $as_echo_n "checking for $ac_word... " >&6; } |
| 14150 if ${ac_cv_path_ac_pt_XML_CONFIG+:} false; then : |
| 14151 $as_echo_n "(cached) " >&6 |
| 14152 else |
| 14153 case $ac_pt_XML_CONFIG in |
| 14154 [\\/]* | ?:[\\/]*) |
| 14155 ac_cv_path_ac_pt_XML_CONFIG="$ac_pt_XML_CONFIG" # Let the user override the te
st with a path. |
| 14156 ;; |
| 14157 *) |
| 14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14159 for as_dir in $PATH |
| 14160 do |
| 14161 IFS=$as_save_IFS |
| 14162 test -z "$as_dir" && as_dir=. |
| 14163 for ac_exec_ext in '' $ac_executable_extensions; do |
| 14164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 14165 ac_cv_path_ac_pt_XML_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 14166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 |
| 14167 break 2 |
| 14168 fi |
| 14169 done |
| 14170 done |
| 14171 IFS=$as_save_IFS |
| 14172 |
| 14173 ;; |
| 14174 esac |
| 14175 fi |
| 14176 ac_pt_XML_CONFIG=$ac_cv_path_ac_pt_XML_CONFIG |
| 14177 if test -n "$ac_pt_XML_CONFIG"; then |
| 14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_XML_CONFIG" >&5 |
| 14179 $as_echo "$ac_pt_XML_CONFIG" >&6; } |
| 14180 else |
| 14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14182 $as_echo "no" >&6; } |
| 14183 fi |
| 14184 |
| 14185 if test "x$ac_pt_XML_CONFIG" = x; then |
| 14186 XML_CONFIG="false" |
| 14187 else |
| 14188 case $cross_compiling:$ac_tool_warned in |
| 14189 yes:) |
| 14190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 |
| 14191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} |
| 14192 ac_tool_warned=yes ;; |
| 14193 esac |
| 14194 XML_CONFIG=$ac_pt_XML_CONFIG |
| 14195 fi |
| 14196 else |
| 14197 XML_CONFIG="$ac_cv_path_XML_CONFIG" |
| 14198 fi |
| 14199 |
| 14200 fi |
| 14201 |
| 14202 if test "${GCC}" != "yes" ; then |
| 14203 case "${host}" in |
| 14204 *-*-hpux* ) |
| 14205 CFLAGS="${CFLAGS} -Wp,-H30000" |
| 14206 ;; |
| 14207 *-dec-osf* ) |
| 14208 CFLAGS="${CFLAGS} -ieee" |
| 14209 ;; |
| 14210 esac |
| 14211 else |
| 14212 CFLAGS="${CFLAGS} -Wall -Wformat=2 -Wmissing-format-attribute" |
| 14213 case "${host}" in |
| 14214 alpha*-*-linux* ) |
| 14215 CFLAGS="${CFLAGS} -mieee" |
| 14216 ;; |
| 14217 alpha*-*-osf* ) |
| 14218 CFLAGS="${CFLAGS} -mieee" |
| 14219 ;; |
| 14220 esac |
| 14221 fi |
| 14222 |
| 14223 |
| 14224 if test "x$LIBXML_SRC" != "x" |
| 14225 then |
| 14226 CWD=`pwd` |
| 14227 if cd $LIBXML_SRC |
| 14228 then |
| 14229 SRC_DIR=`pwd` |
| 14230 XML_CONFIG=${SRC_DIR}/xml2-config |
| 14231 LIBXML_CFLAGS="-I${SRC_DIR}/include" |
| 14232 LIBXML_LIBS="-L${SRC_DIR}" |
| 14233 cd $CWD |
| 14234 else |
| 14235 as_fn_error $? "libxml source dir not found (${LIBXML_SRC}), typ
o?" "$LINENO" 5 |
| 14236 fi |
| 14237 fi |
| 14238 |
| 14239 |
| 14240 if ${XML_CONFIG} --libs print > /dev/null 2>&1 |
| 14241 then |
| 14242 XMLVERS=`$XML_CONFIG --version` |
| 14243 if test `echo $XMLVERS | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; }
{ printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` -ge `echo $LIBXML_REQUIRED_VERS
ION | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000
+ $2) * 1000 + $3;}'` |
| 14244 then |
| 14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLVERS found"
>&5 |
| 14246 $as_echo "$XMLVERS found" >&6; } |
| 14247 else |
| 14248 as_fn_error $? "Version $XMLVERS found. You need at least libxml
2 $LIBXML_REQUIRED_VERSION for this version of libxslt" "$LINENO" 5 |
| 14249 fi |
| 14250 LIBXML_LIBS="$LIBXML_LIBS `$XML_CONFIG --libs`" |
| 14251 if test "x$LIBXML_SRC" = "x"; then |
| 14252 LIBXML_CFLAGS="$LIBXML_CFLAGS `$XML_CONFIG --cflags`" |
| 14253 fi |
| 14254 else |
| 14255 as_fn_error $? "Could not find libxml2 anywhere, check ftp://xmlsoft.org
/." "$LINENO" 5 |
| 14256 fi |
| 14257 |
| 14258 |
| 14259 |
| 14260 |
| 14261 |
| 14262 |
| 14263 |
| 14264 # Check whether --with-plugins was given. |
| 14265 if test "${with_plugins+set}" = set; then : |
| 14266 withval=$with_plugins; |
| 14267 fi |
| 14268 |
| 14269 if test "$with_plugins" = "" |
| 14270 then |
| 14271 with_plugins=yes |
| 14272 fi |
| 14273 |
| 14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shared libraries will
be built (required for plugins)" >&5 |
| 14275 $as_echo_n "checking whether shared libraries will be built (required for plugin
s)... " >&6; } |
| 14276 if test "$enable_shared" = "no" -a "$with_plugins" = "yes"; then |
| 14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14278 $as_echo "no" >&6; } |
| 14279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling plugin supp
ort." >&5 |
| 14280 $as_echo "$as_me: WARNING: Disabling plugin support." >&2;} |
| 14281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Plugins require that
shared libraries be built." >&5 |
| 14282 $as_echo "$as_me: WARNING: Plugins require that shared libraries be built." >&2;
} |
| 14283 with_plugins=no |
| 14284 else |
| 14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15993 $as_echo "yes" >&6; } | 14286 $as_echo "yes" >&6; } |
15994 » WITH_ICONV=1 | 14287 fi |
15995 else | 14288 |
15996 | 14289 if test "$with_plugins" = "yes" ; then |
15997 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libxml2 module support" >&5 |
15998 $as_echo "no" >&6; } | 14291 $as_echo_n "checking libxml2 module support... " >&6; } |
15999 » { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -lico
nv" >&5 | 14292 WITH_MODULES="`$XML_CONFIG --modules`" |
16000 $as_echo_n "checking for iconv in -liconv... " >&6; } | 14293 if test "${WITH_MODULES}" = "1"; then |
16001 | 14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16002 » _ldflags="${LDFLAGS}" | |
16003 » _libs="${LIBS}" | |
16004 » LDFLAGS="${LDFLAGS} ${ICONV_LIBS}" | |
16005 » LIBS="${LIBS} -liconv" | |
16006 | |
16007 » cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
16008 /* end confdefs.h. */ | |
16009 #include <stdlib.h> | |
16010 #include <iconv.h> | |
16011 int | |
16012 main () | |
16013 { | |
16014 | |
16015 iconv_t cd = iconv_open ("",""); | |
16016 iconv (cd, NULL, NULL, NULL, NULL); | |
16017 ; | |
16018 return 0; | |
16019 } | |
16020 _ACEOF | |
16021 if ac_fn_c_try_link "$LINENO"; then : | |
16022 | |
16023 » » { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
16024 $as_echo "yes" >&6; } | 14295 $as_echo "yes" >&6; } |
16025 » » WITH_ICONV=1 | 14296 else |
16026 » » ICONV_LIBS="${ICONV_LIBS} -liconv" | 14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16027 » » LIBS="${_libs}" | 14298 $as_echo "no" >&6; } |
16028 » » LDFLAGS="${_ldflags}" | 14299 WITH_MODULES="0" |
16029 else | 14300 fi |
16030 | 14301 else |
16031 » » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14302 WITH_MODULES="0" |
16032 $as_echo "no" >&6; } | 14303 fi |
16033 » » LIBS="${_libs}" | 14304 |
16034 » » LDFLAGS="${_ldflags}" | 14305 |
16035 fi | 14306 if test "$WITH_MODULES" = "1"; then |
16036 rm -f core conftest.err conftest.$ac_objext \ | 14307 WITH_MODULES_TRUE= |
16037 conftest$ac_exeext conftest.$ac_ext | 14308 WITH_MODULES_FALSE='#' |
16038 fi | 14309 else |
16039 rm -f core conftest.err conftest.$ac_objext \ | 14310 WITH_MODULES_TRUE='#' |
16040 conftest$ac_exeext conftest.$ac_ext | 14311 WITH_MODULES_FALSE= |
16041 fi | 14312 fi |
16042 | 14313 |
16043 | 14314 |
16044 | 14315 expanded_libdir=$( |
16045 » if test "$WITH_ICONV" = "1" ; then | 14316 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
16046 » » { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv decl
aration" >&5 | 14317 test "x$exec_prefix" = xNONE && exec_prefix="$prefix" |
16047 $as_echo_n "checking for iconv declaration... " >&6; } | 14318 while test "$libdir_old" != "$libdir"; do |
16048 » » if ${xml_cv_iconv_arg2+:} false; then : | 14319 libdir_old="$libdir" |
16049 $as_echo_n "(cached) " >&6 | 14320 eval libdir="$libdir" |
16050 else | 14321 done |
16051 | 14322 echo "$libdir" |
16052 » » » cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14323 ) |
16053 /* end confdefs.h. */ | 14324 LIBXSLT_DEFAULT_PLUGINS_PATH="$expanded_libdir/libxslt-plugins" |
16054 #include <stdlib.h> | |
16055 #include <iconv.h> | |
16056 extern | |
16057 #ifdef __cplusplus | |
16058 "C" | |
16059 #endif | |
16060 #if defined(__STDC__) || defined(__cplusplus) | |
16061 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, si
ze_t *outbytesleft); | |
16062 #else | |
16063 size_t iconv(); | |
16064 #endif | |
16065 | |
16066 int | |
16067 main () | |
16068 { | |
16069 | |
16070 ; | |
16071 return 0; | |
16072 } | |
16073 _ACEOF | |
16074 if ac_fn_c_try_compile "$LINENO"; then : | |
16075 xml_cv_iconv_arg2="" | |
16076 else | |
16077 xml_cv_iconv_arg2="const" | |
16078 fi | |
16079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
16080 fi | |
16081 | |
16082 | |
16083 » » xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_icon
v_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft)
;" | |
16084 » » { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:- | |
16085 » }$xml_cv_iconv_decl" >&5 | |
16086 $as_echo "${xml_xxx:- | |
16087 » }$xml_cv_iconv_decl" >&6; } | |
16088 | |
16089 cat >>confdefs.h <<_ACEOF | |
16090 #define ICONV_CONST $xml_cv_iconv_arg2 | |
16091 _ACEOF | |
16092 | |
16093 » fi | |
16094 fi | |
16095 case "$host" in | |
16096 » *mingw*) M_LIBS="" | |
16097 » ;; | |
16098 » *beos*) M_LIBS="" | |
16099 » ;; | |
16100 *haiku*) M_LIBS="" | |
16101 ;; | |
16102 » *) M_LIBS="-lm" | |
16103 » ;; | |
16104 esac | |
16105 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS" | |
16106 XML_LIBTOOLLIBS="libxml2.la" | |
16107 | |
16108 | |
16109 WITH_ICU=0 | |
16110 ICU_LIBS="" | |
16111 if test "$with_icu" != "yes" ; then | |
16112 echo Disabling ICU support | |
16113 else | |
16114 ICU_CONFIG=icu-config | |
16115 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 | |
16116 then | |
16117 ICU_LIBS=`${ICU_CONFIG} --ldflags` | |
16118 WITH_ICU=1 | |
16119 echo Enabling ICU support | |
16120 else | |
16121 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5 | |
16122 fi | |
16123 fi | |
16124 | |
16125 | |
16126 | |
16127 WITH_ISO8859X=1 | |
16128 if test "$WITH_ICONV" != "1" ; then | |
16129 if test "$with_iso8859x" = "no" ; then | |
16130 echo Disabling ISO8859X support | |
16131 WITH_ISO8859X=0 | |
16132 fi | |
16133 fi | |
16134 | |
16135 | |
16136 if test "$with_schemas" = "no" ; then | |
16137 echo "Disabling Schemas/Relax-NG support" | |
16138 WITH_SCHEMAS=0 | |
16139 TEST_SCHEMAS= | |
16140 else | |
16141 echo "Enabled Schemas/Relax-NG support" | |
16142 WITH_SCHEMAS=1 | |
16143 TEST_SCHEMAS="Schemastests Relaxtests" | |
16144 if test "$PYTHON_INCLUDES" != "" ; then | |
16145 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests" | |
16146 fi | |
16147 with_regexps=yes | |
16148 fi | |
16149 | |
16150 | |
16151 | |
16152 if test "$with_regexps" = "no" ; then | |
16153 echo Disabling Regexps support | |
16154 WITH_REGEXPS=0 | |
16155 TEST_REGEXPS= | |
16156 else | |
16157 WITH_REGEXPS=1 | |
16158 TEST_REGEXPS="Regexptests Automatatests" | |
16159 fi | |
16160 | |
16161 | |
16162 | |
16163 if test "$with_debug" = "no" ; then | |
16164 echo Disabling DEBUG support | |
16165 WITH_DEBUG=0 | |
16166 DEBUG_OBJ= | |
16167 TEST_DEBUG= | |
16168 else | |
16169 WITH_DEBUG=1 | |
16170 DEBUG_OBJ=debugXML.o | |
16171 TEST_DEBUG=Scripttests | |
16172 fi | |
16173 | |
16174 | |
16175 | |
16176 | |
16177 if test "$with_mem_debug" = "yes" ; then | |
16178 if test "$with_thread_alloc" = "yes" ; then | |
16179 echo Disabling memory debug - cannot use mem-debug with thread-alloc! | |
16180 » WITH_MEM_DEBUG=0 | |
16181 else | |
16182 echo Enabling memory debug support | |
16183 WITH_MEM_DEBUG=1 | |
16184 fi | |
16185 else | |
16186 WITH_MEM_DEBUG=0 | |
16187 fi | |
16188 | |
16189 | |
16190 if test "$with_run_debug" = "yes" ; then | |
16191 echo Enabling runtime debug support | |
16192 WITH_RUN_DEBUG=1 | |
16193 else | |
16194 WITH_RUN_DEBUG=0 | |
16195 fi | |
16196 | 14325 |
16197 | 14326 |
16198 WIN32_EXTRA_LIBADD= | 14327 WIN32_EXTRA_LIBADD= |
16199 WIN32_EXTRA_LDFLAGS= | 14328 WIN32_EXTRA_LDFLAGS= |
16200 CYGWIN_EXTRA_LDFLAGS= | |
16201 CYGWIN_EXTRA_PYTHON_LIBADD= | |
16202 WIN32_EXTRA_PYTHON_LIBADD= | |
16203 case "$host" in | 14329 case "$host" in |
| 14330 *-*-cygwin*) |
| 14331 WIN32_EXTRA_LDFLAGS="-no-undefined" |
| 14332 ;; |
16204 *-*-mingw*) | 14333 *-*-mingw*) |
16205 CPPFLAGS="$CPPFLAGS -DWIN32" | 14334 WIN32_EXTRA_LIBADD="-lwsock32" |
16206 WIN32_EXTRA_LIBADD="-lws2_32" | |
16207 WIN32_EXTRA_LDFLAGS="-no-undefined" | 14335 WIN32_EXTRA_LDFLAGS="-no-undefined" |
16208 | 14336 |
16209 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h | 14337 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h |
16210 | 14338 |
16211 if test "${PYTHON}" != "" | 14339 |
16212 then | 14340 $as_echo "#define snprintf _snprintf" >>confdefs.h |
16213 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_
VERSION} | tr -d .)" | 14341 |
16214 fi | 14342 |
| 14343 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h |
| 14344 |
16215 ;; | 14345 ;; |
16216 *-*-cygwin*) | 14346 esac |
16217 CYGWIN_EXTRA_LDFLAGS="-no-undefined" | 14347 |
16218 if test "${PYTHON}" != "" | 14348 |
16219 then | 14349 |
16220 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpytho
n${PYTHON_VERSION}" | 14350 |
16221 fi | 14351 |
16222 ;; | 14352 |
16223 esac | 14353 |
16224 | |
16225 | |
16226 | |
16227 | |
16228 | |
16229 | |
16230 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscan
f | |
16231 do : | |
16232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
16233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
16234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
16235 cat >>confdefs.h <<_ACEOF | |
16236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
16237 _ACEOF | |
16238 | |
16239 else | |
16240 NEED_TRIO=1 | |
16241 fi | |
16242 done | |
16243 | |
16244 | |
16245 if test "$with_coverage" = "yes" -a "${GCC}" = "yes" | |
16246 then | |
16247 echo Enabling code coverage for GCC | |
16248 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage" | |
16249 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage" | |
16250 else | |
16251 echo Disabling code coverage for GCC | |
16252 fi | |
16253 | |
16254 | |
16255 | |
16256 | 14354 |
16257 | 14355 |
16258 | 14356 |
16259 | 14357 |
16260 | 14358 |
16261 | 14359 |
16262 | 14360 |
| 14361 XSLT_LIBDIR='-L${libdir}' |
| 14362 XSLT_INCLUDEDIR='-I${includedir}' |
| 14363 XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS" |
| 14364 |
| 14365 |
| 14366 |
16263 | 14367 |
| 14368 EXSLT_LIBDIR='-L${libdir}' |
| 14369 EXSLT_INCLUDEDIR='-I${includedir}' |
| 14370 EXSLT_LIBS="-lexslt $XSLT_LIBS $LIBGCRYPT_LIBS" |
16264 | 14371 |
16265 | 14372 |
16266 | 14373 |
16267 | |
16268 | |
16269 | |
16270 | 14374 |
16271 | 14375 |
16272 | 14376 |
16273 | 14377 |
16274 | 14378 |
16275 RELDATE=`date +'%a %b %e %Y'` | 14379 RELDATE=`date +'%a %b %e %Y'` |
16276 | 14380 |
16277 | 14381 |
| 14382 rm -f COPYING.LIB COPYING 2>/dev/null && $LN_S $srcdir/Copyright COPYING |
16278 | 14383 |
16279 rm -f COPYING.LIB COPYING | |
16280 ln -s $srcdir/Copyright COPYING | |
16281 | 14384 |
16282 # keep on one line for cygwin c.f. #130896 | 14385 ac_config_files="$ac_config_files Makefile libxslt.pc libexslt.pc libxslt/Makefi
le libxslt/xsltconfig.h libxslt/xsltwin32config.h libexslt/Makefile libexslt/exs
ltconfig.h xsltproc/Makefile python/Makefile python/tests/Makefile tests/Makefil
e tests/docs/Makefile tests/REC1/Makefile tests/REC2/Makefile tests/REC/Makefile
tests/general/Makefile tests/reports/Makefile tests/extensions/Makefile tests/n
amespaces/Makefile tests/keys/Makefile tests/numbers/Makefile tests/documents/Ma
kefile tests/xmlspec/Makefile tests/multiple/Makefile tests/xinclude/Makefile te
sts/XSLTMark/Makefile tests/docbook/Makefile tests/exslt/Makefile tests/exslt/co
mmon/Makefile tests/exslt/functions/Makefile tests/exslt/math/Makefile tests/exs
lt/sets/Makefile tests/exslt/strings/Makefile tests/exslt/date/Makefile tests/ex
slt/dynamic/Makefile tests/exslt/crypto/Makefile tests/plugins/Makefile doc/Make
file xslt-config libxslt.spec" |
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" | |
16284 | 14386 |
16285 ac_config_files="$ac_config_files python/setup.py" | |
16286 | |
16287 ac_config_files="$ac_config_files xml2-config" | |
16288 | 14387 |
16289 cat >confcache <<\_ACEOF | 14388 cat >confcache <<\_ACEOF |
16290 # This file is a shell script that caches the results of configure | 14389 # This file is a shell script that caches the results of configure |
16291 # tests run on this system so they can be shared between configure | 14390 # tests run on this system so they can be shared between configure |
16292 # scripts and configure runs, see configure's option --config-cache. | 14391 # scripts and configure runs, see configure's option --config-cache. |
16293 # It is not useful on other systems. If it contains results you don't | 14392 # It is not useful on other systems. If it contains results you don't |
16294 # want to keep, you may remove or edit it. | 14393 # want to keep, you may remove or edit it. |
16295 # | 14394 # |
16296 # config.status only pays attention to the cache file if you give it | 14395 # config.status only pays attention to the cache file if you give it |
16297 # the --recheck option to rerun configure. | 14396 # the --recheck option to rerun configure. |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16396 | 14495 |
16397 | 14496 |
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer
than configure" >&5 | 14497 { $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; } | 14498 $as_echo_n "checking that generated files are newer than configure... " >&6; } |
16400 if test -n "$am_sleep_pid"; then | 14499 if test -n "$am_sleep_pid"; then |
16401 # Hide warnings about reused PIDs. | 14500 # Hide warnings about reused PIDs. |
16402 wait $am_sleep_pid 2>/dev/null | 14501 wait $am_sleep_pid 2>/dev/null |
16403 fi | 14502 fi |
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | 14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
16405 $as_echo "done" >&6; } | 14504 $as_echo "done" >&6; } |
16406 if test -n "$EXEEXT"; then | |
16407 am__EXEEXT_TRUE= | |
16408 am__EXEEXT_FALSE='#' | |
16409 else | |
16410 am__EXEEXT_TRUE='#' | |
16411 am__EXEEXT_FALSE= | |
16412 fi | |
16413 | |
16414 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 14505 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
16415 as_fn_error $? "conditional \"AMDEP\" was never defined. | 14506 as_fn_error $? "conditional \"AMDEP\" was never defined. |
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14507 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16417 fi | 14508 fi |
16418 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 14509 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
16419 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | 14510 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
16420 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14511 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16421 fi | 14512 fi |
| 14513 if test -n "$EXEEXT"; then |
| 14514 am__EXEEXT_TRUE= |
| 14515 am__EXEEXT_FALSE='#' |
| 14516 else |
| 14517 am__EXEEXT_TRUE='#' |
| 14518 am__EXEEXT_FALSE= |
| 14519 fi |
| 14520 |
16422 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"
; then | 14521 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"
; then |
16423 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined. | 14522 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined. |
16424 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14523 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16425 fi | 14524 fi |
16426 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then | 14525 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then |
16427 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined. | 14526 as_fn_error $? "conditional \"WITH_PERL\" was never defined. |
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14527 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16429 fi | 14528 fi |
16430 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then | 14529 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then |
16431 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. | 14530 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined. |
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14531 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16433 fi | 14532 fi |
16434 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}";
then | 14533 if test -z "${WITH_MODULES_TRUE}" && test -z "${WITH_MODULES_FALSE}"; then |
16435 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined. | 14534 as_fn_error $? "conditional \"WITH_MODULES\" was never defined. |
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16437 fi | |
16438 if test -z "${THREADS_W32_TRUE}" && test -z "${THREADS_W32_FALSE}"; then | |
16439 as_fn_error $? "conditional \"THREADS_W32\" was never defined. | |
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16441 fi | |
16442 if test -z "${WITH_SAX1_SOURCES_TRUE}" && test -z "${WITH_SAX1_SOURCES_FALSE}";
then | |
16443 as_fn_error $? "conditional \"WITH_SAX1_SOURCES\" was never defined. | |
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 14535 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16445 fi | 14536 fi |
16446 | 14537 |
16447 : "${CONFIG_STATUS=./config.status}" | 14538 : "${CONFIG_STATUS=./config.status}" |
16448 ac_write_fail=0 | 14539 ac_write_fail=0 |
16449 ac_clean_files_save=$ac_clean_files | 14540 ac_clean_files_save=$ac_clean_files |
16450 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 14541 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 14542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
16452 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 14543 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
16453 as_write_fail=0 | 14544 as_write_fail=0 |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17030 | 15121 |
17031 # The HP-UX ksh and POSIX shell print the target directory to stdout | 15122 # The HP-UX ksh and POSIX shell print the target directory to stdout |
17032 # if CDPATH is set. | 15123 # if CDPATH is set. |
17033 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 15124 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
17034 | 15125 |
17035 sed_quote_subst='$sed_quote_subst' | 15126 sed_quote_subst='$sed_quote_subst' |
17036 double_quote_subst='$double_quote_subst' | 15127 double_quote_subst='$double_quote_subst' |
17037 delay_variable_subst='$delay_variable_subst' | 15128 delay_variable_subst='$delay_variable_subst' |
17038 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | 15129 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
17039 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | 15130 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
| 15131 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' |
| 15132 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
| 15133 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
17040 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | 15134 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
17041 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | 15135 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
17042 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | 15136 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
17043 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_s
ubst"`' | 15137 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"`' | 15138 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
17046 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | 15139 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
17047 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' | 15140 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
17048 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | 15141 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
17049 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | 15142 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
17050 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | 15143 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
17051 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | 15144 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
17052 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | 15145 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
17053 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | 15146 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
17054 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | 15147 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
17055 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | 15148 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
17056 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | 15149 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
17057 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | 15150 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
17058 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | 15151 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
17059 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | 15152 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
17060 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | 15153 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
17061 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | 15154 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
17062 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | 15155 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
17063 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | 15156 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
17064 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | 15157 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
17065 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | 15158 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
17066 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | 15159 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
17067 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | 15160 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
17068 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q
uote_subst"`' | 15161 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_q
uote_subst"`' |
17069 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_q
uote_subst"`' | 15162 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_q
uote_subst"`' |
17070 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | 15163 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
17071 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | 15164 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
17072 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | |
17073 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote
_subst"`' | 15165 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote
_subst"`' |
17074 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | 15166 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
17075 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' | 15167 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
17076 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' | 15168 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
17077 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' | |
17078 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_
single_quote_subst"`' | 15169 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_
single_quote_subst"`' |
17079 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | 15170 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
17080 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | 15171 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
17081 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_sub
st"`' | 15172 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_sub
st"`' |
17082 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | 15173 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
17083 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | 15174 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
17084 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote
_subst"`' | 15175 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"`' | 15176 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"`
' | 15177 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"`' | 15178 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$dela
y_single_quote_subst"`' |
17088 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | 15179 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
17089 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | 15180 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
17090 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | 15181 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
17091 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | 15182 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"`' | 15183 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"`' | 15184 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"`' | 15185 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"`' | 15186 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
"`' | 15187 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"`' | 15188 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"`' | 15189 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
17102 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | 15190 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"`' | 15191 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"`' | 15192 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"`' | 15193 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"`' | 15194 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"`' | 15195 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"`' | 15196 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
17109 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | 15197 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
17110 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | 15198 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"`' | 15243 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
17156 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' | 15244 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_sub
st"`' |
17157 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | 15245 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
17158 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' | 15246 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quo
te_subst"`' |
17159 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' | 15247 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`
' |
17160 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' | 15248 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_sub
st"`' |
17161 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | 15249 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
17162 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | 15250 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
17163 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_sub
st"`' | 15251 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"`' | 15252 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"`' | 15253 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"`' | 15254 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
17168 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | 15255 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
17169 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_sub
st"`' | 15256 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"`' | 15257 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"`' | 15258 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
17172 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | 15259 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
17173 | 15260 |
17174 LTCC='$LTCC' | 15261 LTCC='$LTCC' |
17175 LTCFLAGS='$LTCFLAGS' | 15262 LTCFLAGS='$LTCFLAGS' |
17176 compiler='$compiler_DEFAULT' | 15263 compiler='$compiler_DEFAULT' |
17177 | 15264 |
17178 # A function that is used when there is no print builtin or printf. | 15265 # A function that is used when there is no print builtin or printf. |
17179 func_fallback_echo () | 15266 func_fallback_echo () |
17180 { | 15267 { |
17181 eval 'cat <<_LTECHO_EOF | 15268 eval 'cat <<_LTECHO_EOF |
17182 \$1 | 15269 \$1 |
17183 _LTECHO_EOF' | 15270 _LTECHO_EOF' |
17184 } | 15271 } |
17185 | 15272 |
17186 # Quote evaled strings. | 15273 # Quote evaled strings. |
17187 for var in SHELL \ | 15274 for var in AS \ |
| 15275 DLLTOOL \ |
| 15276 OBJDUMP \ |
| 15277 SHELL \ |
17188 ECHO \ | 15278 ECHO \ |
17189 PATH_SEPARATOR \ | 15279 PATH_SEPARATOR \ |
17190 SED \ | 15280 SED \ |
17191 GREP \ | 15281 GREP \ |
17192 EGREP \ | 15282 EGREP \ |
17193 FGREP \ | 15283 FGREP \ |
17194 LD \ | 15284 LD \ |
17195 NM \ | 15285 NM \ |
17196 LN_S \ | 15286 LN_S \ |
17197 lt_SP2NL \ | 15287 lt_SP2NL \ |
17198 lt_NL2SP \ | 15288 lt_NL2SP \ |
17199 reload_flag \ | 15289 reload_flag \ |
17200 OBJDUMP \ | |
17201 deplibs_check_method \ | 15290 deplibs_check_method \ |
17202 file_magic_cmd \ | 15291 file_magic_cmd \ |
17203 file_magic_glob \ | 15292 file_magic_glob \ |
17204 want_nocaseglob \ | 15293 want_nocaseglob \ |
17205 DLLTOOL \ | |
17206 sharedlib_from_linklib_cmd \ | 15294 sharedlib_from_linklib_cmd \ |
17207 AR \ | 15295 AR \ |
17208 AR_FLAGS \ | 15296 AR_FLAGS \ |
17209 archiver_list_spec \ | 15297 archiver_list_spec \ |
17210 STRIP \ | 15298 STRIP \ |
17211 RANLIB \ | 15299 RANLIB \ |
17212 CC \ | 15300 CC \ |
17213 CFLAGS \ | 15301 CFLAGS \ |
17214 compiler \ | 15302 compiler \ |
17215 lt_cv_sys_global_symbol_pipe \ | 15303 lt_cv_sys_global_symbol_pipe \ |
17216 lt_cv_sys_global_symbol_to_cdecl \ | 15304 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 \ | 15305 lt_cv_sys_global_symbol_to_c_name_address \ |
17219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | 15306 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
17220 lt_cv_nm_interface \ | |
17221 nm_file_list_spec \ | 15307 nm_file_list_spec \ |
17222 lt_cv_truncate_bin \ | |
17223 lt_prog_compiler_no_builtin_flag \ | 15308 lt_prog_compiler_no_builtin_flag \ |
17224 lt_prog_compiler_pic \ | 15309 lt_prog_compiler_pic \ |
17225 lt_prog_compiler_wl \ | 15310 lt_prog_compiler_wl \ |
17226 lt_prog_compiler_static \ | 15311 lt_prog_compiler_static \ |
17227 lt_cv_prog_compiler_c_o \ | 15312 lt_cv_prog_compiler_c_o \ |
17228 need_locks \ | 15313 need_locks \ |
17229 MANIFEST_TOOL \ | 15314 MANIFEST_TOOL \ |
17230 DSYMUTIL \ | 15315 DSYMUTIL \ |
17231 NMEDIT \ | 15316 NMEDIT \ |
17232 LIPO \ | 15317 LIPO \ |
(...skipping 14 matching lines...) Expand all Loading... |
17247 variables_saved_for_relink \ | 15332 variables_saved_for_relink \ |
17248 libname_spec \ | 15333 libname_spec \ |
17249 library_names_spec \ | 15334 library_names_spec \ |
17250 soname_spec \ | 15335 soname_spec \ |
17251 install_override_mode \ | 15336 install_override_mode \ |
17252 finish_eval \ | 15337 finish_eval \ |
17253 old_striplib \ | 15338 old_striplib \ |
17254 striplib; do | 15339 striplib; do |
17255 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 15340 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
17256 *[\\\\\\\`\\"\\\$]*) | 15341 *[\\\\\\\`\\"\\\$]*) |
17257 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes | 15342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" |
17258 ;; | 15343 ;; |
17259 *) | 15344 *) |
17260 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 15345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
17261 ;; | 15346 ;; |
17262 esac | 15347 esac |
17263 done | 15348 done |
17264 | 15349 |
17265 # Double-quote double-evaled strings. | 15350 # Double-quote double-evaled strings. |
17266 for var in reload_cmds \ | 15351 for var in reload_cmds \ |
17267 old_postinstall_cmds \ | 15352 old_postinstall_cmds \ |
17268 old_postuninstall_cmds \ | 15353 old_postuninstall_cmds \ |
17269 old_archive_cmds \ | 15354 old_archive_cmds \ |
17270 extract_expsyms_cmds \ | 15355 extract_expsyms_cmds \ |
17271 old_archive_from_new_cmds \ | 15356 old_archive_from_new_cmds \ |
17272 old_archive_from_expsyms_cmds \ | 15357 old_archive_from_expsyms_cmds \ |
17273 archive_cmds \ | 15358 archive_cmds \ |
17274 archive_expsym_cmds \ | 15359 archive_expsym_cmds \ |
17275 module_cmds \ | 15360 module_cmds \ |
17276 module_expsym_cmds \ | 15361 module_expsym_cmds \ |
17277 export_symbols_cmds \ | 15362 export_symbols_cmds \ |
17278 prelink_cmds \ | 15363 prelink_cmds \ |
17279 postlink_cmds \ | 15364 postlink_cmds \ |
17280 postinstall_cmds \ | 15365 postinstall_cmds \ |
17281 postuninstall_cmds \ | 15366 postuninstall_cmds \ |
17282 finish_cmds \ | 15367 finish_cmds \ |
17283 sys_lib_search_path_spec \ | 15368 sys_lib_search_path_spec \ |
17284 configure_time_dlsearch_path \ | 15369 sys_lib_dlsearch_path_spec; do |
17285 configure_time_lt_sys_library_path; do | |
17286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 15370 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
17287 *[\\\\\\\`\\"\\\$]*) | 15371 *[\\\\\\\`\\"\\\$]*) |
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 | 15372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" |
17289 ;; | 15373 ;; |
17290 *) | 15374 *) |
17291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 15375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
17292 ;; | 15376 ;; |
17293 esac | 15377 esac |
17294 done | 15378 done |
17295 | 15379 |
17296 ac_aux_dir='$ac_aux_dir' | 15380 ac_aux_dir='$ac_aux_dir' |
| 15381 xsi_shell='$xsi_shell' |
| 15382 lt_shell_append='$lt_shell_append' |
17297 | 15383 |
17298 # See if we are running on zsh, and set the options that allow our | 15384 # See if we are running on zsh, and set the options which allow our |
17299 # commands through without removal of \ escapes INIT. | 15385 # commands through without removal of \ escapes INIT. |
17300 if test -n "\${ZSH_VERSION+set}"; then | 15386 if test -n "\${ZSH_VERSION+set}" ; then |
17301 setopt NO_GLOB_SUBST | 15387 setopt NO_GLOB_SUBST |
17302 fi | 15388 fi |
17303 | 15389 |
17304 | 15390 |
17305 PACKAGE='$PACKAGE' | 15391 PACKAGE='$PACKAGE' |
17306 VERSION='$VERSION' | 15392 VERSION='$VERSION' |
| 15393 TIMESTAMP='$TIMESTAMP' |
17307 RM='$RM' | 15394 RM='$RM' |
17308 ofile='$ofile' | 15395 ofile='$ofile' |
17309 | 15396 |
17310 | 15397 |
17311 | 15398 |
17312 | 15399 |
17313 _ACEOF | 15400 _ACEOF |
17314 | 15401 |
17315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
17316 | 15403 |
17317 # Handling of arguments. | 15404 # Handling of arguments. |
17318 for ac_config_target in $ac_config_targets | 15405 for ac_config_target in $ac_config_targets |
17319 do | 15406 do |
17320 case $ac_config_target in | 15407 case $ac_config_target in |
17321 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 15408 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
17322 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 15409 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
17323 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | 15410 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
17324 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;; | |
17325 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 15411 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17326 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; | 15412 "libxslt.pc") CONFIG_FILES="$CONFIG_FILES libxslt.pc" ;; |
17327 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefi
le" ;; | 15413 "libexslt.pc") CONFIG_FILES="$CONFIG_FILES libexslt.pc" ;; |
17328 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | 15414 "libxslt/Makefile") CONFIG_FILES="$CONFIG_FILES libxslt/Makefile" ;; |
17329 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile"
;; | 15415 "libxslt/xsltconfig.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltconfig.h" ;; |
17330 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;; | 15416 "libxslt/xsltwin32config.h") CONFIG_FILES="$CONFIG_FILES libxslt/xsltwin32co
nfig.h" ;; |
17331 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;; | 15417 "libexslt/Makefile") CONFIG_FILES="$CONFIG_FILES libexslt/Makefile" ;; |
| 15418 "libexslt/exsltconfig.h") CONFIG_FILES="$CONFIG_FILES libexslt/exsltconfig.h
" ;; |
| 15419 "xsltproc/Makefile") CONFIG_FILES="$CONFIG_FILES xsltproc/Makefile" ;; |
17332 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; | 15420 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; |
17333 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile"
;; | 15421 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile"
;; |
17334 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;; | 15422 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
17335 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xm
lversion.h" ;; | 15423 "tests/docs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docs/Makefile" ;; |
17336 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;; | 15424 "tests/REC1/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC1/Makefile" ;; |
17337 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstal
led.pc" ;; | 15425 "tests/REC2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC2/Makefile" ;; |
17338 "libxml2-config.cmake") CONFIG_FILES="$CONFIG_FILES libxml2-config.cmake" ;; | 15426 "tests/REC/Makefile") CONFIG_FILES="$CONFIG_FILES tests/REC/Makefile" ;; |
17339 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;; | 15427 "tests/general/Makefile") CONFIG_FILES="$CONFIG_FILES tests/general/Makefile
" ;; |
17340 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;; | 15428 "tests/reports/Makefile") CONFIG_FILES="$CONFIG_FILES tests/reports/Makefile
" ;; |
| 15429 "tests/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/extensions/Ma
kefile" ;; |
| 15430 "tests/namespaces/Makefile") CONFIG_FILES="$CONFIG_FILES tests/namespaces/Ma
kefile" ;; |
| 15431 "tests/keys/Makefile") CONFIG_FILES="$CONFIG_FILES tests/keys/Makefile" ;; |
| 15432 "tests/numbers/Makefile") CONFIG_FILES="$CONFIG_FILES tests/numbers/Makefile
" ;; |
| 15433 "tests/documents/Makefile") CONFIG_FILES="$CONFIG_FILES tests/documents/Make
file" ;; |
| 15434 "tests/xmlspec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xmlspec/Makefile
" ;; |
| 15435 "tests/multiple/Makefile") CONFIG_FILES="$CONFIG_FILES tests/multiple/Makefi
le" ;; |
| 15436 "tests/xinclude/Makefile") CONFIG_FILES="$CONFIG_FILES tests/xinclude/Makefi
le" ;; |
| 15437 "tests/XSLTMark/Makefile") CONFIG_FILES="$CONFIG_FILES tests/XSLTMark/Makefi
le" ;; |
| 15438 "tests/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES tests/docbook/Makefile
" ;; |
| 15439 "tests/exslt/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/Makefile" ;; |
| 15440 "tests/exslt/common/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/commo
n/Makefile" ;; |
| 15441 "tests/exslt/functions/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/fu
nctions/Makefile" ;; |
| 15442 "tests/exslt/math/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/math/Ma
kefile" ;; |
| 15443 "tests/exslt/sets/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/sets/Ma
kefile" ;; |
| 15444 "tests/exslt/strings/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/stri
ngs/Makefile" ;; |
| 15445 "tests/exslt/date/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/date/Ma
kefile" ;; |
| 15446 "tests/exslt/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/dyna
mic/Makefile" ;; |
| 15447 "tests/exslt/crypto/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exslt/crypt
o/Makefile" ;; |
| 15448 "tests/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES tests/plugins/Makefile
" ;; |
| 15449 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 15450 "xslt-config") CONFIG_FILES="$CONFIG_FILES xslt-config" ;; |
| 15451 "libxslt.spec") CONFIG_FILES="$CONFIG_FILES libxslt.spec" ;; |
17341 | 15452 |
17342 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15453 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
17343 esac | 15454 esac |
17344 done | 15455 done |
17345 | 15456 |
17346 | 15457 |
17347 # If the user did not use the arguments to specify the items to instantiate, | 15458 # If the user did not use the arguments to specify the items to instantiate, |
17348 # then the envvar interface is used. Set only those that are not. | 15459 # then the envvar interface is used. Set only those that are not. |
17349 # We use the long form for the default assignment because of an extremely | 15460 # We use the long form for the default assignment because of an extremely |
17350 # bizarre bug on SunOS 4.1.3. | 15461 # bizarre bug on SunOS 4.1.3. |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18021 s/.*/./; q'` | 16132 s/.*/./; q'` |
18022 as_dir=$dirpart/$fdir; as_fn_mkdir_p | 16133 as_dir=$dirpart/$fdir; as_fn_mkdir_p |
18023 # echo "creating $dirpart/$file" | 16134 # echo "creating $dirpart/$file" |
18024 echo '# dummy' > "$dirpart/$file" | 16135 echo '# dummy' > "$dirpart/$file" |
18025 done | 16136 done |
18026 done | 16137 done |
18027 } | 16138 } |
18028 ;; | 16139 ;; |
18029 "libtool":C) | 16140 "libtool":C) |
18030 | 16141 |
18031 # See if we are running on zsh, and set the options that allow our | 16142 # See if we are running on zsh, and set the options which allow our |
18032 # commands through without removal of \ escapes. | 16143 # commands through without removal of \ escapes. |
18033 if test -n "${ZSH_VERSION+set}"; then | 16144 if test -n "${ZSH_VERSION+set}" ; then |
18034 setopt NO_GLOB_SUBST | 16145 setopt NO_GLOB_SUBST |
18035 fi | 16146 fi |
18036 | 16147 |
18037 cfgfile=${ofile}T | 16148 cfgfile="${ofile}T" |
18038 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | 16149 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
18039 $RM "$cfgfile" | 16150 $RM "$cfgfile" |
18040 | 16151 |
18041 cat <<_LT_EOF >> "$cfgfile" | 16152 cat <<_LT_EOF >> "$cfgfile" |
18042 #! $SHELL | 16153 #! $SHELL |
18043 # Generated automatically by $as_me ($PACKAGE) $VERSION | 16154 |
| 16155 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo
rt services. |
| 16156 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
18044 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 16157 # 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. | 16158 # 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 # | 16159 # |
18059 # As a special exception to the GNU General Public License, if you | 16160 # 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 | 16161 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
18061 # using GNU Libtool, you may include this file under the same | 16162 # Foundation, Inc. |
18062 # distribution terms that you use for the rest of that program. | 16163 # Written by Gordon Matzigkeit, 1996 |
18063 # | 16164 # |
18064 # GNU Libtool is distributed in the hope that it will be useful, but | 16165 # This file is part of GNU Libtool. |
18065 # WITHOUT ANY WARRANTY; without even the implied warranty of | 16166 # |
| 16167 # GNU Libtool is free software; you can redistribute it and/or |
| 16168 # modify it under the terms of the GNU General Public License as |
| 16169 # published by the Free Software Foundation; either version 2 of |
| 16170 # the License, or (at your option) any later version. |
| 16171 # |
| 16172 # As a special exception to the GNU General Public License, |
| 16173 # if you distribute this file as part of a program or library that |
| 16174 # is built using GNU Libtool, you may include this file under the |
| 16175 # same distribution terms that you use for the rest of that program. |
| 16176 # |
| 16177 # GNU Libtool is distributed in the hope that it will be useful, |
| 16178 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
18066 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18067 # GNU General Public License for more details. | 16180 # GNU General Public License for more details. |
18068 # | 16181 # |
18069 # You should have received a copy of the GNU General Public License | 16182 # 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/>. | 16183 # along with GNU Libtool; see the file COPYING. If not, a copy |
| 16184 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
| 16185 # obtained by writing to the Free Software Foundation, Inc., |
| 16186 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
18071 | 16187 |
18072 | 16188 |
18073 # The names of the tagged configurations supported by this script. | 16189 # The names of the tagged configurations supported by this script. |
18074 available_tags='' | 16190 available_tags="" |
18075 | |
18076 # Configured defaults for sys_lib_dlsearch_path munging. | |
18077 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} | |
18078 | 16191 |
18079 # ### BEGIN LIBTOOL CONFIG | 16192 # ### BEGIN LIBTOOL CONFIG |
18080 | 16193 |
18081 # Which release of libtool.m4 was used? | 16194 # Which release of libtool.m4 was used? |
18082 macro_version=$macro_version | 16195 macro_version=$macro_version |
18083 macro_revision=$macro_revision | 16196 macro_revision=$macro_revision |
18084 | 16197 |
| 16198 # Assembler program. |
| 16199 AS=$lt_AS |
| 16200 |
| 16201 # DLL creation program. |
| 16202 DLLTOOL=$lt_DLLTOOL |
| 16203 |
| 16204 # Object dumper program. |
| 16205 OBJDUMP=$lt_OBJDUMP |
| 16206 |
18085 # Whether or not to build shared libraries. | 16207 # Whether or not to build shared libraries. |
18086 build_libtool_libs=$enable_shared | 16208 build_libtool_libs=$enable_shared |
18087 | 16209 |
18088 # Whether or not to build static libraries. | 16210 # Whether or not to build static libraries. |
18089 build_old_libs=$enable_static | 16211 build_old_libs=$enable_static |
18090 | 16212 |
18091 # What type of objects to build. | 16213 # What type of objects to build. |
18092 pic_mode=$pic_mode | 16214 pic_mode=$pic_mode |
18093 | 16215 |
18094 # Whether or not to optimize for fast installation. | 16216 # Whether or not to optimize for fast installation. |
18095 fast_install=$enable_fast_install | 16217 fast_install=$enable_fast_install |
18096 | 16218 |
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. | 16219 # Shell to use when invoking shell scripts. |
18101 SHELL=$lt_SHELL | 16220 SHELL=$lt_SHELL |
18102 | 16221 |
18103 # An echo program that protects backslashes. | 16222 # An echo program that protects backslashes. |
18104 ECHO=$lt_ECHO | 16223 ECHO=$lt_ECHO |
18105 | 16224 |
18106 # The PATH separator for the build system. | 16225 # The PATH separator for the build system. |
18107 PATH_SEPARATOR=$lt_PATH_SEPARATOR | 16226 PATH_SEPARATOR=$lt_PATH_SEPARATOR |
18108 | 16227 |
18109 # The host system. | 16228 # The host system. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18154 | 16273 |
18155 # turn newlines into spaces. | 16274 # turn newlines into spaces. |
18156 NL2SP=$lt_lt_NL2SP | 16275 NL2SP=$lt_lt_NL2SP |
18157 | 16276 |
18158 # convert \$build file names to \$host format. | 16277 # convert \$build file names to \$host format. |
18159 to_host_file_cmd=$lt_cv_to_host_file_cmd | 16278 to_host_file_cmd=$lt_cv_to_host_file_cmd |
18160 | 16279 |
18161 # convert \$build files to toolchain format. | 16280 # convert \$build files to toolchain format. |
18162 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 16281 to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
18163 | 16282 |
18164 # An object symbol dumper. | |
18165 OBJDUMP=$lt_OBJDUMP | |
18166 | |
18167 # Method to check whether dependent libraries are shared objects. | 16283 # Method to check whether dependent libraries are shared objects. |
18168 deplibs_check_method=$lt_deplibs_check_method | 16284 deplibs_check_method=$lt_deplibs_check_method |
18169 | 16285 |
18170 # Command to use when deplibs_check_method = "file_magic". | 16286 # Command to use when deplibs_check_method = "file_magic". |
18171 file_magic_cmd=$lt_file_magic_cmd | 16287 file_magic_cmd=$lt_file_magic_cmd |
18172 | 16288 |
18173 # How to find potential files when deplibs_check_method = "file_magic". | 16289 # How to find potential files when deplibs_check_method = "file_magic". |
18174 file_magic_glob=$lt_file_magic_glob | 16290 file_magic_glob=$lt_file_magic_glob |
18175 | 16291 |
18176 # Find potential files using nocaseglob when deplibs_check_method = "file_magic"
. | 16292 # Find potential files using nocaseglob when deplibs_check_method = "file_magic"
. |
18177 want_nocaseglob=$lt_want_nocaseglob | 16293 want_nocaseglob=$lt_want_nocaseglob |
18178 | 16294 |
18179 # DLL creation program. | |
18180 DLLTOOL=$lt_DLLTOOL | |
18181 | |
18182 # Command to associate shared and link libraries. | 16295 # Command to associate shared and link libraries. |
18183 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd | 16296 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
18184 | 16297 |
18185 # The archiver. | 16298 # The archiver. |
18186 AR=$lt_AR | 16299 AR=$lt_AR |
18187 | 16300 |
18188 # Flags to create an archive. | 16301 # Flags to create an archive. |
18189 AR_FLAGS=$lt_AR_FLAGS | 16302 AR_FLAGS=$lt_AR_FLAGS |
18190 | 16303 |
18191 # How to feed a file listing to the archiver. | 16304 # How to feed a file listing to the archiver. |
(...skipping 15 matching lines...) Expand all Loading... |
18207 | 16320 |
18208 # LTCC compiler flags. | 16321 # LTCC compiler flags. |
18209 LTCFLAGS=$lt_CFLAGS | 16322 LTCFLAGS=$lt_CFLAGS |
18210 | 16323 |
18211 # Take the output of nm and produce a listing of raw symbols and C names. | 16324 # 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 | 16325 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
18213 | 16326 |
18214 # Transform the output of nm in a proper C declaration. | 16327 # Transform the output of nm in a proper C declaration. |
18215 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 16328 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
18216 | 16329 |
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. | 16330 # 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 | 16331 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
18222 | 16332 |
18223 # Transform the output of nm in a C name address pair when lib prefix is needed. | 16333 # 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 | 16334 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name
_address_lib_prefix |
18225 | 16335 |
18226 # The name lister interface. | |
18227 nm_interface=$lt_lt_cv_nm_interface | |
18228 | |
18229 # Specify filename containing input files for \$NM. | 16336 # Specify filename containing input files for \$NM. |
18230 nm_file_list_spec=$lt_nm_file_list_spec | 16337 nm_file_list_spec=$lt_nm_file_list_spec |
18231 | 16338 |
18232 # The root where to search for dependent libraries,and where our libraries shoul
d be installed. | 16339 # The root where to search for dependent libraries,and in which our libraries sh
ould be installed. |
18233 lt_sysroot=$lt_sysroot | 16340 lt_sysroot=$lt_sysroot |
18234 | 16341 |
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. | 16342 # The name of the directory that contains temporary libtool files. |
18239 objdir=$objdir | 16343 objdir=$objdir |
18240 | 16344 |
18241 # Used to examine libraries when file_magic_cmd begins with "file". | 16345 # Used to examine libraries when file_magic_cmd begins with "file". |
18242 MAGIC_CMD=$MAGIC_CMD | 16346 MAGIC_CMD=$MAGIC_CMD |
18243 | 16347 |
18244 # Must we lock files when doing compilation? | 16348 # Must we lock files when doing compilation? |
18245 need_locks=$lt_need_locks | 16349 need_locks=$lt_need_locks |
18246 | 16350 |
18247 # Manifest tool. | 16351 # 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 | 16422 # As "finish_cmds", except a single script fragment to be evaled but |
18319 # not shown. | 16423 # not shown. |
18320 finish_eval=$lt_finish_eval | 16424 finish_eval=$lt_finish_eval |
18321 | 16425 |
18322 # Whether we should hardcode library paths into libraries. | 16426 # Whether we should hardcode library paths into libraries. |
18323 hardcode_into_libs=$hardcode_into_libs | 16427 hardcode_into_libs=$hardcode_into_libs |
18324 | 16428 |
18325 # Compile-time system search path for libraries. | 16429 # Compile-time system search path for libraries. |
18326 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 16430 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
18327 | 16431 |
18328 # Detected run-time system search path for libraries. | 16432 # Run-time system search path for libraries. |
18329 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path | 16433 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 | 16434 |
18334 # Whether dlopen is supported. | 16435 # Whether dlopen is supported. |
18335 dlopen_support=$enable_dlopen | 16436 dlopen_support=$enable_dlopen |
18336 | 16437 |
18337 # Whether dlopen of programs is supported. | 16438 # Whether dlopen of programs is supported. |
18338 dlopen_self=$enable_dlopen_self | 16439 dlopen_self=$enable_dlopen_self |
18339 | 16440 |
18340 # Whether dlopen of statically linked programs is supported. | 16441 # Whether dlopen of statically linked programs is supported. |
18341 dlopen_self_static=$enable_dlopen_self_static | 16442 dlopen_self_static=$enable_dlopen_self_static |
18342 | 16443 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
18415 # Flag that enforces no undefined symbols. | 16516 # Flag that enforces no undefined symbols. |
18416 no_undefined_flag=$lt_no_undefined_flag | 16517 no_undefined_flag=$lt_no_undefined_flag |
18417 | 16518 |
18418 # Flag to hardcode \$libdir into a binary during linking. | 16519 # Flag to hardcode \$libdir into a binary during linking. |
18419 # This must work even if \$libdir does not exist | 16520 # This must work even if \$libdir does not exist |
18420 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 16521 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
18421 | 16522 |
18422 # Whether we need a single "-rpath" flag with a separated argument. | 16523 # Whether we need a single "-rpath" flag with a separated argument. |
18423 hardcode_libdir_separator=$lt_hardcode_libdir_separator | 16524 hardcode_libdir_separator=$lt_hardcode_libdir_separator |
18424 | 16525 |
18425 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes | 16526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
18426 # DIR into the resulting binary. | 16527 # DIR into the resulting binary. |
18427 hardcode_direct=$hardcode_direct | 16528 hardcode_direct=$hardcode_direct |
18428 | 16529 |
18429 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes | 16530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
18430 # DIR into the resulting binary and the resulting library dependency is | 16531 # DIR into the resulting binary and the resulting library dependency is |
18431 # "absolute",i.e impossible to change by setting \$shlibpath_var if the | 16532 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
18432 # library is relocated. | 16533 # library is relocated. |
18433 hardcode_direct_absolute=$hardcode_direct_absolute | 16534 hardcode_direct_absolute=$hardcode_direct_absolute |
18434 | 16535 |
18435 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 16536 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
18436 # into the resulting binary. | 16537 # into the resulting binary. |
18437 hardcode_minus_L=$hardcode_minus_L | 16538 hardcode_minus_L=$hardcode_minus_L |
18438 | 16539 |
18439 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 16540 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
18440 # into the resulting binary. | 16541 # into the resulting binary. |
18441 hardcode_shlibpath_var=$hardcode_shlibpath_var | 16542 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. | 16574 # Specify filename containing input files. |
18474 file_list_spec=$lt_file_list_spec | 16575 file_list_spec=$lt_file_list_spec |
18475 | 16576 |
18476 # How to hardcode a shared library path into an executable. | 16577 # How to hardcode a shared library path into an executable. |
18477 hardcode_action=$hardcode_action | 16578 hardcode_action=$hardcode_action |
18478 | 16579 |
18479 # ### END LIBTOOL CONFIG | 16580 # ### END LIBTOOL CONFIG |
18480 | 16581 |
18481 _LT_EOF | 16582 _LT_EOF |
18482 | 16583 |
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 | 16584 case $host_os in |
18543 aix3*) | 16585 aix3*) |
18544 cat <<\_LT_EOF >> "$cfgfile" | 16586 cat <<\_LT_EOF >> "$cfgfile" |
18545 # AIX sometimes has problems with the GCC collect2 program. For some | 16587 # AIX sometimes has problems with the GCC collect2 program. For some |
18546 # reason, if we set the COLLECT_NAMES environment variable, the problems | 16588 # reason, if we set the COLLECT_NAMES environment variable, the problems |
18547 # vanish in a puff of smoke. | 16589 # vanish in a puff of smoke. |
18548 if test set != "${COLLECT_NAMES+set}"; then | 16590 if test "X${COLLECT_NAMES+set}" != Xset; then |
18549 COLLECT_NAMES= | 16591 COLLECT_NAMES= |
18550 export COLLECT_NAMES | 16592 export COLLECT_NAMES |
18551 fi | 16593 fi |
18552 _LT_EOF | 16594 _LT_EOF |
18553 ;; | 16595 ;; |
18554 esac | 16596 esac |
18555 | 16597 |
18556 | 16598 |
18557 ltmain=$ac_aux_dir/ltmain.sh | 16599 ltmain="$ac_aux_dir/ltmain.sh" |
18558 | 16600 |
18559 | 16601 |
18560 # We use sed instead of cat because bash on DJGPP gets confused if | 16602 # 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 | 16603 # 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 | 16604 # text mode, it properly converts lines to CR/LF. This bash problem |
18563 # is reportedly fixed, but why not run on old versions too? | 16605 # is reportedly fixed, but why not run on old versions too? |
18564 sed '$q' "$ltmain" >> "$cfgfile" \ | 16606 sed '$q' "$ltmain" >> "$cfgfile" \ |
18565 || (rm -f "$cfgfile"; exit 1) | 16607 || (rm -f "$cfgfile"; exit 1) |
18566 | 16608 |
| 16609 if test x"$xsi_shell" = xyes; then |
| 16610 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
| 16611 func_dirname ()\ |
| 16612 {\ |
| 16613 \ case ${1} in\ |
| 16614 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16615 \ * ) func_dirname_result="${3}" ;;\ |
| 16616 \ esac\ |
| 16617 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16618 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16619 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16620 test 0 -eq $? || _lt_function_replace_fail=: |
| 16621 |
| 16622 |
| 16623 sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
| 16624 func_basename ()\ |
| 16625 {\ |
| 16626 \ func_basename_result="${1##*/}"\ |
| 16627 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16628 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16629 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16630 test 0 -eq $? || _lt_function_replace_fail=: |
| 16631 |
| 16632 |
| 16633 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
| 16634 func_dirname_and_basename ()\ |
| 16635 {\ |
| 16636 \ case ${1} in\ |
| 16637 \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
| 16638 \ * ) func_dirname_result="${3}" ;;\ |
| 16639 \ esac\ |
| 16640 \ func_basename_result="${1##*/}"\ |
| 16641 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfi
le.tmp \ |
| 16642 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16643 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16644 test 0 -eq $? || _lt_function_replace_fail=: |
| 16645 |
| 16646 |
| 16647 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
| 16648 func_stripname ()\ |
| 16649 {\ |
| 16650 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
| 16651 \ # positional parameters, so assign one to ordinary parameter first.\ |
| 16652 \ func_stripname_result=${3}\ |
| 16653 \ func_stripname_result=${func_stripname_result#"${1}"}\ |
| 16654 \ func_stripname_result=${func_stripname_result%"${2}"}\ |
| 16655 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16656 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16657 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16658 test 0 -eq $? || _lt_function_replace_fail=: |
| 16659 |
| 16660 |
| 16661 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
| 16662 func_split_long_opt ()\ |
| 16663 {\ |
| 16664 \ func_split_long_opt_name=${1%%=*}\ |
| 16665 \ func_split_long_opt_arg=${1#*=}\ |
| 16666 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp
\ |
| 16667 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16668 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16669 test 0 -eq $? || _lt_function_replace_fail=: |
| 16670 |
| 16671 |
| 16672 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
| 16673 func_split_short_opt ()\ |
| 16674 {\ |
| 16675 \ func_split_short_opt_arg=${1#??}\ |
| 16676 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
| 16677 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tm
p \ |
| 16678 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16679 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16680 test 0 -eq $? || _lt_function_replace_fail=: |
| 16681 |
| 16682 |
| 16683 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
| 16684 func_lo2o ()\ |
| 16685 {\ |
| 16686 \ case ${1} in\ |
| 16687 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
| 16688 \ *) func_lo2o_result=${1} ;;\ |
| 16689 \ esac\ |
| 16690 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16691 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16692 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16693 test 0 -eq $? || _lt_function_replace_fail=: |
| 16694 |
| 16695 |
| 16696 sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
| 16697 func_xform ()\ |
| 16698 {\ |
| 16699 func_xform_result=${1%.*}.lo\ |
| 16700 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16701 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16702 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16703 test 0 -eq $? || _lt_function_replace_fail=: |
| 16704 |
| 16705 |
| 16706 sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
| 16707 func_arith ()\ |
| 16708 {\ |
| 16709 func_arith_result=$(( $* ))\ |
| 16710 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16711 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16712 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16713 test 0 -eq $? || _lt_function_replace_fail=: |
| 16714 |
| 16715 |
| 16716 sed -e '/^func_len ()$/,/^} # func_len /c\ |
| 16717 func_len ()\ |
| 16718 {\ |
| 16719 func_len_result=${#1}\ |
| 16720 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16721 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16722 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16723 test 0 -eq $? || _lt_function_replace_fail=: |
| 16724 |
| 16725 fi |
| 16726 |
| 16727 if test x"$lt_shell_append" = xyes; then |
| 16728 sed -e '/^func_append ()$/,/^} # func_append /c\ |
| 16729 func_append ()\ |
| 16730 {\ |
| 16731 eval "${1}+=\\${2}"\ |
| 16732 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
| 16733 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16734 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16735 test 0 -eq $? || _lt_function_replace_fail=: |
| 16736 |
| 16737 |
| 16738 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
| 16739 func_append_quoted ()\ |
| 16740 {\ |
| 16741 \ func_quote_for_eval "${2}"\ |
| 16742 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
| 16743 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp
\ |
| 16744 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16745 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) |
| 16746 test 0 -eq $? || _lt_function_replace_fail=: |
| 16747 |
| 16748 |
| 16749 # Save a `func_append' function call where possible by direct use of '+=' |
| 16750 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
| 16751 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") |
| 16753 test 0 -eq $? || _lt_function_replace_fail=: |
| 16754 else |
| 16755 # Save a `func_append' function call even when '+=' is not available |
| 16756 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp
\ |
| 16757 && mv -f "$cfgfile.tmp" "$cfgfile" \ |
| 16758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") |
| 16759 test 0 -eq $? || _lt_function_replace_fail=: |
| 16760 fi |
| 16761 |
| 16762 if test x"$_lt_function_replace_fail" = x":"; then |
| 16763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extende
d shell functions in $ofile" >&5 |
| 16764 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofi
le" >&2;} |
| 16765 fi |
| 16766 |
| 16767 |
18567 mv -f "$cfgfile" "$ofile" || | 16768 mv -f "$cfgfile" "$ofile" || |
18568 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 16769 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
18569 chmod +x "$ofile" | 16770 chmod +x "$ofile" |
18570 | 16771 |
18571 ;; | 16772 ;; |
18572 "python/setup.py":F) chmod +x python/setup.py ;; | |
18573 "xml2-config":F) chmod +x xml2-config ;; | |
18574 | 16773 |
18575 esac | 16774 esac |
18576 done # for ac_tag | 16775 done # for ac_tag |
18577 | 16776 |
18578 | 16777 |
18579 as_fn_exit 0 | 16778 as_fn_exit 0 |
18580 _ACEOF | 16779 _ACEOF |
18581 ac_clean_files=$ac_clean_files_save | 16780 ac_clean_files=$ac_clean_files_save |
18582 | 16781 |
18583 test $ac_write_fail = 0 || | 16782 test $ac_write_fail = 0 || |
(...skipping 18 matching lines...) Expand all Loading... |
18602 exec 5>>config.log | 16801 exec 5>>config.log |
18603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 16802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
18604 # would make configure fail if this is the last instruction. | 16803 # would make configure fail if this is the last instruction. |
18605 $ac_cs_success || as_fn_exit 1 | 16804 $ac_cs_success || as_fn_exit 1 |
18606 fi | 16805 fi |
18607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 16806 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 | 16807 { $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;} | 16808 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
18610 fi | 16809 fi |
18611 | 16810 |
18612 | |
18613 echo Done configuring | |
OLD | NEW |