Commit Graph

88 Commits

Author SHA1 Message Date
Yves Arrouye
8e28da7d3d ICU-692 factor in some common definitions, and include the platform
file to make porting easier.

X-SVN-Rev: 2772
2000-10-24 19:50:20 +00:00
Yves Arrouye
5ee8cc8a0d ICU-681 more flexibility in threads variables settings
X-SVN-Rev: 2757
2000-10-20 06:17:23 +00:00
Yves Arrouye
1b9285d0c1 ICU-3 messages about testing for--enable-shared and --enable-static
X-SVN-Rev: 2753
2000-10-20 05:48:22 +00:00
Steven R. Loomis
76ac79bbe5 ICU-681 hpux (test pthread_mutex_destroy instead of pthread_create)
X-SVN-Rev: 2738
2000-10-19 22:59:55 +00:00
Yves Arrouye
db2f9cef53 ICU-480 due to the weird 'W' definition of pthread_create() in libc on
Solaris, create AC_CHECK_LIBS_FIRST() and use it to check for functions
in libraries first, existing env last.

X-SVN-Rev: 2725
2000-10-18 20:35:21 +00:00
Yves Arrouye
fb83b2be8e ICU-480 fixed test on unknown.
X-SVN-Rev: 2709
2000-10-17 16:31:36 +00:00
Yves Arrouye
50c10a16ef ICU-559 put Alpha Linux specific compiler flags in compiler variables, not cpp variable.
X-SVN-Rev: 2698
2000-10-16 18:31:29 +00:00
Ram Viswanadha
658f4145bb ICU-559 Added compiler specific switches for Alpha/Linux platform
X-SVN-Rev: 2695
2000-10-16 18:06:22 +00:00
Yves Arrouye
85ab5c8fa0 ICU-480 (piggybacking) add a CVS id to the file, so that one can diff easily a changed configure.in
X-SVN-Rev: 2692
2000-10-16 17:43:48 +00:00
Yves Arrouye
a28f6e29d6 ICU-480 nicer message for nl_langinfo(xxx)
X-SVN-Rev: 2691
2000-10-16 17:32:22 +00:00
Yves Arrouye
614eb112b5 ICU-480 detect nl_langinfo() and then tries to pass it CODESET and
_NL_CTYPE_CODESET_NAME, and set U_NL_LANGINFO_CODESET accordingly. If neither
works, define U_HAVE_NL_LANGINFO_CODESET to 0, for these NetBSD boxes...

X-SVN-Rev: 2690
2000-10-16 17:26:31 +00:00
Yves Arrouye
f803c69a2b ICU-208 don't use AC_SUBST() w/ quotes changed, it doesn't work!?
X-SVN-Rev: 2679
2000-10-13 20:40:38 +00:00
Yves Arrouye
7b50082ed3 ICU-208 experimental support for ICU's rule of release X.Y2 being binary compatible w/ X.Y
X-SVN-Rev: 2674
2000-10-13 18:29:14 +00:00
Yves Arrouye
ed49fe1e13 ICU-666 get ICU version from utypes.h
X-SVN-Rev: 2673
2000-10-13 18:27:39 +00:00
Steven R. Loomis
3755154237 ICU-658 Version is: 1.6.0.1. 1.6.1 does not exist
X-SVN-Rev: 2668
2000-10-13 02:10:43 +00:00
Yves Arrouye
c3e4f0b35b ICU-658 bumped version above 1.6
X-SVN-Rev: 2666
2000-10-13 00:26:21 +00:00
Yves Arrouye
f2f786c479 ICU-640 just in case for FreeBSD, look for wcscpy in -lwcs at the same time we look for it in the libc.
X-SVN-Rev: 2606
2000-10-09 18:04:44 +00:00
Yves Arrouye
5f926de34e ICU-640 revamped looking up for pthread_create in libpthread,
libpthreads (old FreeBSD), libc_r (newer FreeBSD) and cma in a single
check

X-SVN-Rev: 2586
2000-10-06 00:08:04 +00:00
Yves Arrouye
92cdf1f717 ICU-640 use AC_SEARCH_LIBS(dlopen, dl c) to look for dlopen so that
it is found on FreeBSD where it is part of the C library.

