#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ICU 55.1.
+# Generated by GNU Autoconf 2.69 for ICU 57.1.
#
# Report bugs to <http://icu-project.org/bugs>.
#
# Identity of this package.
PACKAGE_NAME='ICU'
PACKAGE_TARNAME='International Components for Unicode'
-PACKAGE_VERSION='55.1'
-PACKAGE_STRING='ICU 55.1'
+PACKAGE_VERSION='57.1'
+PACKAGE_STRING='ICU 57.1'
PACKAGE_BUGREPORT='http://icu-project.org/bugs'
PACKAGE_URL='http://icu-project.org'
platform_make_fragment_name
platform
ICUDATA_CHAR
+U_HAVE_SAMPLES
SAMPLES_TRUE
+U_HAVE_TESTS
TESTS_TRUE
ICULIBSUFFIXCNAME
U_HAVE_LIB_SUFFIX
DATA_PACKAGING_MODE
thepkgicudatadir
pkgicudatadir
+U_HAVE_TOOLS
TOOLS_TRUE
+U_HAVE_LAYOUTEX
LAYOUTEX_TRUE
+U_HAVE_LAYOUT
LAYOUT_TRUE
+U_HAVE_ICUIO
ICUIO_TRUE
+U_HAVE_EXTRAS
EXTRAS_TRUE
U_HAVE_WCSCPY
U_HAVE_WCHAR_H
U_HAVE_STD_STRING
ENABLE_RPATH
U_ENABLE_DYLOAD
+U_HAVE_PLUGINS
+PLUGINS_TRUE
U_ENABLE_TRACING
U_DISABLE_RENAMING
AR
CPP
ICULEHB_LIBS
ICULEHB_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
PKG_CONFIG
ac_ct_CXX
CXXFLAGS
enable_draft
enable_renaming
enable_tracing
+enable_plugins
enable_dyload
enable_rpath
enable_weak_threads
CXXFLAGS
CCC
PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
ICULEHB_CFLAGS
ICULEHB_LIBS
CPP'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures ICU 55.1 to adapt to many kinds of systems.
+\`configure' configures ICU 57.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ICU 55.1:";;
+ short | recursive ) echo "Configuration of ICU 57.1:";;
esac
cat <<\_ACEOF
--enable-draft enable draft APIs (and internal APIs) default=yes
--enable-renaming add a version suffix to symbols default=yes
--enable-tracing enable function and data tracing default=no
+ --enable-plugins enable plugins default=no
--disable-dyload disable dynamic loading default=no
--enable-rpath use rpath when linking default is only if necessary
--enable-weak-threads weakly reference the threading library default=no
CXX C++ compiler command
CXXFLAGS C++ compiler flags
PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
ICULEHB_CFLAGS
C compiler flags for ICULEHB, overriding pkg-config
ICULEHB_LIBS
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ICU configure 55.1
+ICU configure 57.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
- Copyright (c) 1999-2014, International Business Machines Corporation and others. All Rights Reserved.
+ Copyright (c) 1999-2015, International Business Machines Corporation and others. All Rights Reserved.
_ACEOF
exit
fi
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ICU $as_me 55.1, which was
+It was created by ICU $as_me 57.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# pkg-config is needed for harfbuzz support
+
+
+
+
+
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
$as_echo "no" >&6; }
PKG_CONFIG=""
fi
-
fi
pkg_failed=no
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_ICULEHB_CFLAGS=`$PKG_CONFIG --cflags "icu-le-hb" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_ICULEHB_LIBS=`$PKG_CONFIG --libs "icu-le-hb" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "icu-le-hb" 2>&1`
+ ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-le-hb" 2>&1`
else
- ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors "icu-le-hb" 2>&1`
+ ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-le-hb" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$ICULEHB_PKG_ERRORS" >&5
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- :
+ :
elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
:
else
ICULEHB_CFLAGS=$pkg_cv_ICULEHB_CFLAGS
CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1";
fi
+# Enable/disable plugins
+# Check whether --enable-plugins was given.
+if test "${enable_plugins+set}" = set; then :
+ enableval=$enable_plugins; case "${enableval}" in
+ yes) plugins=true ;;
+ no) plugins=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-plugins" "$LINENO" 5 ;;
+ esac
+else
+ plugins=false
+fi
+
+
+
+if test "$plugins" = true; then
+ PLUGINS_TRUE=
+ U_HAVE_PLUGINS=1
+else
+ PLUGINS_TRUE='#'
+ U_HAVE_PLUGINS=0
+fi
+
+if test "x$plugins" = "xtrue"; then
+ UCONFIG_CPPFLAGS="$UCONFIG_CPPFLAGS -DUCONFIG_ENABLE_PLUGINS=1"
+fi
+
+
U_ENABLE_DYLOAD=1
enable=yes
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5
-$as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
+$as_echo_n "checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... " >&6; }
# Check whether --enable-dyload was given.
if test "${enable_dyload+set}" = set; then :
enableval=$enable_dyload; case "${enableval}" in
# Always build ICU with multi-threading support.
-threads=true
-ICU_USE_THREADS=1
OLD_LIBS=${LIBS}
-if test $threads = true; then
- # For Compaq Tru64 (OSF1), we must look for pthread_attr_init
- # and must do this before seaching for pthread_mutex_destroy, or
- # we will pick up libpthreads.so not libpthread.so
- # If this fails, then we must test for HPUX specials, before
- # moving on to a more generic test
+# For Compaq Tru64 (OSF1), we must look for pthread_attr_init
+# and must do this before seaching for pthread_mutex_destroy, or
+# we will pick up libpthreads.so not libpthread.so
+# If this fails, then we must test for HPUX specials, before
+# moving on to a more generic test
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
$as_echo_n "(cached) " >&6
fi
- if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
- ICU_USE_THREADS=1
- else
- # Locate the right library for POSIX threads. We look for the
- # symbols in the libraries first, because on Solaris libc provides
- # pthread_create but libpthread has the real code :(
- # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
- # FreeBSD users may need libpthread if they do not have libc_r.
+if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
+ :
+else
+ # Locate the right library for POSIX threads. We look for the
+ # symbols in the libraries first, because on Solaris libc provides
+ # pthread_create but libpthread has the real code :(
+ # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
+ # FreeBSD users may need libpthread if they do not have libc_r.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5
fi
- if test "$ac_cv_search_pthread_mutex_destroy" != no; then
- ICU_USE_THREADS=1
- else
- # For HP 11
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
+ if test "$ac_cv_search_pthread_mutex_destroy" != no; then
+ :
+ else
+ # For HP 11
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
$as_echo_n "(cached) " >&6
fi
- if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
- ICU_USE_THREADS=1
- fi
+ if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
+ :
fi
+ fi
- ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
+ ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :
fi
- if test $ac_cv_func_pthread_mutex_lock = yes; then
- ICU_USE_THREADS=1
- fi
+ if test $ac_cv_func_pthread_mutex_lock = yes; then
+ :
fi
- # Check to see if we are using CygWin with MSVC
- case "${host}" in
- *-pc-cygwin*|*-pc-mingw*)
- # For gcc, the thread options are set by mh-mingw/mh-cygwin
- # For msvc, the thread options are set by runConfigureICU
- ICU_USE_THREADS=1
- ;;
- *-*-hpux*)
- # Add -mt because it does several nice things on newer compilers.
- case "${icu_cv_host_frag}" in
- mh-hpux-acc)
- OLD_CXXFLAGS="${CXXFLAGS}"
- CXXFLAGS="${CXXFLAGS} -mt"
- if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
- CXXFLAGS="${OLD_CXXFLAGS}"
- else
- UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt"
- fi
- ;;
- esac
+fi
+# Check to see if we are using CygWin with MSVC
+case "${host}" in
+*-pc-cygwin*|*-pc-mingw*)
+ # For gcc, the thread options are set by mh-mingw/mh-cygwin
+ # For msvc, the thread options are set by runConfigureICU
+ :
+ ;;
+*-*-hpux*)
+ # Add -mt because it does several nice things on newer compilers.
+ case "${icu_cv_host_frag}" in
+ mh-hpux-acc)
+ OLD_CXXFLAGS="${CXXFLAGS}"
+ CXXFLAGS="${CXXFLAGS} -mt"
+ if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
+ CXXFLAGS="${OLD_CXXFLAGS}"
+ else
+ UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt"
+ fi
;;
- *-*-solaris*)
- case "${icu_cv_host_frag}" in
- mh-solaris)
- LIBS="${LIBS} -mt"
- ;;
- esac
+ esac
+ ;;
+*-*-solaris*)
+ case "${icu_cv_host_frag}" in
+ mh-solaris)
+ LIBS="${LIBS} -mt"
;;
esac
-fi
+ ;;
+esac
# Check whether --enable-weak-threads was given.
if test "${enable_weak_threads+set}" = set; then :
GENCCODE_ASSEMBLY="-a sun"
;;
ia64-*-hpux*)
- GENCCODE_ASSEMBLY="-a aCC-ia64"
+# There has been some issues with building ICU data on HPUX ia64 aCC
+# when using the assemble code setting below. For now, build without
+# assemble code for this platform. This will increase the build time.
+# GENCCODE_ASSEMBLY="-a aCC-ia64"
;;
esac
fi
+
if test "$extras" = true; then
EXTRAS_TRUE=
+ U_HAVE_EXTRAS=1
else
EXTRAS_TRUE='#'
+ U_HAVE_EXTRAS=0
fi
# Check whether --enable-icuio was given.
if test "${enable_icuio+set}" = set; then :
fi
+
if test "$icuio" = true; then
ICUIO_TRUE=
+ U_HAVE_ICUIO=1
else
ICUIO_TRUE='#'
+ U_HAVE_ICUIO=0
fi
# Enable/disable layout
fi
+
if test "$layout" = true; then
LAYOUT_TRUE=
+ U_HAVE_LAYOUT=1
else
LAYOUT_TRUE='#'
+ U_HAVE_LAYOUT=0
fi
# Enable/disable layoutex
fi
+
if test "$layoutex" = true; then
LAYOUTEX_TRUE=
+ U_HAVE_LAYOUTEX=1
else
LAYOUTEX_TRUE='#'
+ U_HAVE_LAYOUTEX=0
fi
# Enable/disable tools
fi
+
if test "$tools" = true; then
TOOLS_TRUE=
+ U_HAVE_TOOLS=1
else
TOOLS_TRUE='#'
+ U_HAVE_TOOLS=0
fi
fi
+
if test "$tests" = true; then
TESTS_TRUE=
+ U_HAVE_TESTS=1
else
TESTS_TRUE='#'
+ U_HAVE_TESTS=0
fi
# Enable/disable samples
fi
+
if test "$samples" = true; then
SAMPLES_TRUE=
+ U_HAVE_SAMPLES=1
else
SAMPLES_TRUE='#'
+ U_HAVE_SAMPLES=0
fi
ICUDATA_CHAR=$U_ENDIAN_CHAR
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ICU $as_me 55.1, which was
+This file was extended by ICU $as_me 57.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-ICU config.status 55.1
+ICU config.status 57.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"