| OLD | NEW |
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
| 3 # Generated by GNU Autoconf 2.69. | 3 # Generated by GNU Autoconf 2.69. |
| 4 # | 4 # |
| 5 # | 5 # |
| 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 7 # | 7 # |
| 8 # | 8 # |
| 9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
| 10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 WITH_RUN_DEBUG | 656 WITH_RUN_DEBUG |
| 657 WITH_MEM_DEBUG | 657 WITH_MEM_DEBUG |
| 658 TEST_DEBUG | 658 TEST_DEBUG |
| 659 DEBUG_OBJ | 659 DEBUG_OBJ |
| 660 WITH_DEBUG | 660 WITH_DEBUG |
| 661 TEST_REGEXPS | 661 TEST_REGEXPS |
| 662 WITH_REGEXPS | 662 WITH_REGEXPS |
| 663 TEST_SCHEMAS | 663 TEST_SCHEMAS |
| 664 WITH_SCHEMAS | 664 WITH_SCHEMAS |
| 665 WITH_ISO8859X | 665 WITH_ISO8859X |
| 666 WITH_ICU |
| 666 ICU_LIBS | 667 ICU_LIBS |
| 667 WITH_ICU | 668 ICU_CFLAGS |
| 668 WITH_ICONV | 669 WITH_ICONV |
| 669 WITH_OUTPUT | 670 WITH_OUTPUT |
| 670 TEST_XPATH | 671 TEST_XPATH |
| 671 XPATH_OBJ | 672 XPATH_OBJ |
| 672 WITH_XPATH | 673 WITH_XPATH |
| 673 TEST_SCHEMATRON | 674 TEST_SCHEMATRON |
| 674 WITH_SCHEMATRON | 675 WITH_SCHEMATRON |
| 675 TEST_XINCLUDE | 676 TEST_XINCLUDE |
| 676 XINCLUDE_OBJ | 677 XINCLUDE_OBJ |
| 677 WITH_XINCLUDE | 678 WITH_XINCLUDE |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 LIBXML_MINOR_VERSION | 829 LIBXML_MINOR_VERSION |
| 829 LIBXML_MAJOR_VERSION | 830 LIBXML_MAJOR_VERSION |
| 830 host_os | 831 host_os |
| 831 host_vendor | 832 host_vendor |
| 832 host_cpu | 833 host_cpu |
| 833 host | 834 host |
| 834 build_os | 835 build_os |
| 835 build_vendor | 836 build_vendor |
| 836 build_cpu | 837 build_cpu |
| 837 build | 838 build |
| 839 MAINT |
| 840 MAINTAINER_MODE_FALSE |
| 841 MAINTAINER_MODE_TRUE |
| 838 target_alias | 842 target_alias |
| 839 host_alias | 843 host_alias |
| 840 build_alias | 844 build_alias |
| 841 LIBS | 845 LIBS |
| 842 ECHO_T | 846 ECHO_T |
| 843 ECHO_N | 847 ECHO_N |
| 844 ECHO_C | 848 ECHO_C |
| 845 DEFS | 849 DEFS |
| 846 mandir | 850 mandir |
| 847 localedir | 851 localedir |
| (...skipping 21 matching lines...) Expand all Loading... |
| 869 PACKAGE_BUGREPORT | 873 PACKAGE_BUGREPORT |
| 870 PACKAGE_STRING | 874 PACKAGE_STRING |
| 871 PACKAGE_VERSION | 875 PACKAGE_VERSION |
| 872 PACKAGE_TARNAME | 876 PACKAGE_TARNAME |
| 873 PACKAGE_NAME | 877 PACKAGE_NAME |
| 874 PATH_SEPARATOR | 878 PATH_SEPARATOR |
| 875 SHELL' | 879 SHELL' |
| 876 ac_subst_files='' | 880 ac_subst_files='' |
| 877 ac_user_opts=' | 881 ac_user_opts=' |
| 878 enable_option_checking | 882 enable_option_checking |
| 883 enable_maintainer_mode |
| 879 enable_silent_rules | 884 enable_silent_rules |
| 880 enable_dependency_tracking | 885 enable_dependency_tracking |
| 881 enable_shared | 886 enable_shared |
| 882 enable_static | 887 enable_static |
| 883 with_pic | 888 with_pic |
| 884 enable_fast_install | 889 enable_fast_install |
| 885 with_aix_soname | 890 with_aix_soname |
| 886 with_gnu_ld | 891 with_gnu_ld |
| 887 with_sysroot | 892 with_sysroot |
| 888 enable_libtool_lock | 893 enable_libtool_lock |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 CC | 941 CC |
| 937 CFLAGS | 942 CFLAGS |
| 938 LDFLAGS | 943 LDFLAGS |
| 939 LIBS | 944 LIBS |
| 940 CPPFLAGS | 945 CPPFLAGS |
| 941 CPP | 946 CPP |
| 942 PKG_CONFIG | 947 PKG_CONFIG |
| 943 PKG_CONFIG_PATH | 948 PKG_CONFIG_PATH |
| 944 PKG_CONFIG_LIBDIR | 949 PKG_CONFIG_LIBDIR |
| 945 LT_SYS_LIBRARY_PATH | 950 LT_SYS_LIBRARY_PATH |
| 951 Z_CFLAGS |
| 952 Z_LIBS |
| 946 LZMA_CFLAGS | 953 LZMA_CFLAGS |
| 947 LZMA_LIBS' | 954 LZMA_LIBS |
| 955 ICU_CFLAGS |
| 956 ICU_LIBS' |
| 948 | 957 |
| 949 | 958 |
| 950 # Initialize some variables set by options. | 959 # Initialize some variables set by options. |
| 951 ac_init_help= | 960 ac_init_help= |
| 952 ac_init_version=false | 961 ac_init_version=false |
| 953 ac_unrecognized_opts= | 962 ac_unrecognized_opts= |
| 954 ac_unrecognized_sep= | 963 ac_unrecognized_sep= |
| 955 # The variables have the same names as the options, with | 964 # The variables have the same names as the options, with |
| 956 # dashes changed to underlines. | 965 # dashes changed to underlines. |
| 957 cache_file=/dev/null | 966 cache_file=/dev/null |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 fi | 1563 fi |
| 1555 | 1564 |
| 1556 if test -n "$ac_init_help"; then | 1565 if test -n "$ac_init_help"; then |
| 1557 | 1566 |
| 1558 cat <<\_ACEOF | 1567 cat <<\_ACEOF |
| 1559 | 1568 |
| 1560 Optional Features: | 1569 Optional Features: |
| 1561 --disable-option-checking ignore unrecognized --enable/--with options | 1570 --disable-option-checking ignore unrecognized --enable/--with options |
| 1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1571 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1572 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1573 --disable-maintainer-mode |
| 1574 disable make rules and dependencies not useful (and |
| 1575 sometimes confusing) to the casual installer |
| 1564 --enable-silent-rules less verbose build output (undo: "make V=1") | 1576 --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1565 --disable-silent-rules verbose build output (undo: "make V=0") | 1577 --disable-silent-rules verbose build output (undo: "make V=0") |
| 1566 --enable-dependency-tracking | 1578 --enable-dependency-tracking |
| 1567 do not reject slow dependency extractors | 1579 do not reject slow dependency extractors |
| 1568 --disable-dependency-tracking | 1580 --disable-dependency-tracking |
| 1569 speeds up one-time build | 1581 speeds up one-time build |
| 1570 --enable-shared[=PKGS] build shared libraries [default=yes] | 1582 --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1571 --enable-static[=PKGS] build static libraries [default=yes] | 1583 --enable-static[=PKGS] build static libraries [default=yes] |
| 1572 --enable-fast-install[=PKGS] | 1584 --enable-fast-install[=PKGS] |
| 1573 optimize for fast installation [default=yes] | 1585 optimize for fast installation [default=yes] |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1640 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1652 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1641 you have headers in a nonstandard directory <include dir> | 1653 you have headers in a nonstandard directory <include dir> |
| 1642 CPP C preprocessor | 1654 CPP C preprocessor |
| 1643 PKG_CONFIG path to pkg-config utility | 1655 PKG_CONFIG path to pkg-config utility |
| 1644 PKG_CONFIG_PATH | 1656 PKG_CONFIG_PATH |
| 1645 directories to add to pkg-config's search path | 1657 directories to add to pkg-config's search path |
| 1646 PKG_CONFIG_LIBDIR | 1658 PKG_CONFIG_LIBDIR |
| 1647 path overriding pkg-config's built-in search path | 1659 path overriding pkg-config's built-in search path |
| 1648 LT_SYS_LIBRARY_PATH | 1660 LT_SYS_LIBRARY_PATH |
| 1649 User-defined run-time library search path. | 1661 User-defined run-time library search path. |
| 1662 Z_CFLAGS C compiler flags for Z, overriding pkg-config |
| 1663 Z_LIBS linker flags for Z, overriding pkg-config |
| 1650 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config | 1664 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config |
| 1651 LZMA_LIBS linker flags for LZMA, overriding pkg-config | 1665 LZMA_LIBS linker flags for LZMA, overriding pkg-config |
| 1666 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config |
| 1667 ICU_LIBS linker flags for ICU, overriding pkg-config |
| 1652 | 1668 |
| 1653 Use these variables to override the choices made by `configure' or to help | 1669 Use these variables to override the choices made by `configure' or to help |
| 1654 it to find libraries and programs with nonstandard names/locations. | 1670 it to find libraries and programs with nonstandard names/locations. |
| 1655 | 1671 |
| 1656 Report bugs to the package provider. | 1672 Report bugs to the package provider. |
| 1657 _ACEOF | 1673 _ACEOF |
| 1658 ac_status=$? | 1674 ac_status=$? |
| 1659 fi | 1675 fi |
| 1660 | 1676 |
| 1661 if test "$ac_init_help" = "recursive"; then | 1677 if test "$ac_init_help" = "recursive"; then |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2480 ac_cpp='$CPP $CPPFLAGS' | 2496 ac_cpp='$CPP $CPPFLAGS' |
| 2481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2497 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' | 2498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
| 2483 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2499 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2484 | 2500 |
| 2485 | 2501 |
| 2486 | 2502 |
| 2487 ac_config_headers="$ac_config_headers config.h" | 2503 ac_config_headers="$ac_config_headers config.h" |
| 2488 | 2504 |
| 2489 | 2505 |
| 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-s
pecific portions of Makefiles" >&5 |
| 2507 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles
... " >&6; } |
| 2508 # Check whether --enable-maintainer-mode was given. |
| 2509 if test "${enable_maintainer_mode+set}" = set; then : |
| 2510 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2511 else |
| 2512 USE_MAINTAINER_MODE=yes |
| 2513 fi |
| 2514 |
| 2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
| 2516 $as_echo "$USE_MAINTAINER_MODE" >&6; } |
| 2517 if test $USE_MAINTAINER_MODE = yes; then |
| 2518 MAINTAINER_MODE_TRUE= |
| 2519 MAINTAINER_MODE_FALSE='#' |
| 2520 else |
| 2521 MAINTAINER_MODE_TRUE='#' |
| 2522 MAINTAINER_MODE_FALSE= |
| 2523 fi |
| 2524 |
| 2525 MAINT=$MAINTAINER_MODE_TRUE |
| 2526 |
| 2527 |
| 2528 |
| 2490 ac_aux_dir= | 2529 ac_aux_dir= |
| 2491 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 2530 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 2492 if test -f "$ac_dir/install-sh"; then | 2531 if test -f "$ac_dir/install-sh"; then |
| 2493 ac_aux_dir=$ac_dir | 2532 ac_aux_dir=$ac_dir |
| 2494 ac_install_sh="$ac_aux_dir/install-sh -c" | 2533 ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2495 break | 2534 break |
| 2496 elif test -f "$ac_dir/install.sh"; then | 2535 elif test -f "$ac_dir/install.sh"; then |
| 2497 ac_aux_dir=$ac_dir | 2536 ac_aux_dir=$ac_dir |
| 2498 ac_install_sh="$ac_aux_dir/install.sh -c" | 2537 ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2499 break | 2538 break |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2583 # Remember, the first character of IFS is used to create $*, | 2622 # Remember, the first character of IFS is used to create $*, |
| 2584 # except with old shells: | 2623 # except with old shells: |
| 2585 host_os=$* | 2624 host_os=$* |
| 2586 IFS=$ac_save_IFS | 2625 IFS=$ac_save_IFS |
| 2587 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 2626 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 2588 | 2627 |
| 2589 | 2628 |
| 2590 | 2629 |
| 2591 LIBXML_MAJOR_VERSION=2 | 2630 LIBXML_MAJOR_VERSION=2 |
| 2592 LIBXML_MINOR_VERSION=9 | 2631 LIBXML_MINOR_VERSION=9 |
| 2593 LIBXML_MICRO_VERSION=3 | 2632 LIBXML_MICRO_VERSION=4 |
| 2594 LIBXML_MICRO_VERSION_SUFFIX= | 2633 LIBXML_MICRO_VERSION_SUFFIX= |
| 2595 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
$LIBXML_MICRO_VERSION_SUFFIX | 2634 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
$LIBXML_MICRO_VERSION_SUFFIX |
| 2596 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
_MICRO_VERSION:$LIBXML_MINOR_VERSION | 2635 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML
_MICRO_VERSION:$LIBXML_MINOR_VERSION |
| 2597 | 2636 |
| 2598 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSI
ON \* 100 + $LIBXML_MICRO_VERSION` | 2637 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSI
ON \* 100 + $LIBXML_MICRO_VERSION` |
| 2599 | 2638 |
| 2600 if test -f CVS/Entries ; then | 2639 if test -f CVS/Entries ; then |
| 2601 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%
% -e s\%/.*$%%` | 2640 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%
% -e s\%/.*$%%` |
| 2602 echo extra=$extra | 2641 echo extra=$extra |
| 2603 if test "$extra" != "" | 2642 if test "$extra" != "" |
| (...skipping 9023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11627 | 11666 |
| 11628 fi | 11667 fi |
| 11629 | 11668 |
| 11630 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 11669 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 11631 | 11670 |
| 11632 # This implies no fast_install, which is unacceptable. | 11671 # This implies no fast_install, which is unacceptable. |
| 11633 # Some rework will be needed to allow for fast_install | 11672 # Some rework will be needed to allow for fast_install |
| 11634 # before this can be enabled. | 11673 # before this can be enabled. |
| 11635 hardcode_into_libs=yes | 11674 hardcode_into_libs=yes |
| 11636 | 11675 |
| 11637 # Add ABI-specific directories to the system library path. | |
| 11638 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" | |
| 11639 | |
| 11640 # Ideally, we could use ldconfig to report *all* directores which are | 11676 # Ideally, we could use ldconfig to report *all* directores which are |
| 11641 # searched for libraries, however this is still not possible. Aside from not | 11677 # searched for libraries, however this is still not possible. Aside from not |
| 11642 # being certain /sbin/ldconfig is available, command | 11678 # being certain /sbin/ldconfig is available, command |
| 11643 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, | 11679 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 11644 # even though it is searched at run-time. Try to do the best guess by | 11680 # even though it is searched at run-time. Try to do the best guess by |
| 11645 # appending ld.so.conf contents (and includes) to the search path. | 11681 # appending ld.so.conf contents (and includes) to the search path. |
| 11646 if test -f /etc/ld.so.conf; then | 11682 if test -f /etc/ld.so.conf; then |
| 11647 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null"
, \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $S
ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^=
]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | 11683 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null"
, \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $S
ED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^=
]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
| 11648 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | 11684 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 11649 fi | 11685 fi |
| 11650 | 11686 |
| 11651 # We used to test for /lib/ld.so.1 and disable shared libraries on | 11687 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 11652 # powerpc, because MkLinux only supported shared libraries with the | 11688 # powerpc, because MkLinux only supported shared libraries with the |
| 11653 # GNU dynamic linker. Since this was broken with cross compilers, | 11689 # GNU dynamic linker. Since this was broken with cross compilers, |
| 11654 # most powerpc-linux boxes support dynamic linking these days and | 11690 # most powerpc-linux boxes support dynamic linking these days and |
| 11655 # people can always --disable-shared, the test was removed, and we | 11691 # people can always --disable-shared, the test was removed, and we |
| 11656 # assume the GNU/Linux dynamic linker is in use. | 11692 # assume the GNU/Linux dynamic linker is in use. |
| 11657 dynamic_linker='GNU/Linux ld.so' | 11693 dynamic_linker='GNU/Linux ld.so' |
| 11658 ;; | 11694 ;; |
| (...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13137 fi | 13173 fi |
| 13138 fi | 13174 fi |
| 13139 | 13175 |
| 13140 echo Checking zlib | 13176 echo Checking zlib |
| 13141 | 13177 |
| 13142 | 13178 |
| 13143 WITH_ZLIB=0 | 13179 WITH_ZLIB=0 |
| 13144 if test "$with_zlib" = "no"; then | 13180 if test "$with_zlib" = "no"; then |
| 13145 echo "Disabling compression support" | 13181 echo "Disabling compression support" |
| 13146 else | 13182 else |
| 13147 for ac_header in zlib.h | 13183 # Try pkg-config first so that static linking works. |
| 13184 # If this succeeeds, we ignore the WITH_ZLIB directory. |
| 13185 |
| 13186 pkg_failed=no |
| 13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Z" >&5 |
| 13188 $as_echo_n "checking for Z... " >&6; } |
| 13189 |
| 13190 if test -n "$Z_CFLAGS"; then |
| 13191 pkg_cv_Z_CFLAGS="$Z_CFLAGS" |
| 13192 elif test -n "$PKG_CONFIG"; then |
| 13193 if test -n "$PKG_CONFIG" && \ |
| 13194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"zlib\""; } >&5 |
| 13195 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 13196 ac_status=$? |
| 13197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13198 test $ac_status = 0; }; then |
| 13199 pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` |
| 13200 » » test "x$?" != "x0" && pkg_failed=yes |
| 13201 else |
| 13202 pkg_failed=yes |
| 13203 fi |
| 13204 else |
| 13205 pkg_failed=untried |
| 13206 fi |
| 13207 if test -n "$Z_LIBS"; then |
| 13208 pkg_cv_Z_LIBS="$Z_LIBS" |
| 13209 elif test -n "$PKG_CONFIG"; then |
| 13210 if test -n "$PKG_CONFIG" && \ |
| 13211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"zlib\""; } >&5 |
| 13212 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 |
| 13213 ac_status=$? |
| 13214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 13215 test $ac_status = 0; }; then |
| 13216 pkg_cv_Z_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` |
| 13217 » » test "x$?" != "x0" && pkg_failed=yes |
| 13218 else |
| 13219 pkg_failed=yes |
| 13220 fi |
| 13221 else |
| 13222 pkg_failed=untried |
| 13223 fi |
| 13224 |
| 13225 |
| 13226 |
| 13227 if test $pkg_failed = yes; then |
| 13228 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13229 $as_echo "no" >&6; } |
| 13230 |
| 13231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 13232 _pkg_short_errors_supported=yes |
| 13233 else |
| 13234 _pkg_short_errors_supported=no |
| 13235 fi |
| 13236 if test $_pkg_short_errors_supported = yes; then |
| 13237 » Z_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags
--libs "zlib" 2>&1` |
| 13238 else |
| 13239 » Z_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib"
2>&1` |
| 13240 fi |
| 13241 » # Put the nasty error message in config.log where it belongs |
| 13242 » echo "$Z_PKG_ERRORS" >&5 |
| 13243 |
| 13244 » have_libz=no |
| 13245 elif test $pkg_failed = untried; then |
| 13246 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 13247 $as_echo "no" >&6; } |
| 13248 » have_libz=no |
| 13249 else |
| 13250 » Z_CFLAGS=$pkg_cv_Z_CFLAGS |
| 13251 » Z_LIBS=$pkg_cv_Z_LIBS |
| 13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 13253 $as_echo "yes" >&6; } |
| 13254 » have_libz=yes |
| 13255 fi |
| 13256 |
| 13257 if test "x$have_libz" = "xno"; then |
| 13258 for ac_header in zlib.h |
| 13148 do : | 13259 do : |
| 13149 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default" | 13260 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 : | 13261 if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13151 cat >>confdefs.h <<_ACEOF | 13262 cat >>confdefs.h <<_ACEOF |
| 13152 #define HAVE_ZLIB_H 1 | 13263 #define HAVE_ZLIB_H 1 |
| 13153 _ACEOF | 13264 _ACEOF |
| 13154 SAVE_LDFLAGS="${LDFLAGS}" | 13265 SAVE_LDFLAGS="${LDFLAGS}" |
| 13155 » LDFLAGS="-L${Z_DIR}/lib" | 13266 LDFLAGS="-L${Z_DIR}/lib" |
| 13156 » { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 | 13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz"
>&5 |
| 13157 $as_echo_n "checking for gzread in -lz... " >&6; } | 13268 $as_echo_n "checking for gzread in -lz... " >&6; } |
| 13158 if ${ac_cv_lib_z_gzread+:} false; then : | 13269 if ${ac_cv_lib_z_gzread+:} false; then : |
| 13159 $as_echo_n "(cached) " >&6 | 13270 $as_echo_n "(cached) " >&6 |
| 13160 else | 13271 else |
| 13161 ac_check_lib_save_LIBS=$LIBS | 13272 ac_check_lib_save_LIBS=$LIBS |
| 13162 LIBS="-lz $LIBS" | 13273 LIBS="-lz $LIBS" |
| 13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13164 /* end confdefs.h. */ | 13275 /* end confdefs.h. */ |
| 13165 | 13276 |
| 13166 /* Override any GCC internal prototype to avoid an error. | 13277 /* Override any GCC internal prototype to avoid an error. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 13184 ac_cv_lib_z_gzread=no | 13295 ac_cv_lib_z_gzread=no |
| 13185 fi | 13296 fi |
| 13186 rm -f core conftest.err conftest.$ac_objext \ | 13297 rm -f core conftest.err conftest.$ac_objext \ |
| 13187 conftest$ac_exeext conftest.$ac_ext | 13298 conftest$ac_exeext conftest.$ac_ext |
| 13188 LIBS=$ac_check_lib_save_LIBS | 13299 LIBS=$ac_check_lib_save_LIBS |
| 13189 fi | 13300 fi |
| 13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 | 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 |
| 13191 $as_echo "$ac_cv_lib_z_gzread" >&6; } | 13302 $as_echo "$ac_cv_lib_z_gzread" >&6; } |
| 13192 if test "x$ac_cv_lib_z_gzread" = xyes; then : | 13303 if test "x$ac_cv_lib_z_gzread" = xyes; then : |
| 13193 | 13304 |
| 13194 | 13305 have_libz=yes |
| 13195 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h | 13306 if test "x${Z_DIR}" != "x"; then |
| 13196 | 13307 Z_CFLAGS="-I${Z_DIR}/include" |
| 13197 » WITH_ZLIB=1 | 13308 Z_LIBS="-L${Z_DIR}/lib -lz" |
| 13198 » if test "x${Z_DIR}" != "x"; then | 13309 case ${host} in |
| 13199 » » Z_CFLAGS="-I${Z_DIR}/include" | 13310 *-*-solaris*) |
| 13200 » » Z_LIBS="-L${Z_DIR}/lib -lz" | 13311 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" |
| 13201 » » case ${host} in | 13312 ;; |
| 13202 » » *-*-solaris*) | 13313 esac |
| 13203 » » » Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz" | 13314 else |
| 13204 » » » ;; | 13315 Z_LIBS="-lz" |
| 13205 » » esac | 13316 fi |
| 13206 » else | 13317 else |
| 13207 » » Z_LIBS="-lz" | 13318 have_libz=no |
| 13208 » fi | |
| 13209 fi | 13319 fi |
| 13210 | 13320 |
| 13211 » LDFLAGS="${SAVE_LDFLAGS}" | 13321 LDFLAGS="${SAVE_LDFLAGS}" |
| 13212 fi | 13322 fi |
| 13213 | 13323 |
| 13214 done | 13324 done |
| 13215 | 13325 |
| 13326 else |
| 13327 # we still need to check for zlib.h header |
| 13328 for ac_header in zlib.h |
| 13329 do : |
| 13330 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_inc
ludes_default" |
| 13331 if test "x$ac_cv_header_zlib_h" = xyes; then : |
| 13332 cat >>confdefs.h <<_ACEOF |
| 13333 #define HAVE_ZLIB_H 1 |
| 13334 _ACEOF |
| 13335 |
| 13336 fi |
| 13337 |
| 13338 done |
| 13339 |
| 13340 fi |
| 13341 |
| 13342 # Found the library via either method? |
| 13343 if test "x$have_libz" = "xyes"; then |
| 13344 |
| 13345 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
| 13346 |
| 13347 WITH_ZLIB=1 |
| 13348 fi |
| 13216 fi | 13349 fi |
| 13217 | 13350 |
| 13218 | 13351 |
| 13219 | 13352 |
| 13220 | 13353 |
| 13221 | 13354 |
| 13222 echo Checking lzma | 13355 echo Checking lzma |
| 13223 | 13356 |
| 13224 | 13357 |
| 13225 WITH_LZMA=0 | 13358 WITH_LZMA=0 |
| (...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14314 if test x"$have___va_copy" = x"yes"; then | 14447 if test x"$have___va_copy" = x"yes"; then |
| 14315 | 14448 |
| 14316 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h | 14449 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h |
| 14317 | 14450 |
| 14318 fi | 14451 fi |
| 14319 fi | 14452 fi |
| 14320 | 14453 |
| 14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array ty
pe" >&5 | 14454 { $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; } | 14455 $as_echo_n "checking whether va_list is an array type... " >&6; } |
| 14323 cat > conftest.$ac_ext <<EOF | 14456 cat > conftest.$ac_ext <<EOF |
| 14324 #line 14324 "configure" | 14457 #line 14457 "configure" |
| 14325 #include "confdefs.h" | 14458 #include "confdefs.h" |
| 14326 | 14459 |
| 14327 #include <stdarg.h> | 14460 #include <stdarg.h> |
| 14328 void a(va_list * ap) {} | 14461 void a(va_list * ap) {} |
| 14329 int main(void) { | 14462 int main(void) { |
| 14330 | 14463 |
| 14331 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 | 14464 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1 |
| 14332 ; return 0; } | 14465 ; return 0; } |
| 14333 EOF | 14466 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 | 14467 if { (eval echo configure:14467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14335 rm -rf conftest* | 14468 rm -rf conftest* |
| 14336 | 14469 |
| 14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14338 $as_echo "no" >&6; } | 14471 $as_echo "no" >&6; } |
| 14339 else | 14472 else |
| 14340 echo "configure: failed program was:" >&5 | 14473 echo "configure: failed program was:" >&5 |
| 14341 cat conftest.$ac_ext >&5 | 14474 cat conftest.$ac_ext >&5 |
| 14342 rm -rf conftest* | 14475 rm -rf conftest* |
| 14343 | 14476 |
| 14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14514 ac_res=$ac_cv_search_connect | 14647 ac_res=$ac_cv_search_connect |
| 14515 if test "$ac_res" != no; then : | 14648 if test "$ac_res" != no; then : |
| 14516 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14517 | 14650 |
| 14518 fi | 14651 fi |
| 14519 | 14652 |
| 14520 | 14653 |
| 14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (soc
klen_t)" >&5 | 14654 { $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; } | 14655 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; } |
| 14523 cat > conftest.$ac_ext <<EOF | 14656 cat > conftest.$ac_ext <<EOF |
| 14524 #line 14524 "configure" | 14657 #line 14657 "configure" |
| 14525 #include "confdefs.h" | 14658 #include "confdefs.h" |
| 14526 | 14659 |
| 14527 #include <stddef.h> | 14660 #include <stddef.h> |
| 14528 #include <sys/types.h> | 14661 #include <sys/types.h> |
| 14529 #include <sys/socket.h> | 14662 #include <sys/socket.h> |
| 14530 int main(void) { | 14663 int main(void) { |
| 14531 | 14664 |
| 14532 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) | 14665 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL) |
| 14533 ; return 0; } | 14666 ; return 0; } |
| 14534 EOF | 14667 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 | 14668 if { (eval echo configure:14668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14536 rm -rf conftest* | 14669 rm -rf conftest* |
| 14537 | 14670 |
| 14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 | 14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5 |
| 14539 $as_echo "socklen_t *" >&6; } | 14672 $as_echo "socklen_t *" >&6; } |
| 14540 XML_SOCKLEN_T=socklen_t | 14673 XML_SOCKLEN_T=socklen_t |
| 14541 else | 14674 else |
| 14542 echo "configure: failed program was:" >&5 | 14675 echo "configure: failed program was:" >&5 |
| 14543 cat conftest.$ac_ext >&5 | 14676 cat conftest.$ac_ext >&5 |
| 14544 rm -rf conftest* | 14677 rm -rf conftest* |
| 14545 | 14678 |
| 14546 cat > conftest.$ac_ext <<EOF | 14679 cat > conftest.$ac_ext <<EOF |
| 14547 #line 14547 "configure" | 14680 #line 14680 "configure" |
| 14548 #include "confdefs.h" | 14681 #include "confdefs.h" |
| 14549 | 14682 |
| 14550 #include <stddef.h> | 14683 #include <stddef.h> |
| 14551 #include <sys/types.h> | 14684 #include <sys/types.h> |
| 14552 #include <sys/socket.h> | 14685 #include <sys/socket.h> |
| 14553 int main(void) { | 14686 int main(void) { |
| 14554 | 14687 |
| 14555 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) | 14688 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL) |
| 14556 ; return 0; } | 14689 ; return 0; } |
| 14557 EOF | 14690 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 | 14691 if { (eval echo configure:14691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14559 rm -rf conftest* | 14692 rm -rf conftest* |
| 14560 | 14693 |
| 14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 | 14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5 |
| 14562 $as_echo "size_t *" >&6; } | 14695 $as_echo "size_t *" >&6; } |
| 14563 XML_SOCKLEN_T=size_t | 14696 XML_SOCKLEN_T=size_t |
| 14564 else | 14697 else |
| 14565 echo "configure: failed program was:" >&5 | 14698 echo "configure: failed program was:" >&5 |
| 14566 cat conftest.$ac_ext >&5 | 14699 cat conftest.$ac_ext >&5 |
| 14567 rm -rf conftest* | 14700 rm -rf conftest* |
| 14568 | 14701 |
| 14569 cat > conftest.$ac_ext <<EOF | 14702 cat > conftest.$ac_ext <<EOF |
| 14570 #line 14570 "configure" | 14703 #line 14703 "configure" |
| 14571 #include "confdefs.h" | 14704 #include "confdefs.h" |
| 14572 | 14705 |
| 14573 #include <stddef.h> | 14706 #include <stddef.h> |
| 14574 #include <sys/types.h> | 14707 #include <sys/types.h> |
| 14575 #include <sys/socket.h> | 14708 #include <sys/socket.h> |
| 14576 int main(void) { | 14709 int main(void) { |
| 14577 | 14710 |
| 14578 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) | 14711 (void)getsockopt (1, 1, 1, NULL, (int *)NULL) |
| 14579 ; return 0; } | 14712 ; return 0; } |
| 14580 EOF | 14713 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 | 14714 if { (eval echo configure:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5;
_out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then |
| 14582 rm -rf conftest* | 14715 rm -rf conftest* |
| 14583 | 14716 |
| 14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 | 14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5 |
| 14585 $as_echo "int *" >&6; } | 14718 $as_echo "int *" >&6; } |
| 14586 XML_SOCKLEN_T=int | 14719 XML_SOCKLEN_T=int |
| 14587 else | 14720 else |
| 14588 echo "configure: failed program was:" >&5 | 14721 echo "configure: failed program was:" >&5 |
| 14589 cat conftest.$ac_ext >&5 | 14722 cat conftest.$ac_ext >&5 |
| 14590 rm -rf conftest* | 14723 rm -rf conftest* |
| 14591 | 14724 |
| (...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16095 case "$host" in | 16228 case "$host" in |
| 16096 *mingw*) M_LIBS="" | 16229 *mingw*) M_LIBS="" |
| 16097 ;; | 16230 ;; |
| 16098 *beos*) M_LIBS="" | 16231 *beos*) M_LIBS="" |
| 16099 ;; | 16232 ;; |
| 16100 *haiku*) M_LIBS="" | 16233 *haiku*) M_LIBS="" |
| 16101 ;; | 16234 ;; |
| 16102 *) M_LIBS="-lm" | 16235 *) M_LIBS="-lm" |
| 16103 ;; | 16236 ;; |
| 16104 esac | 16237 esac |
| 16105 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS" | |
| 16106 XML_LIBTOOLLIBS="libxml2.la" | |
| 16107 | 16238 |
| 16108 | 16239 |
| 16109 WITH_ICU=0 | 16240 WITH_ICU=0 |
| 16110 ICU_LIBS="" | 16241 ICU_LIBS="" |
| 16111 if test "$with_icu" != "yes" ; then | 16242 if test "$with_icu" != "yes" ; then |
| 16112 echo Disabling ICU support | 16243 echo Disabling ICU support |
| 16113 else | 16244 else |
| 16114 ICU_CONFIG=icu-config | 16245 # Try pkg-config first so that static linking works. |
| 16115 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 | 16246 # If this succeeeds, we ignore the WITH_ICU directory. |
| 16116 then | 16247 |
| 16117 ICU_LIBS=`${ICU_CONFIG} --ldflags` | 16248 pkg_failed=no |
| 16118 WITH_ICU=1 | 16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5 |
| 16119 echo Enabling ICU support | 16250 $as_echo_n "checking for ICU... " >&6; } |
| 16120 else | 16251 |
| 16121 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5 | 16252 if test -n "$ICU_CFLAGS"; then |
| 16122 fi | 16253 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS" |
| 16254 elif test -n "$PKG_CONFIG"; then |
| 16255 if test -n "$PKG_CONFIG" && \ |
| 16256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-i18n\""; } >&5 |
| 16257 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 |
| 16258 ac_status=$? |
| 16259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16260 test $ac_status = 0; }; then |
| 16261 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null` |
| 16262 » » test "x$?" != "x0" && pkg_failed=yes |
| 16263 else |
| 16264 pkg_failed=yes |
| 16265 fi |
| 16266 else |
| 16267 pkg_failed=untried |
| 16268 fi |
| 16269 if test -n "$ICU_LIBS"; then |
| 16270 pkg_cv_ICU_LIBS="$ICU_LIBS" |
| 16271 elif test -n "$PKG_CONFIG"; then |
| 16272 if test -n "$PKG_CONFIG" && \ |
| 16273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-i18n\""; } >&5 |
| 16274 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5 |
| 16275 ac_status=$? |
| 16276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 16277 test $ac_status = 0; }; then |
| 16278 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null` |
| 16279 » » test "x$?" != "x0" && pkg_failed=yes |
| 16280 else |
| 16281 pkg_failed=yes |
| 16282 fi |
| 16283 else |
| 16284 pkg_failed=untried |
| 16123 fi | 16285 fi |
| 16124 | 16286 |
| 16125 | 16287 |
| 16126 | 16288 |
| 16289 if test $pkg_failed = yes; then |
| 16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16291 $as_echo "no" >&6; } |
| 16292 |
| 16293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
| 16294 _pkg_short_errors_supported=yes |
| 16295 else |
| 16296 _pkg_short_errors_supported=no |
| 16297 fi |
| 16298 if test $_pkg_short_errors_supported = yes; then |
| 16299 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfla
gs --libs "icu-i18n" 2>&1` |
| 16300 else |
| 16301 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-
i18n" 2>&1` |
| 16302 fi |
| 16303 # Put the nasty error message in config.log where it belongs |
| 16304 echo "$ICU_PKG_ERRORS" >&5 |
| 16305 |
| 16306 have_libicu=no |
| 16307 elif test $pkg_failed = untried; then |
| 16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16309 $as_echo "no" >&6; } |
| 16310 have_libicu=no |
| 16311 else |
| 16312 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS |
| 16313 ICU_LIBS=$pkg_cv_ICU_LIBS |
| 16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 16315 $as_echo "yes" >&6; } |
| 16316 have_libicu=yes |
| 16317 fi |
| 16318 |
| 16319 # If pkg-config failed, fall back to AC_CHECK_LIB. This |
| 16320 # will not pick up the necessary LIBS flags for liblzma's |
| 16321 # private dependencies, though, so static linking may fail. |
| 16322 if test "x$have_libicu" = "xno"; then |
| 16323 ICU_CONFIG=icu-config |
| 16324 if ${ICU_CONFIG} --cflags >/dev/null 2>&1 |
| 16325 then |
| 16326 ICU_LIBS=`${ICU_CONFIG} --ldflags` |
| 16327 have_libicu=yes |
| 16328 echo Enabling ICU support |
| 16329 else |
| 16330 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then |
| 16331 CPPFLAGS="${CPPFLAGS} -I$with_icu" |
| 16332 # Export this since our headers include icu.h |
| 16333 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu" |
| 16334 fi |
| 16335 |
| 16336 ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucnv.h" "ac_cv_heade
r_unicode_ucnv_h" "$ac_includes_default" |
| 16337 if test "x$ac_cv_header_unicode_ucnv_h" = xyes; then : |
| 16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu" >&5 |
| 16339 $as_echo_n "checking for icu... " >&6; } |
| 16340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16341 /* end confdefs.h. */ |
| 16342 #include <unicode/ucnv.h> |
| 16343 int |
| 16344 main () |
| 16345 { |
| 16346 |
| 16347 UConverter *utf = ucnv_open("UTF-8", NULL); |
| 16348 ; |
| 16349 return 0; |
| 16350 } |
| 16351 _ACEOF |
| 16352 if ac_fn_c_try_link "$LINENO"; then : |
| 16353 |
| 16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 16355 $as_echo "yes" >&6; } |
| 16356 have_libicu=yes |
| 16357 else |
| 16358 |
| 16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16360 $as_echo "no" >&6; } |
| 16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu in -li
cucore" >&5 |
| 16362 $as_echo_n "checking for icu in -licucore... " >&6; } |
| 16363 |
| 16364 _ldflags="${LDFLAGS}" |
| 16365 _libs="${LIBS}" |
| 16366 LDFLAGS="${LDFLAGS} ${ICU_LIBS}" |
| 16367 LIBS="${LIBS} -licucore" |
| 16368 |
| 16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16370 /* end confdefs.h. */ |
| 16371 #include <unicode/ucnv.h> |
| 16372 int |
| 16373 main () |
| 16374 { |
| 16375 |
| 16376 UConverter *utf = ucnv_open("UTF-8", NULL); |
| 16377 ; |
| 16378 return 0; |
| 16379 } |
| 16380 _ACEOF |
| 16381 if ac_fn_c_try_link "$LINENO"; then : |
| 16382 |
| 16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 16384 $as_echo "yes" >&6; } |
| 16385 have_libicu=yes |
| 16386 ICU_LIBS="${ICU_LIBS} -licucore" |
| 16387 LIBS="${_libs}" |
| 16388 LDFLAGS="${_ldflags}" |
| 16389 else |
| 16390 |
| 16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 16392 $as_echo "no" >&6; } |
| 16393 LIBS="${_libs}" |
| 16394 LDFLAGS="${_ldflags}" |
| 16395 fi |
| 16396 rm -f core conftest.err conftest.$ac_objext \ |
| 16397 conftest$ac_exeext conftest.$ac_ext |
| 16398 fi |
| 16399 rm -f core conftest.err conftest.$ac_objext \ |
| 16400 conftest$ac_exeext conftest.$ac_ext |
| 16401 fi |
| 16402 |
| 16403 |
| 16404 fi |
| 16405 fi |
| 16406 |
| 16407 # Found the library via either method? |
| 16408 if test "x$have_libicu" = "xyes"; then |
| 16409 WITH_ICU=1 |
| 16410 fi |
| 16411 fi |
| 16412 XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $
LIBS" |
| 16413 XML_LIBTOOLLIBS="libxml2.la" |
| 16414 |
| 16415 |
| 16127 WITH_ISO8859X=1 | 16416 WITH_ISO8859X=1 |
| 16128 if test "$WITH_ICONV" != "1" ; then | 16417 if test "$WITH_ICONV" != "1" ; then |
| 16129 if test "$with_iso8859x" = "no" ; then | 16418 if test "$with_iso8859x" = "no" ; then |
| 16130 echo Disabling ISO8859X support | 16419 echo Disabling ISO8859X support |
| 16131 WITH_ISO8859X=0 | 16420 WITH_ISO8859X=0 |
| 16132 fi | 16421 fi |
| 16133 fi | 16422 fi |
| 16134 | 16423 |
| 16135 | 16424 |
| 16136 if test "$with_schemas" = "no" ; then | 16425 if test "$with_schemas" = "no" ; then |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16265 | 16554 |
| 16266 | 16555 |
| 16267 | 16556 |
| 16268 | 16557 |
| 16269 | 16558 |
| 16270 | 16559 |
| 16271 | 16560 |
| 16272 | 16561 |
| 16273 | 16562 |
| 16274 | 16563 |
| 16564 |
| 16275 RELDATE=`date +'%a %b %e %Y'` | 16565 RELDATE=`date +'%a %b %e %Y'` |
| 16276 | 16566 |
| 16277 | 16567 |
| 16278 | 16568 |
| 16279 rm -f COPYING.LIB COPYING | 16569 rm -f COPYING.LIB COPYING |
| 16280 ln -s $srcdir/Copyright COPYING | 16570 ln -s $srcdir/Copyright COPYING |
| 16281 | 16571 |
| 16282 # keep on one line for cygwin c.f. #130896 | 16572 # keep on one line for cygwin c.f. #130896 |
| 16283 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/M
akefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/M
akefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile inc
lude/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-config.
cmake" | 16573 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 | 16574 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 16678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 16389 # will be set to the directory where LIBOBJS objects are built. | 16679 # will be set to the directory where LIBOBJS objects are built. |
| 16390 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 16680 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 16391 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 16681 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 16392 done | 16682 done |
| 16393 LIBOBJS=$ac_libobjs | 16683 LIBOBJS=$ac_libobjs |
| 16394 | 16684 |
| 16395 LTLIBOBJS=$ac_ltlibobjs | 16685 LTLIBOBJS=$ac_ltlibobjs |
| 16396 | 16686 |
| 16397 | 16687 |
| 16688 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
| 16689 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
| 16690 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16691 fi |
| 16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer
than configure" >&5 | 16692 { $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; } | 16693 $as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 16400 if test -n "$am_sleep_pid"; then | 16694 if test -n "$am_sleep_pid"; then |
| 16401 # Hide warnings about reused PIDs. | 16695 # Hide warnings about reused PIDs. |
| 16402 wait $am_sleep_pid 2>/dev/null | 16696 wait $am_sleep_pid 2>/dev/null |
| 16403 fi | 16697 fi |
| 16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | 16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 16405 $as_echo "done" >&6; } | 16699 $as_echo "done" >&6; } |
| 16406 if test -n "$EXEEXT"; then | 16700 if test -n "$EXEEXT"; then |
| 16407 am__EXEEXT_TRUE= | 16701 am__EXEEXT_TRUE= |
| (...skipping 2196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18604 # would make configure fail if this is the last instruction. | 18898 # would make configure fail if this is the last instruction. |
| 18605 $ac_cs_success || as_fn_exit 1 | 18899 $ac_cs_success || as_fn_exit 1 |
| 18606 fi | 18900 fi |
| 18607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 18901 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 | 18902 { $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;} | 18903 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18610 fi | 18904 fi |
| 18611 | 18905 |
| 18612 | 18906 |
| 18613 echo Done configuring | 18907 echo Done configuring |
| OLD | NEW |