X-SVN-Rev: 2582
2000-10-05 23:55:00 +00:00
Yves Arrouye
0b35a1e72c ICU-630 autoconf detection code for tzset, _tzset, tzname, _tzname
(adapted from AC_STRUCT_TIMEZONE), timezone and _timezone. The defines
U_TZSET, U_TZNAME and U_TIMEZONE either contain the symbol to use, or are
undefined if there is no appropriate symbol. putil.c thus has now things
like:

	uprv_timezone() {
	#ifdef U_TIMEZONE
	    return U_TIMEZONE;
	#else
	    ...........
	#endif
	}

which is much simpler.

X-SVN-Rev: 2580
2000-10-05 23:41:59 +00:00
Yves Arrouye
1c4c881afb ICU-638 added the new U_HAVE_NL_LANGINFO, U_HAVE_CODESET, and
U_HAVE_TZSET to get rid of the (routinely incorrect) manipulation of U_POSIX
based on platform names. Also added U_HAVE_WCSCPY to define whether a
platform has the w* functions (it may not, even if wchar.h is present).

X-SVN-Rev: 2579
2000-10-05 19:33:35 +00:00
Yves Arrouye
87eb24c3ac ICU-3 changed the names of the shared libs variables etc.
X-SVN-Rev: 2555
2000-10-03 18:27:36 +00:00
Yves Arrouye
9686d239f0 ICU-620 cleaned up cleaning (w/ an ugly twist in the top-level Makefile to start cleaning w/ tools)
X-SVN-Rev: 2551
2000-10-02 23:37:16 +00:00
Yves Arrouye
6eede8037e ICU-3 fixed typo.
X-SVN-Rev: 2548
2000-10-02 19:40:49 +00:00
Yves Arrouye
0e3e4ebdd0 ICU-3 add the PIC flags variables if ENABLE_SHARED is non-null
X-SVN-Rev: 2546
2000-10-02 16:34:03 +00:00
Yves Arrouye
2cf8109556 ICU-3 initial support for static libraries. The current problems are:
- pkgdata will still generate a dll (not a problem if you use files or the
mappable archive).
- because of referecences to ostream in ustring, the linker wants to resolve
these symbols, forcing us to use a C++ compiler to link C programs. That is
bad and need to be resolved.
- if you build static, then reconfigure w/o them and do make clean, the
static libraries will be left over.

Static is controlled by --enable-static. Shared libraries can be disabled
with --disable-shared.

X-SVN-Rev: 2494
2000-09-22 22:58:36 +00:00
Yves Arrouye
cfdcdc45da ICU-308 typo in CPPFLAGS settings for archive packaging
X-SVN-Rev: 2491
2000-09-22 19:31:42 +00:00
Yves Arrouye
fd77ef300f ICU-308 if --xxx-mapped is used, use its value for the packaging!
X-SVN-Rev: 2490
2000-09-22 19:23:11 +00:00
Yves Arrouye
20ab3c5b37 ICU-308 put back --xxxx-mapped for backwards compatibility, and put in some warnings about its use and checks for inconsistencies
X-SVN-Rev: 2489
2000-09-22 19:21:38 +00:00
Yves Arrouye
925e82c9cf ICU-608 removed --enable-mapped in favor of --with-data-packaging
Auto-detected mmap() using AC_FUNC_MMAP (for fixed mmap).
Use both dlopen and mmap auto-detection to decide what the best default
data packaging is.

