ICU-5848 Allow ICU to build on GNU Hurd.

X-SVN-Rev: 22419
This commit is contained in:
George Rhoten 2007-08-18 00:48:16 +00:00
parent 6de3ab2b51
commit f14c7caeb4
3 changed files with 6 additions and 4 deletions

View file

@ -30,7 +30,7 @@ powerpc*-*-linux*)
else
icu_cv_host_frag=mh-linux-va
fi ;;
*-*-linux*) icu_cv_host_frag=mh-linux ;;
*-*-linux*|*-pc-gnu) icu_cv_host_frag=mh-linux ;;
*-*-cygwin|*-*-mingw32)
if test "$GCC" = yes; then
AC_TRY_COMPILE([

View file

@ -3367,7 +3367,7 @@ powerpc*-*-linux*)
else
icu_cv_host_frag=mh-linux-va
fi ;;
*-*-linux*) icu_cv_host_frag=mh-linux ;;
*-*-linux*|*-pc-gnu) icu_cv_host_frag=mh-linux ;;
*-*-cygwin|*-*-mingw32)
if test "$GCC" = yes; then
cat >conftest.$ac_ext <<_ACEOF
@ -4527,7 +4527,7 @@ fi
GENCCODE_ASSEMBLY=
case "${host}" in
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*)
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-pc-gnu)
if test "$GCC" = yes; then
GENCCODE_ASSEMBLY="-a gcc"
fi ;;
@ -8291,6 +8291,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
case "${host}" in
*-*-solaris*) platform=U_SOLARIS ;;
*-*-linux*) platform=U_LINUX ;;
*-pc-gnu) platform=U_HURD ;;
*-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;;
*-*-aix*) platform=U_AIX ;;
*-*-hpux*) platform=U_HPUX ;;

View file

@ -398,7 +398,7 @@ AC_SUBST(HAVE_MMAP)
dnl Check to see if genccode can generate simple assembly.
GENCCODE_ASSEMBLY=
case "${host}" in
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*)
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-pc-gnu)
if test "$GCC" = yes; then
dnl We're using gcc, and the simple -a gcc command line works for genccode
GENCCODE_ASSEMBLY="-a gcc"
@ -996,6 +996,7 @@ dnl set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform
case "${host}" in
*-*-solaris*) platform=U_SOLARIS ;;
*-*-linux*) platform=U_LINUX ;;
*-pc-gnu) platform=U_HURD ;;
*-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;;
*-*-aix*) platform=U_AIX ;;
*-*-hpux*) platform=U_HPUX ;;