From 0ee1eb1ef9b3cfa781748f8f3e0c9f9394728bf9 Mon Sep 17 00:00:00 2001 From: kkuznetsov Date: Thu, 2 Jun 2005 08:00:34 +0000 Subject: [PATCH] First step to build icu on others then Linux Linux should work but must be retested --- builds/posix/Makefile.in.extern.icu | 2 +- configure.in | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/builds/posix/Makefile.in.extern.icu b/builds/posix/Makefile.in.extern.icu index f2187aeccf..bec415502f 100644 --- a/builds/posix/Makefile.in.extern.icu +++ b/builds/posix/Makefile.in.extern.icu @@ -36,7 +36,7 @@ include $(ROOT)/gen/make.shared.variables libicu: $(LIB)/libicuuc.so $(LIB)/libicudata.so $(LIB)/libicui18n.so $(LIB)/libicuuc.so $(LIB)/libicudata.so $(LIB)/libicui18n.so: - cd $(ROOT)/extern/icu/source; chmod +x runConfigureICU configure install-sh; ./runConfigureICU LinuxRedHat --prefix=`pwd`/.. + cd $(ROOT)/extern/icu/source; chmod +x runConfigureICU configure install-sh; ./runConfigureICU @ICU_PLATFORM@ --prefix=`pwd`/.. $(MAKE) -C $(ROOT)/extern/icu/source $(MAKE) -C $(ROOT)/extern/icu/source install cp $(ROOT)/extern/icu/lib/libicuuc* $(LIB) diff --git a/configure.in b/configure.in index 75c9d33980..85d1fa334a 100644 --- a/configure.in +++ b/configure.in @@ -33,6 +33,7 @@ INSTALL_PREFIX="" dnl Use /usr/lib for library links on most platforms except some 64-bit ones libdir=/usr/lib +ICU_PLATFORM=LinuxRedHat case "$target" in *-*-darwin*) @@ -122,6 +123,7 @@ case "$target" in SHRLIB_EXT=so PTHREAD_CFLAGS=-threads PTHREAD_LIBS=-lthread + ICU_PLATFORM=SOLARISGCC ;; sparc-sun-solaris*) @@ -132,6 +134,9 @@ case "$target" in LOCK_MANAGER_FLG=N EDITLINE_FLG=Y SHRLIB_EXT=so + PTHREAD_CFLAGS=-threads + PTHREAD_LIBS=-lthread + ICU_PLATFORM=SOLARISGCC ;; i*-sni-sysv4) @@ -166,6 +171,7 @@ fi AC_SUBST(MAKEFILE_PREFIX) AC_SUBST(PLATFORM) AC_SUBST(SHRLIB_EXT) +AC_SUBST(ICU_PLATFORM) AC_DEFINE(CASE_SENSITIVITY, false, [Define this if paths are case sensitive])