1999-09-03 22:08:47 +00:00
dnl -*-m4-*-
1999-08-16 21:50:52 +00:00
dnl configure.in for ICU
2003-06-03 06:44:40 +00:00
dnl Copyright (c) 1999-2003, International Business Machines Corporation and
2000-01-17 19:48:20 +00:00
dnl others. All Rights Reserved.
2000-10-16 17:43:48 +00:00
dnl Stephen F. Booth, heavily modified by Yves and others
2003-12-14 18:06:34 +00:00
dnl $Id: configure.in,v 1.203 2003/12/14 18:06:32 grhoten-oss Exp $
1999-08-16 21:50:52 +00:00
dnl Process this file with autoconf to produce a configure script
2000-02-16 22:38:38 +00:00
AC_INIT(common/unicode/utypes.h)
1999-12-09 23:11:48 +00:00
1999-08-16 21:50:52 +00:00
AC_CONFIG_HEADER(common/icucfg.h)
PACKAGE="icu"
AC_SUBST(PACKAGE)
2000-10-13 18:27:39 +00:00
AC_MSG_CHECKING(for ICU version numbers)
2001-06-22 16:50:43 +00:00
dnl Get the ICU version from uversion.h or other headers
geticuversion() {
2002-04-26 18:45:17 +00:00
[sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"]
2001-06-22 16:50:43 +00:00
}
VERSION=`geticuversion $srcdir/common/unicode/uversion.h`
if test x"$VERSION" = x; then
VERSION=`geticuversion $srcdir/common/unicode/*.h`
if test x"$VERSION" = x; then
2002-04-26 18:45:17 +00:00
AC_MSG_ERROR([Cannot determine ICU version number from header files])
2001-06-22 16:50:43 +00:00
fi
fi
2000-10-13 18:29:14 +00:00
dnl Compute a reasonable library version from the release version. This is
dnl very bad, but that's wanted... We want to make sure that the LIB_VERSION
dnl has at least a dot in it, so we'll add a .0 if needed.
2002-04-26 18:45:17 +00:00
[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]
2000-10-13 18:29:14 +00:00
LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
2000-10-13 20:40:38 +00:00
AC_SUBST(VERSION)
2000-10-13 18:29:14 +00:00
AC_SUBST(LIB_VERSION)
AC_SUBST(LIB_VERSION_MAJOR)
AC_MSG_RESULT([release $VERSION, library $LIB_VERSION])
2000-10-13 18:27:39 +00:00
2003-03-04 00:52:47 +00:00
UNICODE_VERSION="4"
1999-11-23 04:49:35 +00:00
AC_SUBST(UNICODE_VERSION)
1999-08-16 21:50:52 +00:00
2000-01-06 20:14:26 +00:00
AC_SUBST(CPPFLAGS)
1999-08-16 21:50:52 +00:00
dnl Checks for programs
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
2000-11-09 23:03:25 +00:00
# make sure install is relative to srcdir - if a script
if test "$srcdir" = "."; then
# If srcdir isn't just ., then (srcdir) is already prepended.
if test "${ac_install_sh}" = "${INSTALL}"; then
INSTALL="\\\$(top_srcdir)/${ac_install_sh}"
fi
fi
1999-08-16 21:50:52 +00:00
AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
1999-11-23 04:49:35 +00:00
AC_CHECK_PROG(STRIP, strip, strip, true)
1999-08-16 21:50:52 +00:00
2000-07-11 22:25:51 +00:00
dnl Check for the platform make
2001-11-29 00:29:20 +00:00
AC_PATH_PROGS(U_MAKE, gmake gnumake, make)
2000-07-11 22:25:51 +00:00
AC_SUBST(U_MAKE)
2001-11-11 06:58:13 +00:00
dnl Check for doxygen to generate documentation
2001-11-11 07:22:54 +00:00
AC_PATH_PROG(DOXYGEN,doxygen,,$PATH:/usr/local/bin:/usr/bin)
2001-11-11 06:58:13 +00:00
1999-08-16 21:50:52 +00:00
dnl Determine the host system and Makefile fragment
AC_CANONICAL_HOST
2002-01-03 22:35:03 +00:00
AC_EXEEXT
2000-05-23 21:06:02 +00:00
2002-07-30 22:07:31 +00:00
dnl Determine how strict we want to be when compiling
AC_CHECK_STRICT_COMPILE
2001-11-28 04:10:53 +00:00
dnl Check if we can build and use 64-bit libraries
2002-03-22 22:46:46 +00:00
AC_CHECK_64BIT_LIBS
2002-03-21 01:26:40 +00:00
AC_SUBST(ARFLAGS)
2003-05-23 03:45:30 +00:00
AC_SUBST(COMPILE_LINK_ENVVAR)
2000-05-23 21:06:02 +00:00
1999-08-16 21:50:52 +00:00
ICU_CHECK_MH_FRAG
2000-05-23 21:06:02 +00:00
dnl Checks for libraries and other host specific stuff
1999-08-16 21:50:52 +00:00
dnl On HP/UX, don't link to -lm from a shared lib because it isn't
dnl PIC (at least on 10.2)
case "${host}" in
*-*-hpux*) AC_CHECK_LIB(m, floor, LIB_M="-lm") ;;
2000-05-23 21:06:02 +00:00
1999-08-16 21:50:52 +00:00
*) AC_CHECK_LIB(m, floor)
LIB_M="" ;;
esac
AC_SUBST(LIB_M)
2000-09-22 22:58:36 +00:00
dnl Check whether to build shared libraries
2000-10-20 05:48:22 +00:00
AC_MSG_CHECKING([whether to build shared libraries])
enabled=no
2000-09-22 22:58:36 +00:00
AC_ARG_ENABLE(shared,
2003-10-16 21:08:31 +00:00
[ --enable-shared build shared libraries [default=yes]],
2000-09-22 22:58:36 +00:00
[ case "${enableval}" in
2000-10-20 05:48:22 +00:00
yes|"") enabled=yes; ENABLE_SHARED=YES ;;
2002-01-08 22:10:21 +00:00
no);;
2000-09-22 22:58:36 +00:00
*) ;;
esac],
2002-01-08 22:10:21 +00:00
[enabled=yes; ENABLE_SHARED=YES]
2000-09-22 22:58:36 +00:00
)
2000-10-20 05:48:22 +00:00
AC_MSG_RESULT($enabled)
2000-09-22 22:58:36 +00:00
AC_SUBST(ENABLE_SHARED)
dnl Check whether to build static libraries
2000-10-20 05:48:22 +00:00
AC_MSG_CHECKING([whether to build static libraries])
enabled=no
2000-09-22 22:58:36 +00:00
AC_ARG_ENABLE(static,
2003-10-16 21:08:31 +00:00
[ --enable-static build static libraries [default=no]],
2000-09-22 22:58:36 +00:00
[ case "${enableval}" in
2000-10-20 05:48:22 +00:00
yes|"") enabled=yes; ENABLE_STATIC=YES ;;
2000-09-22 22:58:36 +00:00
no) ;;
*) ;;
esac],
)
2000-10-20 05:48:22 +00:00
AC_MSG_RESULT($enabled)
2000-09-22 22:58:36 +00:00
AC_SUBST(ENABLE_STATIC)
2003-10-16 21:08:31 +00:00
dnl Check whether to build debug libraries
AC_MSG_CHECKING([whether to build debug libraries])
enabled=no
ENABLE_DEBUG=0
AC_ARG_ENABLE(debug,
[ --enable-debug build debug libraries [default=no]],
[ case "${enableval}" in
yes|"") enabled=yes; ENABLE_DEBUG=1 ;;
*) ;;
esac],
)
AC_MSG_RESULT($enabled)
AC_SUBST(ENABLE_DEBUG)
dnl Check whether to build release libraries
AC_MSG_CHECKING([whether to build release libraries])
enabled=yes
ENABLE_RELEASE=1
AC_ARG_ENABLE(release,
[ --enable-release build release libraries [default=yes]],
[ case "${enableval}" in
no) enabled=no; ENABLE_RELEASE=0 ;;
*) ;;
esac],
)
AC_MSG_RESULT($enabled)
AC_SUBST(ENABLE_RELEASE)
2000-09-22 22:58:36 +00:00
AC_PROG_RANLIB
2002-03-12 03:51:04 +00:00
AC_PATH_PROG(AR,ar,[echo archiver ar not found re-run configure ; false],$PATH:/bin:/usr/bin:/usr/ccs/bin)
2000-09-22 22:58:36 +00:00
2002-02-13 20:27:53 +00:00
AC_MSG_CHECKING([whether to enable renaming of symbols])
enabled=yes
U_DISABLE_RENAMING=0
AC_ARG_ENABLE(renaming,
[ --enable-renaming add a version suffix to symbols [default=yes]],
[ case "${enableval}" in
yes|"") enabled=yes ;;
no) enabled=no; U_DISABLE_RENAMING=1 ;;
*) ;;
esac],
)
AC_MSG_RESULT($enabled)
AC_SUBST(U_DISABLE_RENAMING)
2001-08-10 20:50:07 +00:00
2003-12-13 00:10:45 +00:00
AC_MSG_CHECKING([whether to enable function and data tracing])
enabled=yes
U_ENABLE_TRACING=1
AC_ARG_ENABLE(tracing,
[ --enable-tracing enable function and data tracing [default=yes]],
[ case "${enableval}" in
yes|"") enabled=yes ;;
no) enabled=no; U_ENABLE_TRACING=0 ;;
*) ;;
esac],
)
AC_MSG_RESULT($enabled)
AC_SUBST(U_ENABLE_TRACING)
2000-10-03 18:27:36 +00:00
dnl Check whether to use the evil rpath or not
AC_ARG_ENABLE(rpath,
[ --enable-rpath use rpath when linking [default is only if necessary]],
[ case "${enableval}" in
yes|"") ENABLE_RPATH=YES ;;
no) ;;
*) ;;
esac],
[ENABLE_RPATH=NO]
)
AC_SUBST(ENABLE_RPATH)
2001-09-24 23:59:49 +00:00
dnl set up U_INLINE.
dnl Copy the definition of AC_C_INLINE, with slight mods.
dnl
2001-11-29 00:29:20 +00:00
AC_CACHE_CHECK([for definition of U_INLINE for C], ac_cv_c_inline,
2001-09-24 23:59:49 +00:00
[ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
AC_TRY_COMPILE(, [} $ac_kw foo() {], [ac_cv_c_inline=$ac_kw; break])
done
])
case "$ac_cv_c_inline" in
yes) U_INLINE= "inline" ;;
no ) U_INLINE= ;;
*) U_INLINE=$ac_cv_c_inline ;;
esac
AC_SUBST(U_INLINE)
1999-12-09 23:11:48 +00:00
threads=true
dnl Enable/disable threads
AC_ARG_ENABLE(threads,
2003-06-23 03:11:06 +00:00
[ --enable-threads build ICU with thread safety [default=yes]],
1999-12-09 23:11:48 +00:00
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
2000-09-15 23:32:52 +00:00
threads=true)
1999-12-09 23:11:48 +00:00
ICU_CONDITIONAL(THREADS, test "$threads" = true)
ICU_USE_THREADS=0
2002-08-09 17:20:56 +00:00
if test $threads = true; then
dnl For Compaq Tru64 (OSF1), we must look for pthread_attr_init
dnl and must do this before seaching for pthread_mutex_destroy, or
dnl we will pick up libpthreads.so not libpthread.so
dnl If this fails, then we must test for HPUX specials, before
dnl moving on to a more generic test
AC_CHECK_LIB(pthread, pthread_attr_init)
if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
ICU_USE_THREADS=1
else
2001-10-30 19:57:44 +00:00
dnl Locate the right library for POSIX threads. We look for the
dnl symbols in the libraries first, because on Solaris libc provides
dnl pthread_create but libpthread has the real code :(
2003-10-15 22:56:02 +00:00
dnl AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
2001-10-30 19:57:44 +00:00
dnl FreeBSD users may need libpthread if they do not have libc_r.
2003-10-15 22:56:02 +00:00
AC_SEARCH_LIBS_FIRST(pthread_mutex_destroy, pthread pthreads c_r )
2001-10-30 19:57:44 +00:00
if test "$ac_cv_search_pthread_mutex_destroy" != no; then
ICU_USE_THREADS=1
else
dnl For HP 11
AC_CHECK_LIB(pthread, pthread_mutex_init)
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
ICU_USE_THREADS=1
fi
2000-01-17 22:22:29 +00:00
fi
2001-10-30 19:57:44 +00:00
AC_CHECK_FUNC(pthread_mutex_lock)
2000-01-20 21:31:01 +00:00
2001-10-30 19:57:44 +00:00
if test $ac_cv_func_pthread_mutex_lock = yes; then
ICU_USE_THREADS=1
fi
2003-09-15 22:30:28 +00:00
dnl Check to see if we are using CygWin with MSVC
case "${host}" in
*-pc-cygwin*|*-pc-mingw*)
if test "$ac_cv_prog_gcc" = no; then
dnl We're using normal windows compilers. Threading is available.
ICU_USE_THREADS=1
fi ;;
esac
2001-10-30 19:57:44 +00:00
fi
2000-01-17 22:22:29 +00:00
fi
1999-08-16 21:50:52 +00:00
1999-12-09 23:11:48 +00:00
AC_SUBST(ICU_USE_THREADS)
2000-09-22 19:02:20 +00:00
dnl Check for mmap()
2001-11-30 01:02:04 +00:00
# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
# Do this check instead.
2001-10-30 23:41:05 +00:00
HAVE_MMAP=0
2001-11-28 04:10:53 +00:00
AC_MSG_CHECKING([for mmap])
AC_CACHE_VAL(ac_cv_func_mmap_ok,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
>>,
changequote([, ])dnl
2001-11-29 00:29:20 +00:00
[mmap((void *)0, 0, PROT_READ, 0, 0, 0);],
ac_cv_func_mmap_ok=yes,
ac_cv_func_mmap_ok=no)] )
2001-11-28 04:10:53 +00:00
AC_MSG_RESULT($ac_cv_func_mmap_ok)
if test $ac_cv_func_mmap_ok = yes
then
2000-09-22 19:02:20 +00:00
HAVE_MMAP=1
fi
AC_SUBST(HAVE_MMAP)
1999-08-16 21:50:52 +00:00
dnl Checks for header files
AC_CHECK_HEADERS(inttypes.h)
if test $ac_cv_header_inttypes_h = no; then
2001-10-30 23:41:05 +00:00
U_HAVE_INTTYPES_H=0
1999-08-16 21:50:52 +00:00
else
2001-10-30 23:41:05 +00:00
U_HAVE_INTTYPES_H=1
1999-08-16 21:50:52 +00:00
fi
2003-06-06 17:32:08 +00:00
if test "$CC" = ccc; then
2001-10-24 20:27:24 +00:00
AC_MSG_RESULT("C compiler set to CCC ${CC}" )
2001-10-23 02:14:05 +00:00
case "${host}" in
alpha*-*-*) U_HAVE_INTTYPES_H=0;
esac
fi
2000-06-30 21:35:03 +00:00
AC_SUBST(U_HAVE_INTTYPES_H)
1999-08-16 21:50:52 +00:00
2000-09-11 21:20:51 +00:00
AC_ARG_WITH(iostream,
2001-09-27 18:33:55 +00:00
[ --with-iostream=version specify the version of iostream to use (none, old, std, auto) [default=auto]],
2000-09-11 21:20:51 +00:00
[case "${withval}" in
2001-11-29 00:29:20 +00:00
none) streams=none ;;
2000-09-11 21:20:51 +00:00
old) streams=198506 ;;
std) streams=199711 ;;
2001-11-29 00:29:20 +00:00
auto) streams= ;;
2000-09-11 21:20:51 +00:00
*) AC_MSG_ERROR(bad value ${withval} for --with-iostream) ;;
esac],
[streams=])
2001-11-29 00:29:20 +00:00
U_IOSTREAM_SOURCE=0
2000-09-11 21:20:51 +00:00
if test x$streams != xnone
2000-04-25 21:18:35 +00:00
then
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
2002-04-26 18:45:17 +00:00
AC_MSG_CHECKING([iostream usability])
AC_TRY_COMPILE([#include <iostream>],[],
[ac_cv_header_iostream=yes],[ac_cv_header_iostream=no])
AC_MSG_RESULT($ac_cv_header_iostream)
2000-04-25 21:18:35 +00:00
if test $ac_cv_header_iostream = yes
then
U_IOSTREAM_SOURCE=199711
else
AC_CHECK_HEADER(iostream.h)
if test $ac_cv_header_iostream_h = yes; then
AC_MSG_CHECKING([whether ostream is really defined])
AC_CACHE_VAL(ac_cv_iostream_ok,
AC_TRY_LINK([#include <iostream.h>],[ostream &testout = cout; testout << "test" << endl;],ac_cv_iostream_ok=yes,ac_cv_iostream_ok=no))
AC_MSG_RESULT($ac_cv_iostream_ok)
if test $ac_cv_iostream_ok = yes
then
U_IOSTREAM_SOURCE=198506
fi
fi
fi
2000-09-11 21:20:51 +00:00
if test x$streams != x
then
if test $U_IOSTREAM_SOURCE -ge $streams
then
U_IOSTREAM_SOURCE=$streams
else
AC_MSG_ERROR(${withval} iostream is not available)
fi
fi
2000-04-25 21:18:35 +00:00
fi
AC_SUBST(U_IOSTREAM_SOURCE)
AC_LANG_RESTORE
1999-10-09 01:19:08 +00:00
dnl Check for endianness
2003-04-25 21:43:50 +00:00
AC_C_BIGENDIAN()
1999-10-09 01:19:08 +00:00
if test $ac_cv_c_bigendian = no; then
U_IS_BIG_ENDIAN=0
2000-11-22 05:08:51 +00:00
U_ENDIAN_CHAR="l"
1999-10-09 01:19:08 +00:00
else
U_IS_BIG_ENDIAN=1
2000-11-22 05:08:51 +00:00
U_ENDIAN_CHAR="b"
1999-10-09 01:19:08 +00:00
fi
AC_SUBST(U_IS_BIG_ENDIAN)
2000-10-05 19:33:35 +00:00
dnl Do various POSIX related checks
2000-10-17 16:31:36 +00:00
U_HAVE_NL_LANGINFO_CODESET=0
U_NL_LANGINFO_CODESET=-1
2000-10-05 19:33:35 +00:00
AC_CHECK_FUNC(nl_langinfo,[U_HAVE_NL_LANGINFO=1],[U_HAVE_NL_LANGINFO=0])
AC_SUBST(U_HAVE_NL_LANGINFO)
if test $U_HAVE_NL_LANGINFO -eq 1; then
2000-10-16 17:32:22 +00:00
AC_CACHE_CHECK([for nl_langinfo's argument to obtain the codeset],
2000-10-16 17:26:31 +00:00
ac_cv_nl_langinfo_codeset,
2000-10-16 17:32:22 +00:00
[ac_cv_nl_langinfo_codeset="unknown"
2000-10-16 17:26:31 +00:00
for a in CODESET _NL_CTYPE_CODESET_NAME; do
AC_TRY_LINK([#include <langinfo.h>],[nl_langinfo($a);],[ac_cv_nl_langinfo_codeset="$a"; break])]
done)
2000-10-17 16:31:36 +00:00
if test x$ac_cv_nl_langinfo_codeset != xunknown
2000-10-05 19:33:35 +00:00
then
2000-10-16 17:26:31 +00:00
U_HAVE_NL_LANGINFO_CODESET=1
U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset
2000-10-05 19:33:35 +00:00
fi
fi
2000-10-16 17:26:31 +00:00
AC_SUBST(U_HAVE_NL_LANGINFO_CODESET)
AC_SUBST(U_NL_LANGINFO_CODESET)
2001-10-09 17:52:43 +00:00
dnl Namespace support checks
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING([for namespace support])
2001-11-28 04:10:53 +00:00
AC_CACHE_VAL(ac_cv_namespace_ok,
2001-10-31 21:24:50 +00:00
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<namespace x_version {void f(){}};
namespace x = x_version;
using namespace x_version;
>>,
changequote([, ])dnl
[f();], ac_cv_namespace_ok=yes, ac_cv_namespace_ok=no)] )
2001-10-09 17:52:43 +00:00
AC_MSG_RESULT($ac_cv_namespace_ok)
U_HAVE_NAMESPACE=1
if test $ac_cv_namespace_ok = no
then
U_HAVE_NAMESPACE=0
fi
AC_SUBST(U_HAVE_NAMESPACE)
2002-07-30 20:55:20 +00:00
AC_MSG_CHECKING([for properly overriding new and delete])
2003-02-15 00:23:27 +00:00
U_OVERRIDE_CXX_ALLOCATION=0
U_HAVE_PLACEMENT_NEW=0
2002-07-30 20:55:20 +00:00
AC_CACHE_VAL(ac_cv_override_cxx_allocation_ok,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <stdlib.h>
class UObject {
void *operator new(size_t size) {return malloc(size);}
void *operator new[](size_t size) {return malloc(size);}
2003-02-15 00:23:27 +00:00
void operator delete(void *p) {free(p);}
void operator delete[](void *p) {free(p);}
2002-07-30 20:55:20 +00:00
};
>>,
changequote([, ])dnl
[], ac_cv_override_cxx_allocation_ok=yes, ac_cv_override_cxx_allocation_ok=no)] )
AC_MSG_RESULT($ac_cv_override_cxx_allocation_ok)
2003-02-15 00:23:27 +00:00
if test $ac_cv_override_cxx_allocation_ok = yes
2002-07-30 20:55:20 +00:00
then
2003-02-15 00:23:27 +00:00
U_OVERRIDE_CXX_ALLOCATION=1
AC_MSG_CHECKING([for placement new and delete])
AC_CACHE_VAL(ac_cv_override_placement_new_ok,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <stdlib.h>
class UObject {
void *operator new(size_t size) {return malloc(size);}
void *operator new[](size_t size) {return malloc(size);}
void operator delete(void *p) {free(p);}
void operator delete[](void *p) {free(p);}
void * operator new(size_t, void *ptr) { return ptr; }
void operator delete(void *, void *) {}
};
>>,
changequote([, ])dnl
[], ac_cv_override_placement_new_ok=yes, ac_cv_override_placement_new_ok=no)] )
AC_MSG_RESULT($ac_cv_override_placement_new_ok)
if test $ac_cv_override_placement_new_ok = yes
then
U_HAVE_PLACEMENT_NEW=1
fi
2002-07-30 20:55:20 +00:00
fi
AC_SUBST(U_OVERRIDE_CXX_ALLOCATION)
2003-02-15 00:23:27 +00:00
AC_SUBST(U_HAVE_PLACEMENT_NEW)
2002-07-30 20:55:20 +00:00
2001-10-09 17:52:43 +00:00
AC_LANG_C
2002-05-29 22:07:29 +00:00
AC_CHECK_FUNC(popen)
if test x$ac_cv_func_popen = xyes
then
U_HAVE_POPEN=1
else
U_HAVE_POPEN=0
fi
AC_SUBST(U_HAVE_POPEN)
2000-10-05 23:41:59 +00:00
AC_CHECK_FUNC(tzset)
if test x$ac_cv_func_tzset = xyes
then
U_TZSET=tzset
else
AC_CHECK_FUNC(_tzset)
if test x$ac_cv_func__tzset = xyes
then
U_TZSET=_tzset
fi
fi
AC_SUBST(U_TZSET)
AC_CACHE_CHECK(for tzname,ac_cv_var_tzname,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#ifndef __USE_POSIX
#define __USE_POSIX
#endif
#include <time.h>
#ifndef tzname /* For SGI. */
extern char *tzname[]; /* RS6000 and others reject char **tzname. */
#endif>>,
changequote([, ])dnl
[atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)])
if test $ac_cv_var_tzname = yes; then
U_TZNAME=tzname
else
AC_CACHE_CHECK(for _tzname,ac_cv_var__tzname,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <time.h>
extern char *_tzname[];
>>,
changequote([, ])dnl
[atoi(*_tzname);], ac_cv_var__tzname=yes, ac_cv_var__tzname=no)])
if test $ac_cv_var__tzname = yes; then
U_TZNAME=_tzname
fi
fi
AC_SUBST(U_TZNAME)
2001-10-19 22:18:43 +00:00
2000-10-05 23:41:59 +00:00
AC_CACHE_CHECK(for timezone,ac_cv_var_timezone,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#ifndef __USE_POSIX
#define __USE_POSIX
#endif
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <time.h>
>>,
changequote([, ])dnl
[timezone = 1;], ac_cv_var_timezone=yes, ac_cv_var_timezone=no)])
2001-10-22 19:05:28 +00:00
U_HAVE_TIMEZONE=0
2000-10-05 23:41:59 +00:00
if test $ac_cv_var_timezone = yes; then
U_TIMEZONE=timezone
2001-10-22 19:05:28 +00:00
U_HAVE_TIMEZONE=1
2000-10-05 23:41:59 +00:00
else
2000-10-09 18:04:44 +00:00
AC_CACHE_CHECK(for __timezone,ac_cv_var___timezone,
2000-10-05 23:41:59 +00:00
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <time.h>
>>,
changequote([, ])dnl
2000-10-09 18:04:44 +00:00
[__timezone = 1;], ac_cv_var___timezone=yes, ac_cv_var___timezone=no)])
if test $ac_cv_var___timezone = yes; then
U_TIMEZONE=__timezone
2001-10-22 19:05:28 +00:00
U_HAVE_TIMEZONE=1
2000-10-09 18:04:44 +00:00
else
AC_CACHE_CHECK(for _timezone,ac_cv_var__timezone,
[AC_TRY_LINK(
changequote(<<, >>)dnl
<<#include <time.h>
>>,
changequote([, ])dnl
[_timezone = 1;], ac_cv_var__timezone=yes, ac_cv_var__timezone=no)])
2000-10-05 23:41:59 +00:00
if test $ac_cv_var__timezone = yes; then
U_TIMEZONE=_timezone
2001-10-22 19:05:28 +00:00
U_HAVE_TIMEZONE=1
2000-10-05 23:41:59 +00:00
fi
2000-10-09 18:04:44 +00:00
fi
2000-10-05 23:41:59 +00:00
fi
2001-10-22 19:05:28 +00:00
AC_SUBST(U_HAVE_TIMEZONE)
2000-10-05 23:41:59 +00:00
AC_SUBST(U_TIMEZONE)
2000-04-06 23:36:17 +00:00
1999-08-16 21:50:52 +00:00
dnl Checks for typedefs
AC_CHECK_TYPE(int8_t,signed char)
AC_CHECK_TYPE(uint8_t,unsigned char)
AC_CHECK_TYPE(int16_t,signed short)
AC_CHECK_TYPE(uint16_t,unsigned short)
AC_CHECK_TYPE(int32_t,signed long)
AC_CHECK_TYPE(uint32_t,unsigned long)
2002-02-20 22:28:44 +00:00
AC_CHECK_TYPE(int64_t,signed long long)
AC_CHECK_TYPE(uint64_t,unsigned long long)
1999-08-16 21:50:52 +00:00
if test $ac_cv_type_int8_t = no; then
HAVE_INT8_T=0
else
HAVE_INT8_T=1
fi
AC_SUBST(HAVE_INT8_T)
if test $ac_cv_type_uint8_t = no; then
HAVE_UINT8_T=0
else
HAVE_UINT8_T=1
fi
AC_SUBST(HAVE_UINT8_T)
if test $ac_cv_type_int16_t = no; then
HAVE_INT16_T=0
else
HAVE_INT16_T=1
fi
AC_SUBST(HAVE_INT16_T)
if test $ac_cv_type_uint16_t = no; then
HAVE_UINT16_T=0
else
HAVE_UINT16_T=1
fi
AC_SUBST(HAVE_UINT16_T)
if test $ac_cv_type_int32_t = no; then
HAVE_INT32_T=0
else
HAVE_INT32_T=1
fi
AC_SUBST(HAVE_INT32_T)
if test $ac_cv_type_uint32_t = no; then
HAVE_UINT32_T=0
else
HAVE_UINT32_T=1
fi
AC_SUBST(HAVE_UINT32_T)
2001-10-12 22:33:02 +00:00
if test $ac_cv_type_int64_t = no; then
HAVE_INT64_T=0
1999-08-16 21:50:52 +00:00
else
2001-10-12 22:33:02 +00:00
HAVE_INT64_T=1
1999-08-16 21:50:52 +00:00
fi
2001-10-12 22:33:02 +00:00
AC_SUBST(HAVE_INT64_T)
if test $ac_cv_type_uint64_t = no; then
HAVE_UINT64_T=0
else
HAVE_UINT64_T=1
fi
AC_SUBST(HAVE_UINT64_T)
1999-08-16 21:50:52 +00:00
2002-01-23 16:42:10 +00:00
dnl Do various wchar_t related checks
AC_CHECK_HEADER(wchar.h)
if test "$ac_cv_header_wchar_h" = no
then
U_HAVE_WCHAR_H=0
U_HAVE_WCSCPY=0
else
AC_DEFINE(HAVE_WCHAR_H)
U_HAVE_WCHAR_H=1
dnl Some broken systems have wchar.h but not some of its functions...
2002-08-21 01:42:19 +00:00
AC_SEARCH_LIBS(wcscpy, wcs w)
2002-01-23 16:42:10 +00:00
if test "$ac_cv_search_wcscpy" != no; then
U_HAVE_WCSCPY=1
else
U_HAVE_WCSCPY=0
fi
fi
AC_SUBST(U_HAVE_WCHAR_H)
AC_SUBST(U_HAVE_WCSCPY)
2002-01-24 18:11:51 +00:00
ac_default_sizeof_wchar_t=4
AC_DO_CHECK_SIZEOF(wchar_t,$ac_default_sizeof_wchar_t,[
#if STDC_HEADERS
#include <stddef.h>
#endif
#if HAVE_WCHAR_H
#include <string.h>
#include <wchar.h>
#endif])
dnl We could set ac_cv_sizeof_wchar_t to the default if the check returned
dnl 0 (unknown) but we'd rather do it in the headers, so we know we had no
dnl clue at configure time.
U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
if test $U_SIZEOF_WCHAR_T = 0; then
if test $U_HAVE_WCHAR_H=1; then
AC_MSG_ERROR(There is wchar.h but the size of wchar_t is 0)
fi
fi
AC_SUBST(U_SIZEOF_WCHAR_T)
2000-09-15 05:05:51 +00:00
dnl Echo
ECHO_N=$ac_n
ECHO_C=$ac_c
AC_SUBST(ECHO_N)
AC_SUBST(ECHO_C)
1999-08-16 21:50:52 +00:00
dnl Enable/disable extras
AC_ARG_ENABLE(extras,
[ --enable-extras build ICU extras [default=yes]],
[case "${enableval}" in
yes) extras=true ;;
no) extras=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-extras) ;;
esac],
extras=true)
ICU_CONDITIONAL(EXTRAS, test "$extras" = true)
2001-09-19 23:43:43 +00:00
AC_ARG_ENABLE(extras,
[ --enable-ustdio build ICU's ustdio library [default=yes]],
[case "${enableval}" in
yes) ustdio=true ;;
no) ustdio=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-ustdio) ;;
esac],
ustdio=true)
ICU_CONDITIONAL(USTDIO, test "$ustdio" = true)
1999-08-16 21:50:52 +00:00
2000-12-01 18:50:37 +00:00
dnl Enable/disable layout
AC_ARG_ENABLE(layout,
2003-04-24 19:29:57 +00:00
[ --enable-layout build ICU's layout library [default=yes]],
2000-12-01 18:50:37 +00:00
[case "${enableval}" in
yes) layout=true ;;
no) layout=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-layout) ;;
esac],
2003-04-24 19:29:57 +00:00
layout=true)
2000-12-01 18:50:37 +00:00
ICU_CONDITIONAL(LAYOUT, test "$layout" = true)
2000-09-22 19:02:20 +00:00
AC_ARG_WITH(data-packaging,
[ --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) [default=auto]],
[case "${withval}" in
files|archive|library) datapackaging=$withval ;;
2000-09-22 19:21:38 +00:00
auto) datapackaging=$withval ;;
2001-12-21 17:45:55 +00:00
common) datapackaging=archive ;;
dll) datapackaging=library ;;
2000-09-22 19:02:20 +00:00
*) AC_MSG_ERROR(bad value ${withval} for --with-iostream) ;;
1999-11-23 04:49:35 +00:00
esac],
2000-09-22 19:02:20 +00:00
[datapackaging=])
1999-12-04 02:31:40 +00:00
2002-01-31 01:02:36 +00:00
thesysconfdir=`eval echo $sysconfdir`
AC_SUBST(thesysconfdir)
thedatadir=`eval echo $datadir`
AC_SUBST(thedatadir)
thelibdir=`test "x$exec_prefix" = xNONE && exec_prefix="$prefix"; eval echo $libdir`
AC_SUBST(thelibdir)
case $datapackaging in
common)
2002-01-31 04:24:36 +00:00
pkgicudatadir=$datadir
thepkgicudatadir=$thedatadir
2002-01-31 01:02:36 +00:00
;;
*)
2002-01-31 04:24:36 +00:00
pkgicudatadir=$libdir
thepkgicudatadir=$thelibdir
2002-01-31 01:02:36 +00:00
;;
esac
2002-01-31 04:24:36 +00:00
AC_SUBST(pkgicudatadir)
AC_SUBST(thepkgicudatadir)
2002-01-31 01:02:36 +00:00
dnl Shouldn't need the AC_SUBST
2000-09-22 19:21:38 +00:00
dnl Deprecated support for --enable-mapped
AC_ARG_ENABLE(mapped,,
[case "${enableval}" in
yes) mapped=archive ;;
no) mapped=library ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mapped; use --with-data-packaging now) ;;
esac],
[mapped=])
if test x"$mapped" != x; then
case $mapped in
archive)
AC_MSG_WARN(use --with-data-packaging=archive instead of --enable-mapped)
;;
library)
AC_MSG_WARN(use --with-data-packaging=library instead of --disable-mapped)
;;
esac
if test x"$datapackaging" != x -a x"$mapped" != x"$datapackaging"; then
AC_MSG_ERROR(conflicting values used for --with-data-packaging and deprecated --enable-mapped)
fi
2000-09-22 19:23:11 +00:00
datapackaging=$mapped
2000-09-22 19:21:38 +00:00
fi
if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then
2000-09-22 19:02:20 +00:00
datapackaging=library
fi
1999-12-04 02:31:40 +00:00
2000-09-22 19:02:20 +00:00
case "$datapackaging" in
files)
2001-06-06 23:32:41 +00:00
DATA_PACKAGING_CPPFLAGS=-DUDATA_FILES
2000-09-22 19:02:20 +00:00
DATA_PACKAGING_MODE=files
;;
archive)
2000-09-22 19:31:42 +00:00
DATA_PACKAGING_CPPFLAGS=-DUDATA_MAP
2000-09-22 19:02:20 +00:00
DATA_PACKAGING_MODE=common
;;
library)
DATA_PACKAGING_CPPFLAGS=-DUDATA_DLL
DATA_PACKAGING_MODE=dll
;;
esac
AC_SUBST(DATA_PACKAGING_CPPFLAGS)
AC_SUBST(DATA_PACKAGING_MODE)
1999-11-23 04:49:35 +00:00
2001-09-21 03:41:21 +00:00
dnl Sets a library suffix
AC_MSG_CHECKING([for a library suffix to use])
AC_ARG_WITH(library-suffix,
2001-11-10 03:14:20 +00:00
[ --with-library-suffix=suffix tag a suffix to the library names [default=]],
2001-09-21 03:41:21 +00:00
[ICULIBSUFFIX="${withval}"],
[ICULIBSUFFIX=])
msg=$ICULIBSUFFIX
2002-02-20 22:28:44 +00:00
if test "$msg" = ""; then
2001-09-21 03:41:21 +00:00
msg=none
fi
AC_MSG_RESULT($msg)
AC_SUBST(ICULIBSUFFIX)
2002-02-14 19:18:14 +00:00
changequote(<<, >>)dnl
2002-02-14 19:51:22 +00:00
if test "$ICULIBSUFFIX" != ""
then
2002-03-20 22:38:19 +00:00
U_HAVE_LIB_SUFFIX=1
2002-02-14 19:51:22 +00:00
ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/[^A-Za-z0-9_]/_/g'`
2002-03-20 22:38:19 +00:00
else
U_HAVE_LIB_SUFFIX=0
2002-02-14 19:51:22 +00:00
fi
2002-02-14 19:18:14 +00:00
changequote([, ])dnl
2002-03-20 22:38:19 +00:00
AC_SUBST(U_HAVE_LIB_SUFFIX)
2002-02-14 19:18:14 +00:00
AC_SUBST(ICULIBSUFFIXCNAME)
2001-09-21 03:41:21 +00:00
1999-08-16 21:50:52 +00:00
dnl Enable/disable tests
AC_ARG_ENABLE(tests,
[ --enable-tests build ICU tests [default=yes]],
[case "${enableval}" in
yes) tests=true ;;
no) tests=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;;
esac],
tests=true)
ICU_CONDITIONAL(TESTS, test "$tests" = true)
dnl Enable/disable samples
AC_ARG_ENABLE(samples,
1999-12-09 23:11:48 +00:00
[ --enable-samples build ICU samples [default=yes]
Additionally, the variable FORCE_LIBS may be set before calling configure. If set, it will REPLACE any automatic list of libraries.],
1999-08-16 21:50:52 +00:00
[case "${enableval}" in
yes) samples=true ;;
no) samples=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-samples) ;;
esac],
samples=true)
ICU_CONDITIONAL(SAMPLES, test "$samples" = true)
2000-11-22 05:08:51 +00:00
ICUDATA_CHAR=$U_ENDIAN_CHAR
1999-08-16 21:50:52 +00:00
dnl Platform-specific Makefile setup
2000-11-22 05:08:51 +00:00
dnl set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
1999-08-16 21:50:52 +00:00
case "${host}" in
2000-06-30 21:35:03 +00:00
*-*-solaris*) platform=U_SOLARIS ;;
*-*-linux*) platform=U_LINUX ;;
2001-11-26 21:47:42 +00:00
*-*-*bsd*) platform=U_BSD ;;
2003-12-14 18:06:34 +00:00
*-*-aix*) platform=U_AIX ;;
*-*-hpux*) platform=U_HPUX ;;
2003-03-15 02:22:07 +00:00
*-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
*-*-cygwin*|*-*-mingw*) platform=U_CYGWIN ;;
2001-11-01 17:28:18 +00:00
*-*ibm-openedition*|*-*-os390*) platform=OS390
2000-11-22 05:08:51 +00:00
ICUDATA_CHAR="e" ;;
*-*-os400*) platform=OS400
ICUDATA_CHAR="e" ;;
2003-03-15 02:22:07 +00:00
*-*-nto*) platform=U_QNX ;;
*-dec-osf*) platform=U_OSF ;;
2003-06-23 03:09:00 +00:00
*-*-beos) platform=U_BEOS ;;
2003-12-14 18:06:34 +00:00
*-*-irix*) platform=U_IRIX ;;
2003-06-23 23:16:10 +00:00
*-ncr-*) platform=U_MPRAS ;;
2003-03-15 02:22:07 +00:00
*-sequent-*) platform=PTX ;;
2000-06-30 21:35:03 +00:00
*) platform=U_UNKNOWN_PLATFORM ;;
1999-08-16 21:50:52 +00:00
esac
2000-11-22 05:08:51 +00:00
AC_SUBST(ICUDATA_CHAR)
1999-08-16 21:50:52 +00:00
AC_SUBST(platform)
2000-10-24 19:50:20 +00:00
platform_make_fragment_name="$icu_cv_host_frag"
platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"
AC_SUBST(platform_make_fragment_name)
AC_SUBST(platform_make_fragment)
1999-08-16 21:50:52 +00:00
dnl Handle -rpath options for shared library paths
case "${host}" in
*-*-solaris*) ld_rpath_suf=":" ;;
*-*-linux*) ld_rpath_suf=" " ;;
2001-11-26 21:47:42 +00:00
*-*-*bsd*) ld_rpath_suf=" " ;;
1999-08-16 21:50:52 +00:00
*-*-aix*) ld_rpath_suf="" ;;
*-*-hpux*) ld_rpath_suf=":" ;;
2001-11-01 17:28:18 +00:00
*-*ibm-openedition*|*-*-os390*) ld_rpath_suf="" ;;
2000-03-07 01:28:09 +00:00
*-*-os400*) ld_rpath_suf=" " ;;
2003-03-15 02:22:07 +00:00
*-sequent-*) ld_rpath_suf="" ;;
*-*-irix*) ld_rpath_suf=" " ;;
1999-08-16 21:50:52 +00:00
*) ld_rpath_suf="" ;;
esac
AC_SUBST(ld_rpath_suf)
dnl On HP/UX, main() functions compiled in C don't invoke
dnl static constructors in C++ libs. Hack around that here
dnl by renaming some .c files to .cpp
case "${host}" in
2000-08-16 17:02:34 +00:00
*-*-hpux*)
2003-10-15 23:12:24 +00:00
if test "${icu_cv_host_frag}" = "mh-hpux-cc"; then
2002-11-01 19:12:24 +00:00
for file in samples/date/date \
samples/cal/cal test/cintltst/cintltst \
tools/makeconv/makeconv tools/genrb/genrb \
tools/genrb/derb tools/genccode/genccode \
tools/gencmn/gencmn tools/gencmn/decmn \
tools/gencnval/gencnval tools/gennorm/gennorm \
tools/gennames/gennames tools/gentest/gentest \
2003-03-14 21:44:43 +00:00
tools/pkgdata/pkgdata tools/genprops/genprops \
2003-10-15 22:56:02 +00:00
tools/gensprep/gensprep
2002-11-01 19:12:24 +00:00
do
if test -f $file.c; then
mv $file.c $file.cpp
else
echo "# $file.c does not exist or is already renamed [warning]"
fi
done
fi
1999-08-16 21:50:52 +00:00
;;
esac
1999-12-09 23:11:48 +00:00
if test "${FORCE_LIBS}" != ""; then
echo " *** Overriding automatically chosen [LIBS=$LIBS], using instead [FORCE_LIBS=${FORCE_LIBS}]" 1>&6
LIBS=${FORCE_LIBS}
fi
1999-08-16 21:50:52 +00:00
2002-03-08 00:25:53 +00:00
if test "${AIX_SHLIB}" != ""; then
echo " *** setting AIX_SHLIB (AIX only) to ${AIX_SHLIB}]" 1>&6
else
AIX_SHLIB=makeC++SharedLib_r
fi
AC_SUBST(AIX_SHLIB)
2000-10-02 23:37:16 +00:00
dnl Now that we're done using CPPFLAGS etc. for tests, we can change it
dnl for build.
2000-10-03 18:27:36 +00:00
if test $ICU_USE_THREADS -ne 0
then
2000-10-20 06:17:23 +00:00
CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"
CFLAGS="$CFLAGS \$(THREADSCFLAGS)"
CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)"
2000-10-02 23:37:16 +00:00
fi
2000-01-19 07:23:50 +00:00
2000-01-22 01:41:16 +00:00
if test "$ac_cv_lib_dld_shl_load" = "yes"; then
2000-01-19 07:23:50 +00:00
CPPFLAGS="${CPPFLAGS} -DICU_USE_SHL_LOAD"
fi
2000-02-16 22:38:38 +00:00
2000-03-20 23:29:45 +00:00
dnl added for s/390 DLL loading detection
if test "$ac_cv_func_dllload" = "yes"; then
2000-03-20 23:34:54 +00:00
CPPFLAGS="${CPPFLAGS} -DICU_USE_SHL_LOAD"
2000-03-20 23:29:45 +00:00
fi
1999-08-16 21:50:52 +00:00
dnl output the Makefiles
2003-12-03 17:34:32 +00:00
AC_OUTPUT([icudefs.mk \
2000-10-25 22:26:17 +00:00
Makefile \
2002-01-24 17:35:04 +00:00
data/Makefile data/icupkg.inc \
2000-06-13 19:44:38 +00:00
common/Makefile config/Makefile.inc i18n/Makefile \
2000-11-28 21:01:17 +00:00
layout/Makefile \
2003-04-24 19:29:57 +00:00
layoutex/Makefile \
2002-03-16 19:55:16 +00:00
extra/Makefile extra/ustdio/Makefile \
2003-05-28 21:57:56 +00:00
extra/uconv/Makefile extra/scrptrun/Makefile
2001-08-10 20:50:07 +00:00
stubdata/Makefile \
1999-08-16 21:50:52 +00:00
tools/Makefile tools/ctestfw/Makefile tools/makeconv/Makefile \
2003-08-21 00:30:31 +00:00
tools/genrb/Makefile \
tools/genuca/Makefile \
tools/genccode/Makefile \
tools/gencmn/Makefile \
tools/gencnval/Makefile \
tools/gennames/Makefile \
2003-05-28 21:57:56 +00:00
tools/gentest/Makefile \
2001-06-21 18:45:45 +00:00
tools/gennorm/Makefile \
2001-08-17 01:53:38 +00:00
tools/genprops/Makefile \
2002-10-30 22:05:35 +00:00
tools/genpname/Makefile \
2002-06-25 17:23:07 +00:00
tools/genbrk/Makefile \
2003-07-25 00:08:14 +00:00
tools/gensprep/Makefile \
2003-08-21 00:30:31 +00:00
tools/icuswap/Makefile \
tools/pkgdata/Makefile \
tools/toolutil/Makefile \
2001-06-15 18:22:12 +00:00
tools/dumpce/Makefile \
2003-05-28 21:57:56 +00:00
test/Makefile test/testdata/Makefile \
test/intltest/Makefile \
test/cintltst/Makefile \
test/iotest/Makefile \
1999-08-16 21:50:52 +00:00
test/ieeetest/Makefile \
2001-05-08 17:30:04 +00:00
test/thaitest/Makefile \
2003-06-11 01:01:02 +00:00
test/testmap/Makefile \
2001-10-03 23:52:15 +00:00
test/letest/Makefile \
2002-03-13 21:44:35 +00:00
test/threadtest/Makefile \
2002-03-16 19:55:16 +00:00
samples/Makefile samples/date/Makefile \
2003-05-28 21:57:56 +00:00
samples/cal/Makefile samples/layout/Makefile \
2000-04-06 23:36:17 +00:00
common/unicode/platform.h])
1999-12-09 23:11:48 +00:00
if test $ICU_USE_THREADS = 0; then
echo " *** Note: configuring the ICU without pthread support or testing. If this isn't what you want, then run configure with --enable-threads=yes or check the messages [above] to see why we couldn't find pthread_create()" 1>&6
fi
2000-08-29 22:26:15 +00:00
2000-11-30 19:02:44 +00:00
echo "You must use $U_MAKE to build ICU."