|
From: Yves A. <yv...@re...> - 2001-09-20 01:55:35
|
> - Rename your mh-kcc to mh-linux-kcc and apply the following > patch, run autoconf, and see if everything works. If you > still need specific options for the compiler, do not change > CFLAGS or CXXFLAGS but change the definitions of COMPILE.c, > COMPILE.cc, LINK.c, LINK.cc, SHLIB.c, SHLIB.cc. See how that > was done for the config/mh-*-* for examples. Sorry. Here's the (obvious) patch: Index: aclocal.m4 =================================================================== RCS file: /usr/cvs/icu/icu/source/aclocal.m4,v retrieving revision 1.24 diff -u -u -r1.24 aclocal.m4 --- aclocal.m4 2001/06/01 10:00:16 1.24 +++ aclocal.m4 2001/09/19 22:45:06 @@ -29,7 +29,13 @@ else icu_cv_host_frag=mh-alpha-linux-cc fi ;; -*-*-linux*) icu_cv_host_frag=mh-linux ;; +*-*-linux*) + case "$CC" in + kcc|*/kcc) + icu_cv_host_frag=mh-linux-kcc ;; + *) + icu_cv_host_frag=mh-linux ;; + esac ;; *-*-cygwin) icu_cv_host_frag=mh-cygwin ;; *-*-freebsd*|*-*-netbsd*) icu_cv_host_frag=mh-bsd-gcc ;; *-*-aix*) |