diff --git a/icu4c/source/aclocal.m4 b/icu4c/source/aclocal.m4 index ef5bf838d42..a4d4d1d0954 100644 --- a/icu4c/source/aclocal.m4 +++ b/icu4c/source/aclocal.m4 @@ -30,7 +30,7 @@ powerpc*-*-linux*) else icu_cv_host_frag=mh-linux-va fi ;; -*-*-linux*|*-pc-gnu) icu_cv_host_frag=mh-linux ;; +*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;; *-*-cygwin|*-*-mingw32) if test "$GCC" = yes; then AC_TRY_COMPILE([ diff --git a/icu4c/source/configure.in b/icu4c/source/configure.in index eeea40f6802..a08eae4e9b9 100644 --- a/icu4c/source/configure.in +++ b/icu4c/source/configure.in @@ -1230,8 +1230,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR # 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 ;; + *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;; *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;; *-*-aix*) platform=U_AIX ;; *-*-hpux*) platform=U_HPUX ;;