X-SVN-Rev: 2488
2000-09-22 19:02:20 +00:00
Steven R. Loomis
7632d7c2e6 ICU-591 removed extra call to 'w' [no need to check system uptime while setting thread options :)]
X-SVN-Rev: 2439
2000-09-15 23:32:52 +00:00
Yves Arrouye
3c6dfaf9de ICU-598 define ECHO_N and ECHO_C
X-SVN-Rev: 2432
2000-09-15 05:05:51 +00:00
Steven R. Loomis
dabb4775c3 ICU-591 (yves@realnames.com after stealing srl's latopt) added --with-iostream option.
X-SVN-Rev: 2430
2000-09-11 21:20:51 +00:00
Yves Arrouye
1968fe35ad ICU-575 finally got rid of @BUILDDATADIR@ in the Makefiles. Also removed
the need for BUILD_OUT_OF_SOURCE to be defined at configure time.

X-SVN-Rev: 2383
2000-08-29 22:26:15 +00:00
Yves Arrouye
4e1c30d30b ICU-575 fixed a number of problems with the out of source build. The
build now works with --srcdir=../a/relative/path, --srcdir=/an/absolute/one
and in source. Auxiliary data in data and test/testdata is generated by new
Makefiles in these directories (data is new inside source). Some cleanup is
still needed, for example when makeconv generates test files... Test code
now knows about out of source vs in source build. Sorry... (Will be fixed
if data and source are at the same level some day.)

X-SVN-Rev: 2373
2000-08-29 07:28:22 +00:00
Steven R. Loomis
44ee8bdd9a ICU-550 hpux
X-SVN-Rev: 2286
2000-08-16 17:02:34 +00:00
Steven R. Loomis
8fa7d2d25a ICU-360 pkgtools, out of source test update,fix 'make install' on solaris
X-SVN-Rev: 2254
2000-08-15 02:41:58 +00:00
Steven R. Loomis
f95365b1b3 ICU-519 check c++ and c compilers for sparcv9
X-SVN-Rev: 2083
2000-08-01 00:39:55 +00:00
Yves Arrouye
9fbbbf01bc ICU-377 removed U_RHAPSODY, only U_DARWIN is used now.
X-SVN-Rev: 1938
2000-07-19 04:29:20 +00:00
Steven R. Loomis
b7031a5f84 ICU-497 upgrade version #
X-SVN-Rev: 1847
2000-07-13 16:46:25 +00:00
Yves Arrouye
995ca8a672 ICU-360 detect gmake or make and set U_MAKE to that. Substitute U_MAKE
in platform.h.in, and hardcode it to "nmake" in pwin32.h and "gmake" in
pos400.h and pos2.h. Then use U_MAKE to define the default make command in
pkgdata.c, if there is no MAKE env variable.

X-SVN-Rev: 1793
2000-07-11 22:25:51 +00:00
Steven R. Loomis
96a453126e ICU-487 remove makeconv
X-SVN-Rev: 1758
2000-07-07 23:39:54 +00:00
Yves Arrouye
357fc87246 ICU-377 recognize both Rhapsody (and define U_RHAPSODY) and Darwin
(and define U_DARWIN), and have both of them use config/mh-darwin.

X-SVN-Rev: 1732
2000-07-03 19:32:00 +00:00
Yves Arrouye
d37141dcac ICU-371 changed LINUX and SOLARIS to U_LINUX and U_SOLARIS, also
changed HAVE_INTTYPES_H to U_HAVE_INTTYPES_H.

X-SVN-Rev: 1726
2000-06-30 21:35:03 +00:00
Steven R. Loomis
067d8441cb ICU-408 don't create the 'translit/' directory in data, it confuses cvs
X-SVN-Rev: 1696
2000-06-29 01:44:41 +00:00
Vladimir Weinstein
b7766675e9 ICU-460 porting changes for PTX, OS-390, AIX VA
X-SVN-Rev: 1677
2000-06-28 22:18:27 +00:00
Steven R. Loomis
cd30713a6b ICU-360 pkgdata tool
X-SVN-Rev: 1618
2000-06-14 00:50:58 +00:00
Steven R. Loomis
87c0555238 ICU-408 install cleanup
X-SVN-Rev: 1613
2000-06-13 19:44:38 +00:00
Steven R. Loomis
edd13c1b92 ICU-98 64 bit solaris (use $CXX [CC] not cc for the test)
X-SVN-Rev: 1490
2000-05-25 16:00:54 +00:00
Steven R. Loomis
dc57b32b13 ICU-98 64 bit solaris: only enable sparcv9 if the compiler supports it.
X-SVN-Rev: 1445
2000-05-23 21:06:02 +00:00