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 for ICU 54.1. | 3 # Generated by GNU Autoconf 2.69 for ICU 56.1. |
4 # | 4 # |
5 # Report bugs to <http://icu-project.org/bugs>. | 5 # Report bugs to <http://icu-project.org/bugs>. |
6 # | 6 # |
7 # Copyright (c) 1999-2014, International Business Machines Corporation and othe
rs. All Rights Reserved. | 7 # Copyright (c) 1999-2015, International Business Machines Corporation and othe
rs. All Rights Reserved. |
8 # | 8 # |
9 # | 9 # |
10 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 10 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
11 # | 11 # |
12 # | 12 # |
13 # This configure script is free software; the Free Software Foundation | 13 # This configure script is free software; the Free Software Foundation |
14 # gives unlimited permission to copy, distribute and modify it. | 14 # gives unlimited permission to copy, distribute and modify it. |
15 ## -------------------- ## | 15 ## -------------------- ## |
16 ## M4sh Initialization. ## | 16 ## M4sh Initialization. ## |
17 ## -------------------- ## | 17 ## -------------------- ## |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 ac_config_libobj_dir=. | 575 ac_config_libobj_dir=. |
576 LIBOBJS= | 576 LIBOBJS= |
577 cross_compiling=no | 577 cross_compiling=no |
578 subdirs= | 578 subdirs= |
579 MFLAGS= | 579 MFLAGS= |
580 MAKEFLAGS= | 580 MAKEFLAGS= |
581 | 581 |
582 # Identity of this package. | 582 # Identity of this package. |
583 PACKAGE_NAME='ICU' | 583 PACKAGE_NAME='ICU' |
584 PACKAGE_TARNAME='International Components for Unicode' | 584 PACKAGE_TARNAME='International Components for Unicode' |
585 PACKAGE_VERSION='54.1' | 585 PACKAGE_VERSION='56.1' |
586 PACKAGE_STRING='ICU 54.1' | 586 PACKAGE_STRING='ICU 56.1' |
587 PACKAGE_BUGREPORT='http://icu-project.org/bugs' | 587 PACKAGE_BUGREPORT='http://icu-project.org/bugs' |
588 PACKAGE_URL='http://icu-project.org' | 588 PACKAGE_URL='http://icu-project.org' |
589 | 589 |
590 ac_unique_file="common/unicode/utypes.h" | 590 ac_unique_file="common/unicode/utypes.h" |
591 # Factoring default headers for most tests. | 591 # Factoring default headers for most tests. |
592 ac_includes_default="\ | 592 ac_includes_default="\ |
593 #include <stdio.h> | 593 #include <stdio.h> |
594 #ifdef HAVE_SYS_TYPES_H | 594 #ifdef HAVE_SYS_TYPES_H |
595 # include <sys/types.h> | 595 # include <sys/types.h> |
596 #endif | 596 #endif |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 UCONFIG_CFLAGS | 628 UCONFIG_CFLAGS |
629 UCONFIG_CPPFLAGS | 629 UCONFIG_CPPFLAGS |
630 LTLIBOBJS | 630 LTLIBOBJS |
631 LIBOBJS | 631 LIBOBJS |
632 LIBCXXFLAGS | 632 LIBCXXFLAGS |
633 LIBCFLAGS | 633 LIBCFLAGS |
634 platform_make_fragment | 634 platform_make_fragment |
635 platform_make_fragment_name | 635 platform_make_fragment_name |
636 platform | 636 platform |
637 ICUDATA_CHAR | 637 ICUDATA_CHAR |
| 638 U_HAVE_SAMPLES |
638 SAMPLES_TRUE | 639 SAMPLES_TRUE |
| 640 U_HAVE_TESTS |
639 TESTS_TRUE | 641 TESTS_TRUE |
640 ICULIBSUFFIXCNAME | 642 ICULIBSUFFIXCNAME |
641 U_HAVE_LIB_SUFFIX | 643 U_HAVE_LIB_SUFFIX |
642 ICULIBSUFFIX | 644 ICULIBSUFFIX |
643 DATA_PACKAGING_MODE | 645 DATA_PACKAGING_MODE |
644 thepkgicudatadir | 646 thepkgicudatadir |
645 pkgicudatadir | 647 pkgicudatadir |
| 648 U_HAVE_TOOLS |
646 TOOLS_TRUE | 649 TOOLS_TRUE |
| 650 U_HAVE_LAYOUTEX |
647 LAYOUTEX_TRUE | 651 LAYOUTEX_TRUE |
| 652 U_HAVE_LAYOUT |
648 LAYOUT_TRUE | 653 LAYOUT_TRUE |
| 654 U_HAVE_ICUIO |
649 ICUIO_TRUE | 655 ICUIO_TRUE |
| 656 U_HAVE_EXTRAS |
650 EXTRAS_TRUE | 657 EXTRAS_TRUE |
651 U_HAVE_WCSCPY | 658 U_HAVE_WCSCPY |
652 U_HAVE_WCHAR_H | 659 U_HAVE_WCHAR_H |
653 U_TIMEZONE | 660 U_TIMEZONE |
654 U_HAVE_TIMEZONE | 661 U_HAVE_TIMEZONE |
655 U_TZNAME | 662 U_TZNAME |
656 U_HAVE_TZNAME | 663 U_HAVE_TZNAME |
657 U_TZSET | 664 U_TZSET |
658 U_HAVE_TZSET | 665 U_HAVE_TZSET |
659 U_HAVE_POPEN | 666 U_HAVE_POPEN |
660 U_HAVE_PLACEMENT_NEW | 667 U_HAVE_PLACEMENT_NEW |
661 U_OVERRIDE_CXX_ALLOCATION | 668 U_OVERRIDE_CXX_ALLOCATION |
662 U_NL_LANGINFO_CODESET | 669 U_NL_LANGINFO_CODESET |
663 U_HAVE_NL_LANGINFO_CODESET | 670 U_HAVE_NL_LANGINFO_CODESET |
664 U_IS_BIG_ENDIAN | 671 U_IS_BIG_ENDIAN |
665 U_HAVE_DIRENT_H | 672 U_HAVE_DIRENT_H |
666 U_HAVE_INTTYPES_H | 673 U_HAVE_INTTYPES_H |
667 GENCCODE_ASSEMBLY | 674 GENCCODE_ASSEMBLY |
668 HAVE_MMAP | 675 HAVE_MMAP |
669 LIB_THREAD | 676 LIB_THREAD |
670 U_HAVE_ATOMIC | 677 U_HAVE_ATOMIC |
671 U_HAVE_STD_STRING | 678 U_HAVE_STD_STRING |
672 ENABLE_RPATH | 679 ENABLE_RPATH |
673 U_ENABLE_DYLOAD | 680 U_ENABLE_DYLOAD |
| 681 U_HAVE_PLUGINS |
| 682 PLUGINS_TRUE |
674 U_ENABLE_TRACING | 683 U_ENABLE_TRACING |
675 U_DISABLE_RENAMING | 684 U_DISABLE_RENAMING |
676 AR | 685 AR |
677 RANLIB | 686 RANLIB |
678 U_DEFAULT_SHOW_DRAFT | 687 U_DEFAULT_SHOW_DRAFT |
679 UCLN_NO_AUTO_CLEANUP | 688 UCLN_NO_AUTO_CLEANUP |
680 ENABLE_STATIC | 689 ENABLE_STATIC |
681 ENABLE_SHARED | 690 ENABLE_SHARED |
682 LIB_M | 691 LIB_M |
683 COMPILE_LINK_ENVVAR | 692 COMPILE_LINK_ENVVAR |
684 ARFLAGS | 693 ARFLAGS |
685 EGREP | 694 EGREP |
686 GREP | 695 GREP |
687 DOXYGEN | 696 DOXYGEN |
688 cross_buildroot | 697 cross_buildroot |
689 U_MAKE | 698 U_MAKE |
690 cross_compiling | 699 cross_compiling |
691 INSTALL_DATA | 700 INSTALL_DATA |
692 INSTALL_SCRIPT | 701 INSTALL_SCRIPT |
693 INSTALL_PROGRAM | 702 INSTALL_PROGRAM |
694 CPP | 703 CPP |
695 ICULEHB_LIBS | 704 ICULEHB_LIBS |
696 ICULEHB_CFLAGS | 705 ICULEHB_CFLAGS |
| 706 PKG_CONFIG_LIBDIR |
| 707 PKG_CONFIG_PATH |
697 PKG_CONFIG | 708 PKG_CONFIG |
698 ac_ct_CXX | 709 ac_ct_CXX |
699 CXXFLAGS | 710 CXXFLAGS |
700 CXX | 711 CXX |
701 OBJEXT | 712 OBJEXT |
702 EXEEXT | 713 EXEEXT |
703 ac_ct_CC | 714 ac_ct_CC |
704 LDFLAGS | 715 LDFLAGS |
705 CFLAGS | 716 CFLAGS |
706 CC | 717 CC |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 with_cross_build | 780 with_cross_build |
770 enable_strict | 781 enable_strict |
771 enable_64bit_libs | 782 enable_64bit_libs |
772 with_library_bits | 783 with_library_bits |
773 enable_shared | 784 enable_shared |
774 enable_static | 785 enable_static |
775 enable_auto_cleanup | 786 enable_auto_cleanup |
776 enable_draft | 787 enable_draft |
777 enable_renaming | 788 enable_renaming |
778 enable_tracing | 789 enable_tracing |
| 790 enable_plugins |
779 enable_dyload | 791 enable_dyload |
780 enable_rpath | 792 enable_rpath |
781 enable_weak_threads | 793 enable_weak_threads |
782 enable_extras | 794 enable_extras |
783 enable_icuio | 795 enable_icuio |
784 enable_layout | 796 enable_layout |
785 enable_layoutex | 797 enable_layoutex |
786 enable_tools | 798 enable_tools |
787 with_data_packaging | 799 with_data_packaging |
788 with_library_suffix | 800 with_library_suffix |
789 enable_tests | 801 enable_tests |
790 enable_samples | 802 enable_samples |
791 ' | 803 ' |
792 ac_precious_vars='build_alias | 804 ac_precious_vars='build_alias |
793 host_alias | 805 host_alias |
794 target_alias | 806 target_alias |
795 CC | 807 CC |
796 CFLAGS | 808 CFLAGS |
797 LDFLAGS | 809 LDFLAGS |
798 LIBS | 810 LIBS |
799 CPPFLAGS | 811 CPPFLAGS |
800 CXX | 812 CXX |
801 CXXFLAGS | 813 CXXFLAGS |
802 CCC | 814 CCC |
803 PKG_CONFIG | 815 PKG_CONFIG |
| 816 PKG_CONFIG_PATH |
| 817 PKG_CONFIG_LIBDIR |
804 ICULEHB_CFLAGS | 818 ICULEHB_CFLAGS |
805 ICULEHB_LIBS | 819 ICULEHB_LIBS |
806 CPP' | 820 CPP' |
807 | 821 |
808 | 822 |
809 # Initialize some variables set by options. | 823 # Initialize some variables set by options. |
810 ac_init_help= | 824 ac_init_help= |
811 ac_init_version=false | 825 ac_init_version=false |
812 ac_unrecognized_opts= | 826 ac_unrecognized_opts= |
813 ac_unrecognized_sep= | 827 ac_unrecognized_sep= |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1337 eval ac_cv_env_${ac_var}_value=\$${ac_var} | 1351 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1338 done | 1352 done |
1339 | 1353 |
1340 # | 1354 # |
1341 # Report the --help message. | 1355 # Report the --help message. |
1342 # | 1356 # |
1343 if test "$ac_init_help" = "long"; then | 1357 if test "$ac_init_help" = "long"; then |
1344 # Omit some internal or obsolete options to make the list less imposing. | 1358 # Omit some internal or obsolete options to make the list less imposing. |
1345 # This message is too long to be a string in the A/UX 3.1 sh. | 1359 # This message is too long to be a string in the A/UX 3.1 sh. |
1346 cat <<_ACEOF | 1360 cat <<_ACEOF |
1347 \`configure' configures ICU 54.1 to adapt to many kinds of systems. | 1361 \`configure' configures ICU 56.1 to adapt to many kinds of systems. |
1348 | 1362 |
1349 Usage: $0 [OPTION]... [VAR=VALUE]... | 1363 Usage: $0 [OPTION]... [VAR=VALUE]... |
1350 | 1364 |
1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1352 VAR=VALUE. See below for descriptions of some of the useful variables. | 1366 VAR=VALUE. See below for descriptions of some of the useful variables. |
1353 | 1367 |
1354 Defaults for the options are specified in brackets. | 1368 Defaults for the options are specified in brackets. |
1355 | 1369 |
1356 Configuration: | 1370 Configuration: |
1357 -h, --help display this help and exit | 1371 -h, --help display this help and exit |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 cat <<\_ACEOF | 1417 cat <<\_ACEOF |
1404 | 1418 |
1405 System types: | 1419 System types: |
1406 --build=BUILD configure for building on BUILD [guessed] | 1420 --build=BUILD configure for building on BUILD [guessed] |
1407 --host=HOST cross-compile to build programs to run on HOST [BUILD] | 1421 --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1408 _ACEOF | 1422 _ACEOF |
1409 fi | 1423 fi |
1410 | 1424 |
1411 if test -n "$ac_init_help"; then | 1425 if test -n "$ac_init_help"; then |
1412 case $ac_init_help in | 1426 case $ac_init_help in |
1413 short | recursive ) echo "Configuration of ICU 54.1:";; | 1427 short | recursive ) echo "Configuration of ICU 56.1:";; |
1414 esac | 1428 esac |
1415 cat <<\_ACEOF | 1429 cat <<\_ACEOF |
1416 | 1430 |
1417 Optional Features: | 1431 Optional Features: |
1418 --disable-option-checking ignore unrecognized --enable/--with options | 1432 --disable-option-checking ignore unrecognized --enable/--with options |
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1421 --enable-debug build debug libraries and enable the U_DEBUG define de
fault=no | 1435 --enable-debug build debug libraries and enable the U_DEBUG define de
fault=no |
1422 --enable-release build release libraries default=yes | 1436 --enable-release build release libraries default=yes |
1423 --enable-strict compile with strict compiler options default=yes | 1437 --enable-strict compile with strict compiler options default=yes |
1424 --enable-64bit-libs (deprecated, use --with-library-bits) build 64-bit lib
raries default= platform default | 1438 --enable-64bit-libs (deprecated, use --with-library-bits) build 64-bit lib
raries default= platform default |
1425 --enable-shared build shared libraries default=yes | 1439 --enable-shared build shared libraries default=yes |
1426 --enable-static build static libraries default=no | 1440 --enable-static build static libraries default=no |
1427 --enable-auto-cleanup enable auto cleanup of libraries default=no | 1441 --enable-auto-cleanup enable auto cleanup of libraries default=no |
1428 --enable-draft enable draft APIs (and internal APIs) default=yes | 1442 --enable-draft enable draft APIs (and internal APIs) default=yes |
1429 --enable-renaming add a version suffix to symbols default=yes | 1443 --enable-renaming add a version suffix to symbols default=yes |
1430 --enable-tracing enable function and data tracing default=no | 1444 --enable-tracing enable function and data tracing default=no |
| 1445 --enable-plugins enable plugins default=no |
1431 --disable-dyload disable dynamic loading default=no | 1446 --disable-dyload disable dynamic loading default=no |
1432 --enable-rpath use rpath when linking default is only if necessary | 1447 --enable-rpath use rpath when linking default is only if necessary |
1433 --enable-weak-threads weakly reference the threading library default=no | 1448 --enable-weak-threads weakly reference the threading library default=no |
1434 --enable-extras build ICU extras default=yes | 1449 --enable-extras build ICU extras default=yes |
1435 --enable-icuio build ICU's icuio library default=yes | 1450 --enable-icuio build ICU's icuio library default=yes |
1436 --enable-layout build ICU's DEPRECATED layout library default=yes | 1451 --enable-layout build ICU's DEPRECATED layout library default=yes |
1437 --enable-layoutex build ICU's Paragraph Layout library default=same-as
-layout. | 1452 --enable-layoutex build ICU's Paragraph Layout library default=same-as
-layout. |
1438 If not building with the ICU Layout library, then icu-le-hb must be
installed via pkg-config. | 1453 If not building with the ICU Layout library, then icu-le-hb must be
installed via pkg-config. |
1439 See http://harfbuzz.org | 1454 See http://harfbuzz.org |
1440 --enable-tools build ICU's tools default=yes | 1455 --enable-tools build ICU's tools default=yes |
(...skipping 21 matching lines...) Expand all Loading... |
1462 CC C compiler command | 1477 CC C compiler command |
1463 CFLAGS C compiler flags | 1478 CFLAGS C compiler flags |
1464 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1479 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1465 nonstandard directory <lib dir> | 1480 nonstandard directory <lib dir> |
1466 LIBS libraries to pass to the linker, e.g. -l<library> | 1481 LIBS libraries to pass to the linker, e.g. -l<library> |
1467 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1482 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1468 you have headers in a nonstandard directory <include dir> | 1483 you have headers in a nonstandard directory <include dir> |
1469 CXX C++ compiler command | 1484 CXX C++ compiler command |
1470 CXXFLAGS C++ compiler flags | 1485 CXXFLAGS C++ compiler flags |
1471 PKG_CONFIG path to pkg-config utility | 1486 PKG_CONFIG path to pkg-config utility |
| 1487 PKG_CONFIG_PATH |
| 1488 directories to add to pkg-config's search path |
| 1489 PKG_CONFIG_LIBDIR |
| 1490 path overriding pkg-config's built-in search path |
1472 ICULEHB_CFLAGS | 1491 ICULEHB_CFLAGS |
1473 C compiler flags for ICULEHB, overriding pkg-config | 1492 C compiler flags for ICULEHB, overriding pkg-config |
1474 ICULEHB_LIBS | 1493 ICULEHB_LIBS |
1475 linker flags for ICULEHB, overriding pkg-config | 1494 linker flags for ICULEHB, overriding pkg-config |
1476 CPP C preprocessor | 1495 CPP C preprocessor |
1477 | 1496 |
1478 Use these variables to override the choices made by `configure' or to help | 1497 Use these variables to override the choices made by `configure' or to help |
1479 it to find libraries and programs with nonstandard names/locations. | 1498 it to find libraries and programs with nonstandard names/locations. |
1480 | 1499 |
1481 Report bugs to <http://icu-project.org/bugs>. | 1500 Report bugs to <http://icu-project.org/bugs>. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 else | 1554 else |
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1555 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1537 fi || ac_status=$? | 1556 fi || ac_status=$? |
1538 cd "$ac_pwd" || { ac_status=$?; break; } | 1557 cd "$ac_pwd" || { ac_status=$?; break; } |
1539 done | 1558 done |
1540 fi | 1559 fi |
1541 | 1560 |
1542 test -n "$ac_init_help" && exit $ac_status | 1561 test -n "$ac_init_help" && exit $ac_status |
1543 if $ac_init_version; then | 1562 if $ac_init_version; then |
1544 cat <<\_ACEOF | 1563 cat <<\_ACEOF |
1545 ICU configure 54.1 | 1564 ICU configure 56.1 |
1546 generated by GNU Autoconf 2.69 | 1565 generated by GNU Autoconf 2.69 |
1547 | 1566 |
1548 Copyright (C) 2012 Free Software Foundation, Inc. | 1567 Copyright (C) 2012 Free Software Foundation, Inc. |
1549 This configure script is free software; the Free Software Foundation | 1568 This configure script is free software; the Free Software Foundation |
1550 gives unlimited permission to copy, distribute and modify it. | 1569 gives unlimited permission to copy, distribute and modify it. |
1551 | 1570 |
1552 Copyright (c) 1999-2014, International Business Machines Corporation and others
. All Rights Reserved. | 1571 Copyright (c) 1999-2015, International Business Machines Corporation and others
. All Rights Reserved. |
1553 _ACEOF | 1572 _ACEOF |
1554 exit | 1573 exit |
1555 fi | 1574 fi |
1556 | 1575 |
1557 ## ------------------------ ## | 1576 ## ------------------------ ## |
1558 ## Autoconf initialization. ## | 1577 ## Autoconf initialization. ## |
1559 ## ------------------------ ## | 1578 ## ------------------------ ## |
1560 | 1579 |
1561 # ac_fn_c_try_compile LINENO | 1580 # ac_fn_c_try_compile LINENO |
1562 # -------------------------- | 1581 # -------------------------- |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2227 eval ac_res=\$$3 | 2246 eval ac_res=\$$3 |
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2229 $as_echo "$ac_res" >&6; } | 2248 $as_echo "$ac_res" >&6; } |
2230 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2231 | 2250 |
2232 } # ac_fn_c_check_type | 2251 } # ac_fn_c_check_type |
2233 cat >config.log <<_ACEOF | 2252 cat >config.log <<_ACEOF |
2234 This file contains any messages produced by compilers while | 2253 This file contains any messages produced by compilers while |
2235 running configure, to aid debugging if configure makes a mistake. | 2254 running configure, to aid debugging if configure makes a mistake. |
2236 | 2255 |
2237 It was created by ICU $as_me 54.1, which was | 2256 It was created by ICU $as_me 56.1, which was |
2238 generated by GNU Autoconf 2.69. Invocation command line was | 2257 generated by GNU Autoconf 2.69. Invocation command line was |
2239 | 2258 |
2240 $ $0 $@ | 2259 $ $0 $@ |
2241 | 2260 |
2242 _ACEOF | 2261 _ACEOF |
2243 exec 5>>config.log | 2262 exec 5>>config.log |
2244 { | 2263 { |
2245 cat <<_ASUNAME | 2264 cat <<_ASUNAME |
2246 ## --------- ## | 2265 ## --------- ## |
2247 ## Platform. ## | 2266 ## Platform. ## |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3660 ac_ext=c | 3679 ac_ext=c |
3661 ac_cpp='$CPP $CPPFLAGS' | 3680 ac_cpp='$CPP $CPPFLAGS' |
3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3665 | 3684 |
3666 | 3685 |
3667 # pkg-config is needed for harfbuzz support | 3686 # pkg-config is needed for harfbuzz support |
3668 | 3687 |
3669 | 3688 |
| 3689 |
| 3690 |
| 3691 |
| 3692 |
| 3693 |
3670 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 3694 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3671 if test -n "$ac_tool_prefix"; then | 3695 if test -n "$ac_tool_prefix"; then |
3672 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args. | 3696 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a prog
ram name with args. |
3673 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 3697 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3675 $as_echo_n "checking for $ac_word... " >&6; } | 3699 $as_echo_n "checking for $ac_word... " >&6; } |
3676 if ${ac_cv_path_PKG_CONFIG+:} false; then : | 3700 if ${ac_cv_path_PKG_CONFIG+:} false; then : |
3677 $as_echo_n "(cached) " >&6 | 3701 $as_echo_n "(cached) " >&6 |
3678 else | 3702 else |
3679 case $PKG_CONFIG in | 3703 case $PKG_CONFIG in |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least
version $_pkg_min_version" >&5 | 3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least
version $_pkg_min_version" >&5 |
3773 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6;
} | 3797 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6;
} |
3774 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | 3798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3776 $as_echo "yes" >&6; } | 3800 $as_echo "yes" >&6; } |
3777 else | 3801 else |
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3779 $as_echo "no" >&6; } | 3803 $as_echo "no" >&6; } |
3780 PKG_CONFIG="" | 3804 PKG_CONFIG="" |
3781 fi | 3805 fi |
3782 | |
3783 fi | 3806 fi |
3784 | 3807 |
3785 pkg_failed=no | 3808 pkg_failed=no |
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICULEHB" >&5 | 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICULEHB" >&5 |
3787 $as_echo_n "checking for ICULEHB... " >&6; } | 3810 $as_echo_n "checking for ICULEHB... " >&6; } |
3788 | 3811 |
3789 if test -n "$ICULEHB_CFLAGS"; then | 3812 if test -n "$ICULEHB_CFLAGS"; then |
3790 pkg_cv_ICULEHB_CFLAGS="$ICULEHB_CFLAGS" | 3813 pkg_cv_ICULEHB_CFLAGS="$ICULEHB_CFLAGS" |
3791 elif test -n "$PKG_CONFIG"; then | 3814 elif test -n "$PKG_CONFIG"; then |
3792 if test -n "$PKG_CONFIG" && \ | 3815 if test -n "$PKG_CONFIG" && \ |
3793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-le-hb\""; } >&5 | 3816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-le-hb\""; } >&5 |
3794 ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5 | 3817 ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5 |
3795 ac_status=$? | 3818 ac_status=$? |
3796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3797 test $ac_status = 0; }; then | 3820 test $ac_status = 0; }; then |
3798 pkg_cv_ICULEHB_CFLAGS=`$PKG_CONFIG --cflags "icu-le-hb" 2>/dev/null` | 3821 pkg_cv_ICULEHB_CFLAGS=`$PKG_CONFIG --cflags "icu-le-hb" 2>/dev/null` |
| 3822 test "x$?" != "x0" && pkg_failed=yes |
3799 else | 3823 else |
3800 pkg_failed=yes | 3824 pkg_failed=yes |
3801 fi | 3825 fi |
3802 else | 3826 else |
3803 pkg_failed=untried | 3827 pkg_failed=untried |
3804 fi | 3828 fi |
3805 if test -n "$ICULEHB_LIBS"; then | 3829 if test -n "$ICULEHB_LIBS"; then |
3806 pkg_cv_ICULEHB_LIBS="$ICULEHB_LIBS" | 3830 pkg_cv_ICULEHB_LIBS="$ICULEHB_LIBS" |
3807 elif test -n "$PKG_CONFIG"; then | 3831 elif test -n "$PKG_CONFIG"; then |
3808 if test -n "$PKG_CONFIG" && \ | 3832 if test -n "$PKG_CONFIG" && \ |
3809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-le-hb\""; } >&5 | 3833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-err
ors \"icu-le-hb\""; } >&5 |
3810 ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5 | 3834 ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5 |
3811 ac_status=$? | 3835 ac_status=$? |
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3813 test $ac_status = 0; }; then | 3837 test $ac_status = 0; }; then |
3814 pkg_cv_ICULEHB_LIBS=`$PKG_CONFIG --libs "icu-le-hb" 2>/dev/null` | 3838 pkg_cv_ICULEHB_LIBS=`$PKG_CONFIG --libs "icu-le-hb" 2>/dev/null` |
| 3839 test "x$?" != "x0" && pkg_failed=yes |
3815 else | 3840 else |
3816 pkg_failed=yes | 3841 pkg_failed=yes |
3817 fi | 3842 fi |
3818 else | 3843 else |
3819 pkg_failed=untried | 3844 pkg_failed=untried |
3820 fi | 3845 fi |
3821 | 3846 |
3822 | 3847 |
3823 | 3848 |
3824 if test $pkg_failed = yes; then | 3849 if test $pkg_failed = yes; then |
| 3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3851 $as_echo "no" >&6; } |
3825 | 3852 |
3826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 3853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
3827 _pkg_short_errors_supported=yes | 3854 _pkg_short_errors_supported=yes |
3828 else | 3855 else |
3829 _pkg_short_errors_supported=no | 3856 _pkg_short_errors_supported=no |
3830 fi | 3857 fi |
3831 if test $_pkg_short_errors_supported = yes; then | 3858 if test $_pkg_short_errors_supported = yes; then |
3832 » ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "i
cu-le-hb" 2>&1` | 3859 » ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --
cflags --libs "icu-le-hb" 2>&1` |
3833 else | 3860 else |
3834 » ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors "icu-le-hb" 2>&1` | 3861 » ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
icu-le-hb" 2>&1` |
3835 fi | 3862 fi |
3836 # Put the nasty error message in config.log where it belongs | 3863 # Put the nasty error message in config.log where it belongs |
3837 echo "$ICULEHB_PKG_ERRORS" >&5 | 3864 echo "$ICULEHB_PKG_ERRORS" >&5 |
3838 | 3865 |
3839 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3866 » : |
| 3867 elif test $pkg_failed = untried; then |
| 3868 » { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3840 $as_echo "no" >&6; } | 3869 $as_echo "no" >&6; } |
3841 : | |
3842 elif test $pkg_failed = untried; then | |
3843 : | 3870 : |
3844 else | 3871 else |
3845 ICULEHB_CFLAGS=$pkg_cv_ICULEHB_CFLAGS | 3872 ICULEHB_CFLAGS=$pkg_cv_ICULEHB_CFLAGS |
3846 ICULEHB_LIBS=$pkg_cv_ICULEHB_LIBS | 3873 ICULEHB_LIBS=$pkg_cv_ICULEHB_LIBS |
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3848 $as_echo "yes" >&6; } | 3875 $as_echo "yes" >&6; } |
3849 have_icu_le_hb=true | 3876 have_icu_le_hb=true |
3850 fi | 3877 fi |
3851 | 3878 |
3852 # Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it cor
rectly based on (enable/disable) debug or release option | 3879 # Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it cor
rectly based on (enable/disable) debug or release option |
(...skipping 1822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5675 _ACEOF | 5702 _ACEOF |
5676 | 5703 |
5677 fi | 5704 fi |
5678 | 5705 |
5679 done | 5706 done |
5680 | 5707 |
5681 if test "x$ac_cv_header_elf_h" = "xyes"; then | 5708 if test "x$ac_cv_header_elf_h" = "xyes"; then |
5682 CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1"; | 5709 CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1"; |
5683 fi | 5710 fi |
5684 | 5711 |
| 5712 # Enable/disable plugins |
| 5713 # Check whether --enable-plugins was given. |
| 5714 if test "${enable_plugins+set}" = set; then : |
| 5715 enableval=$enable_plugins; case "${enableval}" in |
| 5716 yes) plugins=true ;; |
| 5717 no) plugins=false ;; |
| 5718 *) as_fn_error $? "bad value ${enableval} for --enable-plugins"
"$LINENO" 5 ;; |
| 5719 esac |
| 5720 else |
| 5721 plugins=false |
| 5722 fi |
| 5723 |
| 5724 |
| 5725 |
| 5726 if test "$plugins" = true; then |
| 5727 PLUGINS_TRUE= |
| 5728 U_HAVE_PLUGINS=1 |
| 5729 else |
| 5730 PLUGINS_TRUE='#' |
| 5731 U_HAVE_PLUGINS=0 |
| 5732 fi |
| 5733 |
| 5734 if test "x$plugins" = "xtrue"; then |
| 5735 UCONFIG_CPPFLAGS="$UCONFIG_CPPFLAGS -DUCONFIG_ENABLE_PLUGINS=1" |
| 5736 fi |
| 5737 |
| 5738 |
5685 U_ENABLE_DYLOAD=1 | 5739 U_ENABLE_DYLOAD=1 |
5686 enable=yes | 5740 enable=yes |
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic load
ing of plugins" >&5 | 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic load
ing of plugins. Ignored if plugins disabled." >&5 |
5688 $as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; } | 5742 $as_echo_n "checking whether to enable dynamic loading of plugins. Ignored if pl
ugins disabled.... " >&6; } |
5689 # Check whether --enable-dyload was given. | 5743 # Check whether --enable-dyload was given. |
5690 if test "${enable_dyload+set}" = set; then : | 5744 if test "${enable_dyload+set}" = set; then : |
5691 enableval=$enable_dyload; case "${enableval}" in | 5745 enableval=$enable_dyload; case "${enableval}" in |
5692 yes|"") | 5746 yes|"") |
5693 U_ENABLE_DYLOAD=1 | 5747 U_ENABLE_DYLOAD=1 |
5694 enable=yes | 5748 enable=yes |
5695 ;; | 5749 ;; |
5696 no) | 5750 no) |
5697 U_ENABLE_DYLOAD=0; | 5751 U_ENABLE_DYLOAD=0; |
5698 enable=no; | 5752 enable=no; |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5961 | 6015 |
5962 | 6016 |
5963 ac_ext=c | 6017 ac_ext=c |
5964 ac_cpp='$CPP $CPPFLAGS' | 6018 ac_cpp='$CPP $CPPFLAGS' |
5965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 6019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 6020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
5967 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 6021 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5968 | 6022 |
5969 | 6023 |
5970 # Always build ICU with multi-threading support. | 6024 # Always build ICU with multi-threading support. |
5971 threads=true | |
5972 ICU_USE_THREADS=1 | |
5973 OLD_LIBS=${LIBS} | 6025 OLD_LIBS=${LIBS} |
5974 | 6026 |
5975 if test $threads = true; then | 6027 # For Compaq Tru64 (OSF1), we must look for pthread_attr_init |
5976 # For Compaq Tru64 (OSF1), we must look for pthread_attr_init | 6028 # and must do this before seaching for pthread_mutex_destroy, or |
5977 # and must do this before seaching for pthread_mutex_destroy, or | 6029 # we will pick up libpthreads.so not libpthread.so |
5978 # we will pick up libpthreads.so not libpthread.so | 6030 # If this fails, then we must test for HPUX specials, before |
5979 # If this fails, then we must test for HPUX specials, before | 6031 # moving on to a more generic test |
5980 # moving on to a more generic test | |
5981 | 6032 |
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lp
thread" >&5 | 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpth
read" >&5 |
5983 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } | 6034 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
5984 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : | 6035 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : |
5985 $as_echo_n "(cached) " >&6 | 6036 $as_echo_n "(cached) " >&6 |
5986 else | 6037 else |
5987 ac_check_lib_save_LIBS=$LIBS | 6038 ac_check_lib_save_LIBS=$LIBS |
5988 LIBS="-lpthread $LIBS" | 6039 LIBS="-lpthread $LIBS" |
5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5990 /* end confdefs.h. */ | 6041 /* end confdefs.h. */ |
5991 | 6042 |
5992 /* Override any GCC internal prototype to avoid an error. | 6043 /* Override any GCC internal prototype to avoid an error. |
(...skipping 24 matching lines...) Expand all Loading... |
6017 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 6068 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
6018 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : | 6069 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : |
6019 cat >>confdefs.h <<_ACEOF | 6070 cat >>confdefs.h <<_ACEOF |
6020 #define HAVE_LIBPTHREAD 1 | 6071 #define HAVE_LIBPTHREAD 1 |
6021 _ACEOF | 6072 _ACEOF |
6022 | 6073 |
6023 LIBS="-lpthread $LIBS" | 6074 LIBS="-lpthread $LIBS" |
6024 | 6075 |
6025 fi | 6076 fi |
6026 | 6077 |
6027 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then | 6078 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then |
6028 ICU_USE_THREADS=1 | 6079 : |
6029 else | 6080 else |
6030 # Locate the right library for POSIX threads. We look for the | 6081 # Locate the right library for POSIX threads. We look for the |
6031 # symbols in the libraries first, because on Solaris libc provides | 6082 # symbols in the libraries first, because on Solaris libc provides |
6032 # pthread_create but libpthread has the real code :( | 6083 # pthread_create but libpthread has the real code :( |
6033 # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread | 6084 # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread |
6034 # FreeBSD users may need libpthread if they do not have libc_r. | 6085 # FreeBSD users may need libpthread if they do not have libc_r. |
6035 | 6086 |
6036 | 6087 |
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread
_mutex_destroy" >&5 | 6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread
_mutex_destroy" >&5 |
6038 $as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; } | 6089 $as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; } |
6039 if ${ac_cv_search_pthread_mutex_destroy+:} false; then : | 6090 if ${ac_cv_search_pthread_mutex_destroy+:} false; then : |
6040 $as_echo_n "(cached) " >&6 | 6091 $as_echo_n "(cached) " >&6 |
6041 else | 6092 else |
6042 ac_func_search_save_LIBS="$LIBS" | 6093 ac_func_search_save_LIBS="$LIBS" |
6043 ac_cv_search_pthread_mutex_destroy="no" | 6094 ac_cv_search_pthread_mutex_destroy="no" |
6044 for i in pthread pthreads c_r ; do | 6095 for i in pthread pthreads c_r ; do |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6097 fi | 6148 fi |
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_des
troy" >&5 | 6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_des
troy" >&5 |
6099 $as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; } | 6150 $as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; } |
6100 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then | 6151 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then |
6101 test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_s
earch_pthread_mutex_destroy $LIBS" | 6152 test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_s
earch_pthread_mutex_destroy $LIBS" |
6102 | 6153 |
6103 else : | 6154 else : |
6104 | 6155 |
6105 fi | 6156 fi |
6106 | 6157 |
6107 if test "$ac_cv_search_pthread_mutex_destroy" != no; then | 6158 if test "$ac_cv_search_pthread_mutex_destroy" != no; then |
6108 ICU_USE_THREADS=1 | 6159 : |
6109 else | 6160 else |
6110 # For HP 11 | 6161 # For HP 11 |
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init i
n -lpthread" >&5 | 6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in
-lpthread" >&5 |
6112 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } | 6163 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } |
6113 if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : | 6164 if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : |
6114 $as_echo_n "(cached) " >&6 | 6165 $as_echo_n "(cached) " >&6 |
6115 else | 6166 else |
6116 ac_check_lib_save_LIBS=$LIBS | 6167 ac_check_lib_save_LIBS=$LIBS |
6117 LIBS="-lpthread $LIBS" | 6168 LIBS="-lpthread $LIBS" |
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6119 /* end confdefs.h. */ | 6170 /* end confdefs.h. */ |
6120 | 6171 |
6121 /* Override any GCC internal prototype to avoid an error. | 6172 /* Override any GCC internal prototype to avoid an error. |
(...skipping 24 matching lines...) Expand all Loading... |
6146 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } | 6197 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } |
6147 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : | 6198 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : |
6148 cat >>confdefs.h <<_ACEOF | 6199 cat >>confdefs.h <<_ACEOF |
6149 #define HAVE_LIBPTHREAD 1 | 6200 #define HAVE_LIBPTHREAD 1 |
6150 _ACEOF | 6201 _ACEOF |
6151 | 6202 |
6152 LIBS="-lpthread $LIBS" | 6203 LIBS="-lpthread $LIBS" |
6153 | 6204 |
6154 fi | 6205 fi |
6155 | 6206 |
6156 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then | 6207 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then |
6157 ICU_USE_THREADS=1 | 6208 : |
6158 fi | |
6159 fi | 6209 fi |
| 6210 fi |
6160 | 6211 |
6161 ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_
lock" | 6212 ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lo
ck" |
6162 if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then : | 6213 if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then : |
6163 | 6214 |
6164 fi | 6215 fi |
6165 | 6216 |
6166 | 6217 |
6167 if test $ac_cv_func_pthread_mutex_lock = yes; then | 6218 if test $ac_cv_func_pthread_mutex_lock = yes; then |
6168 ICU_USE_THREADS=1 | 6219 : |
6169 fi | |
6170 fi | 6220 fi |
6171 # Check to see if we are using CygWin with MSVC | 6221 fi |
6172 case "${host}" in | 6222 # Check to see if we are using CygWin with MSVC |
6173 *-pc-cygwin*|*-pc-mingw*) | 6223 case "${host}" in |
6174 # For gcc, the thread options are set by mh-mingw/mh-cygwin | 6224 *-pc-cygwin*|*-pc-mingw*) |
6175 # For msvc, the thread options are set by runConfigureICU | 6225 # For gcc, the thread options are set by mh-mingw/mh-cygwin |
6176 ICU_USE_THREADS=1 | 6226 # For msvc, the thread options are set by runConfigureICU |
6177 ;; | 6227 : |
6178 *-*-hpux*) | 6228 ;; |
6179 # Add -mt because it does several nice things on newer compilers. | 6229 *-*-hpux*) |
6180 case "${icu_cv_host_frag}" in | 6230 # Add -mt because it does several nice things on newer compilers. |
6181 mh-hpux-acc) | 6231 case "${icu_cv_host_frag}" in |
6182 OLD_CXXFLAGS="${CXXFLAGS}" | 6232 mh-hpux-acc) |
6183 CXXFLAGS="${CXXFLAGS} -mt" | 6233 OLD_CXXFLAGS="${CXXFLAGS}" |
6184 if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then | 6234 CXXFLAGS="${CXXFLAGS} -mt" |
6185 CXXFLAGS="${OLD_CXXFLAGS}" | 6235 if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then |
6186 else | 6236 CXXFLAGS="${OLD_CXXFLAGS}" |
6187 UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt" | 6237 else |
6188 fi | 6238 UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt" |
6189 ;; | 6239 fi |
6190 esac | |
6191 ;; | |
6192 *-*-solaris*) | |
6193 case "${icu_cv_host_frag}" in | |
6194 mh-solaris) | |
6195 LIBS="${LIBS} -mt" | |
6196 ;; | |
6197 esac | |
6198 ;; | 6240 ;; |
6199 esac | 6241 esac |
6200 fi | 6242 ;; |
| 6243 *-*-solaris*) |
| 6244 case "${icu_cv_host_frag}" in |
| 6245 mh-solaris) |
| 6246 LIBS="${LIBS} -mt" |
| 6247 ;; |
| 6248 esac |
| 6249 ;; |
| 6250 esac |
6201 | 6251 |
6202 # Check whether --enable-weak-threads was given. | 6252 # Check whether --enable-weak-threads was given. |
6203 if test "${enable_weak_threads+set}" = set; then : | 6253 if test "${enable_weak_threads+set}" = set; then : |
6204 enableval=$enable_weak_threads; case "${enableval}" in | 6254 enableval=$enable_weak_threads; case "${enableval}" in |
6205 yes) | 6255 yes) |
6206 LIB_THREAD="${LIBS%${OLD_LIBS}}" | 6256 LIB_THREAD="${LIBS%${OLD_LIBS}}" |
6207 LIBS=${OLD_LIBS} | 6257 LIBS=${OLD_LIBS} |
6208 ;; | 6258 ;; |
6209 no) ;; | 6259 no) ;; |
6210 *) as_fn_error $? "bad value ${enableval} for --enable-weak-thre
ads" "$LINENO" 5 ;; | 6260 *) as_fn_error $? "bad value ${enableval} for --enable-weak-thre
ads" "$LINENO" 5 ;; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6278 X*) GENCCODE_ASSEMBLY="-a sun-x86" ;; | 6328 X*) GENCCODE_ASSEMBLY="-a sun-x86" ;; |
6279 esac | 6329 esac |
6280 unset asv | 6330 unset asv |
6281 else | 6331 else |
6282 GENCCODE_ASSEMBLY="-a sun-x86" | 6332 GENCCODE_ASSEMBLY="-a sun-x86" |
6283 fi ;; | 6333 fi ;; |
6284 sparc-*-solaris*) | 6334 sparc-*-solaris*) |
6285 GENCCODE_ASSEMBLY="-a sun" | 6335 GENCCODE_ASSEMBLY="-a sun" |
6286 ;; | 6336 ;; |
6287 ia64-*-hpux*) | 6337 ia64-*-hpux*) |
6288 GENCCODE_ASSEMBLY="-a aCC-ia64" | 6338 # There has been some issues with building ICU data on HPUX ia64 aCC |
| 6339 # when using the assemble code setting below. For now, build without |
| 6340 # assemble code for this platform. This will increase the build time. |
| 6341 # GENCCODE_ASSEMBLY="-a aCC-ia64" |
6289 ;; | 6342 ;; |
6290 esac | 6343 esac |
6291 | 6344 |
6292 | 6345 |
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5 | 6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5 |
6294 $as_echo "$GENCCODE_ASSEMBLY" >&6; } | 6347 $as_echo "$GENCCODE_ASSEMBLY" >&6; } |
6295 | 6348 |
6296 # Checks for header files | 6349 # Checks for header files |
6297 for ac_header in inttypes.h | 6350 for ac_header in inttypes.h |
6298 do : | 6351 do : |
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7420 enableval=$enable_extras; case "${enableval}" in | 7473 enableval=$enable_extras; case "${enableval}" in |
7421 yes) extras=true ;; | 7474 yes) extras=true ;; |
7422 no) extras=false ;; | 7475 no) extras=false ;; |
7423 *) as_fn_error $? "bad value ${enableval} for --enable-extras" "
$LINENO" 5 ;; | 7476 *) as_fn_error $? "bad value ${enableval} for --enable-extras" "
$LINENO" 5 ;; |
7424 esac | 7477 esac |
7425 else | 7478 else |
7426 extras=true | 7479 extras=true |
7427 fi | 7480 fi |
7428 | 7481 |
7429 | 7482 |
| 7483 |
7430 if test "$extras" = true; then | 7484 if test "$extras" = true; then |
7431 EXTRAS_TRUE= | 7485 EXTRAS_TRUE= |
| 7486 U_HAVE_EXTRAS=1 |
7432 else | 7487 else |
7433 EXTRAS_TRUE='#' | 7488 EXTRAS_TRUE='#' |
| 7489 U_HAVE_EXTRAS=0 |
7434 fi | 7490 fi |
7435 # Check whether --enable-icuio was given. | 7491 # Check whether --enable-icuio was given. |
7436 if test "${enable_icuio+set}" = set; then : | 7492 if test "${enable_icuio+set}" = set; then : |
7437 enableval=$enable_icuio; case "${enableval}" in | 7493 enableval=$enable_icuio; case "${enableval}" in |
7438 yes) icuio=true ;; | 7494 yes) icuio=true ;; |
7439 no) icuio=false ;; | 7495 no) icuio=false ;; |
7440 *) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$
LINENO" 5 ;; | 7496 *) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$
LINENO" 5 ;; |
7441 esac | 7497 esac |
7442 else | 7498 else |
7443 icuio=true | 7499 icuio=true |
7444 fi | 7500 fi |
7445 | 7501 |
7446 | 7502 |
| 7503 |
7447 if test "$icuio" = true; then | 7504 if test "$icuio" = true; then |
7448 ICUIO_TRUE= | 7505 ICUIO_TRUE= |
| 7506 U_HAVE_ICUIO=1 |
7449 else | 7507 else |
7450 ICUIO_TRUE='#' | 7508 ICUIO_TRUE='#' |
| 7509 U_HAVE_ICUIO=0 |
7451 fi | 7510 fi |
7452 | 7511 |
7453 # Enable/disable layout | 7512 # Enable/disable layout |
7454 # Check whether --enable-layout was given. | 7513 # Check whether --enable-layout was given. |
7455 if test "${enable_layout+set}" = set; then : | 7514 if test "${enable_layout+set}" = set; then : |
7456 enableval=$enable_layout; case "${enableval}" in | 7515 enableval=$enable_layout; case "${enableval}" in |
7457 yes) layout=true ;; | 7516 yes) layout=true ;; |
7458 no) layout=false ;; | 7517 no) layout=false ;; |
7459 *) as_fn_error $? "bad value ${enableval} for --enable-layout" "
$LINENO" 5 ;; | 7518 *) as_fn_error $? "bad value ${enableval} for --enable-layout" "
$LINENO" 5 ;; |
7460 esac | 7519 esac |
7461 else | 7520 else |
7462 layout=true | 7521 layout=true |
7463 fi | 7522 fi |
7464 | 7523 |
7465 | 7524 |
| 7525 |
7466 if test "$layout" = true; then | 7526 if test "$layout" = true; then |
7467 LAYOUT_TRUE= | 7527 LAYOUT_TRUE= |
| 7528 U_HAVE_LAYOUT=1 |
7468 else | 7529 else |
7469 LAYOUT_TRUE='#' | 7530 LAYOUT_TRUE='#' |
| 7531 U_HAVE_LAYOUT=0 |
7470 fi | 7532 fi |
7471 | 7533 |
7472 # Enable/disable layoutex | 7534 # Enable/disable layoutex |
7473 # Check whether --enable-layoutex was given. | 7535 # Check whether --enable-layoutex was given. |
7474 if test "${enable_layoutex+set}" = set; then : | 7536 if test "${enable_layoutex+set}" = set; then : |
7475 enableval=$enable_layoutex; case "${enableval}" in | 7537 enableval=$enable_layoutex; case "${enableval}" in |
7476 yes) layoutex=true ;; | 7538 yes) layoutex=true ;; |
7477 no) layoutex=false ;; | 7539 no) layoutex=false ;; |
7478 *) as_fn_error $? "bad value ${enableval} for --enable-layoutex"
"$LINENO" 5 ;; | 7540 *) as_fn_error $? "bad value ${enableval} for --enable-layoutex"
"$LINENO" 5 ;; |
7479 esac | 7541 esac |
7480 else | 7542 else |
7481 layoutex=$layout | 7543 layoutex=$layout |
7482 fi | 7544 fi |
7483 | 7545 |
7484 | 7546 |
| 7547 |
7485 if test "$layoutex" = true; then | 7548 if test "$layoutex" = true; then |
7486 LAYOUTEX_TRUE= | 7549 LAYOUTEX_TRUE= |
| 7550 U_HAVE_LAYOUTEX=1 |
7487 else | 7551 else |
7488 LAYOUTEX_TRUE='#' | 7552 LAYOUTEX_TRUE='#' |
| 7553 U_HAVE_LAYOUTEX=0 |
7489 fi | 7554 fi |
7490 | 7555 |
7491 # Enable/disable tools | 7556 # Enable/disable tools |
7492 # Check whether --enable-tools was given. | 7557 # Check whether --enable-tools was given. |
7493 if test "${enable_tools+set}" = set; then : | 7558 if test "${enable_tools+set}" = set; then : |
7494 enableval=$enable_tools; case "${enableval}" in | 7559 enableval=$enable_tools; case "${enableval}" in |
7495 yes) tools=true ;; | 7560 yes) tools=true ;; |
7496 no) tools=false ;; | 7561 no) tools=false ;; |
7497 *) as_fn_error $? "bad value ${enableval} for --enable-tools" "$
LINENO" 5 ;; | 7562 *) as_fn_error $? "bad value ${enableval} for --enable-tools" "$
LINENO" 5 ;; |
7498 esac | 7563 esac |
7499 else | 7564 else |
7500 tools=true | 7565 tools=true |
7501 fi | 7566 fi |
7502 | 7567 |
7503 | 7568 |
| 7569 |
7504 if test "$tools" = true; then | 7570 if test "$tools" = true; then |
7505 TOOLS_TRUE= | 7571 TOOLS_TRUE= |
| 7572 U_HAVE_TOOLS=1 |
7506 else | 7573 else |
7507 TOOLS_TRUE='#' | 7574 TOOLS_TRUE='#' |
| 7575 U_HAVE_TOOLS=0 |
7508 fi | 7576 fi |
7509 | 7577 |
7510 | 7578 |
7511 # Check whether --with-data-packaging was given. | 7579 # Check whether --with-data-packaging was given. |
7512 if test "${with_data_packaging+set}" = set; then : | 7580 if test "${with_data_packaging+set}" = set; then : |
7513 withval=$with_data_packaging; case "${withval}" in | 7581 withval=$with_data_packaging; case "${withval}" in |
7514 files|archive|library) datapackaging=$withval ;; | 7582 files|archive|library) datapackaging=$withval ;; |
7515 auto) datapackaging=$withval ;; | 7583 auto) datapackaging=$withval ;; |
7516 common) datapackaging=archive ;; | 7584 common) datapackaging=archive ;; |
7517 dll) datapackaging=library ;; | 7585 dll) datapackaging=library ;; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7616 enableval=$enable_tests; case "${enableval}" in | 7684 enableval=$enable_tests; case "${enableval}" in |
7617 yes) tests=true ;; | 7685 yes) tests=true ;; |
7618 no) tests=false ;; | 7686 no) tests=false ;; |
7619 *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$
LINENO" 5 ;; | 7687 *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$
LINENO" 5 ;; |
7620 esac | 7688 esac |
7621 else | 7689 else |
7622 tests=true | 7690 tests=true |
7623 fi | 7691 fi |
7624 | 7692 |
7625 | 7693 |
| 7694 |
7626 if test "$tests" = true; then | 7695 if test "$tests" = true; then |
7627 TESTS_TRUE= | 7696 TESTS_TRUE= |
| 7697 U_HAVE_TESTS=1 |
7628 else | 7698 else |
7629 TESTS_TRUE='#' | 7699 TESTS_TRUE='#' |
| 7700 U_HAVE_TESTS=0 |
7630 fi | 7701 fi |
7631 | 7702 |
7632 # Enable/disable samples | 7703 # Enable/disable samples |
7633 # Check whether --enable-samples was given. | 7704 # Check whether --enable-samples was given. |
7634 if test "${enable_samples+set}" = set; then : | 7705 if test "${enable_samples+set}" = set; then : |
7635 enableval=$enable_samples; case "${enableval}" in | 7706 enableval=$enable_samples; case "${enableval}" in |
7636 yes) samples=true ;; | 7707 yes) samples=true ;; |
7637 no) samples=false ;; | 7708 no) samples=false ;; |
7638 *) as_fn_error $? "bad value ${enableval} for --enable-samples"
"$LINENO" 5 ;; | 7709 *) as_fn_error $? "bad value ${enableval} for --enable-samples"
"$LINENO" 5 ;; |
7639 esac | 7710 esac |
7640 else | 7711 else |
7641 samples=true | 7712 samples=true |
7642 fi | 7713 fi |
7643 | 7714 |
7644 | 7715 |
| 7716 |
7645 if test "$samples" = true; then | 7717 if test "$samples" = true; then |
7646 SAMPLES_TRUE= | 7718 SAMPLES_TRUE= |
| 7719 U_HAVE_SAMPLES=1 |
7647 else | 7720 else |
7648 SAMPLES_TRUE='#' | 7721 SAMPLES_TRUE='#' |
| 7722 U_HAVE_SAMPLES=0 |
7649 fi | 7723 fi |
7650 | 7724 |
7651 ICUDATA_CHAR=$U_ENDIAN_CHAR | 7725 ICUDATA_CHAR=$U_ENDIAN_CHAR |
7652 | 7726 |
7653 # Platform-specific Makefile setup | 7727 # Platform-specific Makefile setup |
7654 # set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform. | 7728 # set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform. |
7655 case "${host}" in | 7729 case "${host}" in |
7656 *-*-solaris*) platform=U_SOLARIS ;; | 7730 *-*-solaris*) platform=U_SOLARIS ;; |
7657 *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform
=U_LINUX ;; | 7731 *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform
=U_LINUX ;; |
7658 *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;; | 7732 *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;; |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8257 ## Main body of $CONFIG_STATUS script. ## | 8331 ## Main body of $CONFIG_STATUS script. ## |
8258 ## ----------------------------------- ## | 8332 ## ----------------------------------- ## |
8259 _ASEOF | 8333 _ASEOF |
8260 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 8334 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
8261 | 8335 |
8262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 8336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8263 # Save the log message, to keep $0 and so on meaningful, and to | 8337 # Save the log message, to keep $0 and so on meaningful, and to |
8264 # report actual input values of CONFIG_FILES etc. instead of their | 8338 # report actual input values of CONFIG_FILES etc. instead of their |
8265 # values after options handling. | 8339 # values after options handling. |
8266 ac_log=" | 8340 ac_log=" |
8267 This file was extended by ICU $as_me 54.1, which was | 8341 This file was extended by ICU $as_me 56.1, which was |
8268 generated by GNU Autoconf 2.69. Invocation command line was | 8342 generated by GNU Autoconf 2.69. Invocation command line was |
8269 | 8343 |
8270 CONFIG_FILES = $CONFIG_FILES | 8344 CONFIG_FILES = $CONFIG_FILES |
8271 CONFIG_HEADERS = $CONFIG_HEADERS | 8345 CONFIG_HEADERS = $CONFIG_HEADERS |
8272 CONFIG_LINKS = $CONFIG_LINKS | 8346 CONFIG_LINKS = $CONFIG_LINKS |
8273 CONFIG_COMMANDS = $CONFIG_COMMANDS | 8347 CONFIG_COMMANDS = $CONFIG_COMMANDS |
8274 $ $0 $@ | 8348 $ $0 $@ |
8275 | 8349 |
8276 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 8350 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
8277 " | 8351 " |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8311 Configuration files: | 8385 Configuration files: |
8312 $config_files | 8386 $config_files |
8313 | 8387 |
8314 Report bugs to <http://icu-project.org/bugs>. | 8388 Report bugs to <http://icu-project.org/bugs>. |
8315 ICU home page: <http://icu-project.org>." | 8389 ICU home page: <http://icu-project.org>." |
8316 | 8390 |
8317 _ACEOF | 8391 _ACEOF |
8318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8319 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`" | 8393 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g
'`" |
8320 ac_cs_version="\\ | 8394 ac_cs_version="\\ |
8321 ICU config.status 54.1 | 8395 ICU config.status 56.1 |
8322 configured by $0, generated by GNU Autoconf 2.69, | 8396 configured by $0, generated by GNU Autoconf 2.69, |
8323 with options \\"\$ac_cs_config\\" | 8397 with options \\"\$ac_cs_config\\" |
8324 | 8398 |
8325 Copyright (C) 2012 Free Software Foundation, Inc. | 8399 Copyright (C) 2012 Free Software Foundation, Inc. |
8326 This config.status script is free software; the Free Software Foundation | 8400 This config.status script is free software; the Free Software Foundation |
8327 gives unlimited permission to copy, distribute and modify it." | 8401 gives unlimited permission to copy, distribute and modify it." |
8328 | 8402 |
8329 ac_pwd='$ac_pwd' | 8403 ac_pwd='$ac_pwd' |
8330 srcdir='$srcdir' | 8404 srcdir='$srcdir' |
8331 INSTALL='$INSTALL' | 8405 INSTALL='$INSTALL' |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9027 echo "C++ apps may want to build with CXXFLAGS = ${UCONFIG_CXXFLAGS}" | 9101 echo "C++ apps may want to build with CXXFLAGS = ${UCONFIG_CXXFLAGS}" |
9028 fi | 9102 fi |
9029 | 9103 |
9030 if test "$tools" = false; | 9104 if test "$tools" = false; |
9031 then | 9105 then |
9032 echo "## Note: you have disabled ICU's tools. This ICU cannot build its
own data or tests." | 9106 echo "## Note: you have disabled ICU's tools. This ICU cannot build its
own data or tests." |
9033 echo "## Expect build failures in the 'data', 'test', and other director
ies." | 9107 echo "## Expect build failures in the 'data', 'test', and other director
ies." |
9034 fi | 9108 fi |
9035 | 9109 |
9036 $as_unset _CXX_CXXSUFFIX | 9110 $as_unset _CXX_CXXSUFFIX |
OLD | NEW |